<div dir="ltr">I made some progress. The first thing I have realized is that it is my Twilio configuration in pjsip_wizard.conf that was killing me. I have since removed that entire file from /etc/asterisk and I am able to make "from-internal" context calls (i.e., calls that do not leave the VoIP island).<div><br></div><div>Here's what I have right now in pjsip_wizard.conf (again, I have removed it from /etc/asterisk/ because Asterisk won't even work for "from-internal" calls with the conf in /etc/asterisk)<br></div><div><br></div><div><div>[twilio-siptrunk]</div><div>type = wizard</div><div>sends_auth = yes</div><div>sends_registrations = no</div><div>remote_hosts = <a href="http://silly.pstn.twilio.com">silly.pstn.twilio.com</a></div><div>outbound_auth/username = username</div><div>outbound_auth/password = sillypassword</div><div>endpoint/context = from-external ;;; change later</div><div>endpoint/disallow = all ;;; change later</div><div>endpoint/allow = ulaw ;;; change later</div><div>aor/qualify_frequency = 15</div></div><div><br></div><div>What should I change/add/modify above to make Asterisk and Twilio work with TCP? Note that I do not have to trigger a use of the twilio sip trunk for my Asterisk daemon to not work for TCP. If I have the pjsip_wizard in /etc/asterisk, it does not work for _any_ call, regardless of whether or not the call should use the Twilio SIP trunk.</div><div><br></div><div>(again, the same asterisk configuration on the same machine connected to the same twilio SIP trunk worked for UDP)</div><div><br></div><div>If anyone knows the trick to make pjsip_wizard.conf work with twilio, I would very much appreciate any insight...<br></div><div><br></div><div>Thanks,</div><div>Sonny.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 17, 2016 at 8:38 AM, Sonny Rajagopalan <span dir="ltr"><<a href="mailto:sonny.rajagopalan@gmail.com" target="_blank">sonny.rajagopalan@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Yes, it is enabled on port 5060. I do receive a TCP ACK back from the server, so I know the TCP segment is received at the server hosting the Asterisk build.</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 17, 2016 at 8:36 AM, A J Stiles <span dir="ltr"><<a href="mailto:asterisk_list@earthshod.co.uk" target="_blank">asterisk_list@earthshod.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On Wednesday 17 Feb 2016, Sonny Rajagopalan wrote:<br>
> OK. Let me ask this. Is anything else necessary, except choosing TCP as the<br>
> preferred protocol on the client, to make TCP w Asterisk work? At the<br>
> moment, I have only changed one line in pjsip.conf from my working UDP<br>
> setup:<br>
><br>
> [transport-tcp]<br>
> type=transport<br>
> protocol=tcp ; <--------------- only this line was changed.<br>
<br>
</span>Presumably you have firewall rules in action. Did you enable TCP on port 5060?<br>
<span><font color="#888888"><br>
--<br>
AJS<br>
<br>
Note:  Originating address only accepts e-mail from list!  If replying off-<br>
list, change address to asterisk1list at earthshod dot co dot uk .<br>
</font></span><div><div><br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
               <a href="http://www.asterisk.org/hello" rel="noreferrer" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" rel="noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>