Sonny Rajagopalan
2016-Feb-15 18:37 UTC
[asterisk-users] Asterisk 13.6.0/The simplest TCP configuration does not work
This question was asked by Chirag on March 4 2015 earlier, but I am following exactly the same procedure here and I cannot even get my clients to register on Asterisk. Here's my PJSIP.conf: [transport-tcp] type=transport protocol=tcp bind=0.0.0.0:5061 ... [endpoint_internal](!) type=endpoint context=from-internal disallow=all allow=!all,ulaw direct_media=no rtp_symmetric=yes message_context=text-context [auth_userpass](!) type=auth auth_type=userpass [aor_dynamic](!) type=aor max_contacts=1 remove_existing=yes ;;; Configuration for user 99999999 ... I used basically exactly the same procedure for UDP based registration and it works just fine. Any help is appreciated. The specific error I see on the CLI is: Connected to Asterisk 13.6.0 currently running on ... (pid = 30046) *CLI> pjsip set logger on PJSIP Logging enabled [Feb 15 18:28:12] WARNING[30075]: pjsip:0 <?>: tsx0x7f14b0003 .Temporary failure in sending Request msg OPTIONS/cseq=52002 (tdta0x7f14b0001470), will try next server: Unsupported transport (PJSIP_EUNSUPTRANSPORT) [Feb 15 18:28:12] WARNING[30075]: pjsip:0 <?>: tsx0x7f14b0003 .Temporary failure in sending Request msg OPTIONS/cseq=52002 (tdta0x7f14b0001470), will try next server: Unsupported transport (PJSIP_EUNSUPTRANSPORT) [Feb 15 18:28:12] WARNING[30075]: pjsip:0 <?>: tsx0x7f14b0003 .Temporary failure in sending Request msg OPTIONS/cseq=52002 (tdta0x7f14b0001470), will try next server: Unsupported transport (PJSIP_EUNSUPTRANSPORT) [Feb 15 18:28:12] WARNING[30075]: pjsip:0 <?>: tsx0x7f14b0003 .Failed to send Request msg OPTIONS/cseq=52002 (tdta0x7f14b0001470)! err=171060 (Unsupported transport (PJSIP_EUNSUPTRANSPORT)) *CLI> core set debug 99 Core debug was OFF and is now 99. [Feb 15 18:28:27] WARNING[30133]: pjsip:0 <?>: tsx0x7f14b4003 .Temporary failure in sending Request msg OPTIONS/cseq=49786 (tdta0x7f14b40014f0), will try next server: Unsupported transport (PJSIP_EUNSUPTRANSPORT) [Feb 15 18:28:27] WARNING[30133]: pjsip:0 <?>: tsx0x7f14b4003 .Temporary failure in sending Request msg OPTIONS/cseq=49786 (tdta0x7f14b40014f0), will try next server: Unsupported transport (PJSIP_EUNSUPTRANSPORT) [Feb 15 18:28:27] WARNING[30133]: pjsip:0 <?>: tsx0x7f14b4003 .Temporary failure in sending Request msg OPTIONS/cseq=49786 (tdta0x7f14b40014f0), will try next server: Unsupported transport (PJSIP_EUNSUPTRANSPORT) [Feb 15 18:28:27] WARNING[30133]: pjsip:0 <?>: tsx0x7f14b4003 .Failed to send Request msg OPTIONS/cseq=49786 (tdta0x7f14b40014f0)! err=171060 (Unsupported transport (PJSIP_EUNSUPTRANSPORT)) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20160215/b6a5278c/attachment.html>
Joshua Colp
2016-Feb-15 18:40 UTC
[asterisk-users] Asterisk 13.6.0/The simplest TCP configuration does not work
Sonny Rajagopalan wrote: <snip>> *CLI> pjsip set logger on > PJSIP Logging enabled > [Feb 15 18:28:12] WARNING[30075]: pjsip:0 <?>: tsx0x7f14b0003 .Temporary > failure in sending Request msg OPTIONS/cseq=52002 (tdta0x7f14b0001470), > will try next server: Unsupported transport (PJSIP_EUNSUPTRANSPORT) > [Feb 15 18:28:12] WARNING[30075]: pjsip:0 <?>: tsx0x7f14b0003 .Temporary > failure in sending Request msg OPTIONS/cseq=52002 (tdta0x7f14b0001470), > will try next server: Unsupported transport (PJSIP_EUNSUPTRANSPORT) > [Feb 15 18:28:12] WARNING[30075]: pjsip:0 <?>: tsx0x7f14b0003 .Temporary > failure in sending Request msg OPTIONS/cseq=52002 (tdta0x7f14b0001470), > will try next server: Unsupported transport (PJSIP_EUNSUPTRANSPORT) > [Feb 15 18:28:12] WARNING[30075]: pjsip:0 <?>: tsx0x7f14b0003 .Failed to > send Request msg OPTIONS/cseq=52002 (tdta0x7f14b0001470)! err=171060 > (Unsupported transport (PJSIP_EUNSUPTRANSPORT)) > *CLI> core set debug 99 > Core debug was OFF and is now 99. > [Feb 15 18:28:27] WARNING[30133]: pjsip:0 <?>: tsx0x7f14b4003 .Temporary > failure in sending Request msg OPTIONS/cseq=49786 (tdta0x7f14b40014f0), > will try next server: Unsupported transport (PJSIP_EUNSUPTRANSPORT) > [Feb 15 18:28:27] WARNING[30133]: pjsip:0 <?>: tsx0x7f14b4003 .Temporary > failure in sending Request msg OPTIONS/cseq=49786 (tdta0x7f14b40014f0), > will try next server: Unsupported transport (PJSIP_EUNSUPTRANSPORT) > [Feb 15 18:28:27] WARNING[30133]: pjsip:0 <?>: tsx0x7f14b4003 .Temporary > failure in sending Request msg OPTIONS/cseq=49786 (tdta0x7f14b40014f0), > will try next server: Unsupported transport (PJSIP_EUNSUPTRANSPORT) > [Feb 15 18:28:27] WARNING[30133]: pjsip:0 <?>: tsx0x7f14b4003 .Failed to > send Request msg OPTIONS/cseq=49786 (tdta0x7f14b40014f0)! err=171060 > (Unsupported transport (PJSIP_EUNSUPTRANSPORT))This will happen if the URI added does not contain ;transport=tcp which informs things to use TCP. If the device registering doesn't do this then it will try to use a UDP transport instead, if not available then it will fail. What is the REGISTER from the device? -- Joshua Colp Digium, Inc. | Senior Software Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - US Check us out at: www.digium.com & www.asterisk.org
Sonny Rajagopalan
2016-Feb-15 19:22 UTC
[asterisk-users] Asterisk 13.6.0/The simplest TCP configuration does not work
Thanks for the mighty quick response, Joshua! I am using Zoiper on Linux softclient: REGISTER sip:<ipAddr>;transport=TCP SIP/2.0 Changed the port back to 5060. On Mon, Feb 15, 2016 at 1:40 PM, Joshua Colp <jcolp at digium.com> wrote:> Sonny Rajagopalan wrote: > > <snip> > > > *CLI> pjsip set logger on >> PJSIP Logging enabled >> [Feb 15 18:28:12] WARNING[30075]: pjsip:0 <?>: tsx0x7f14b0003 .Temporary >> failure in sending Request msg OPTIONS/cseq=52002 (tdta0x7f14b0001470), >> will try next server: Unsupported transport (PJSIP_EUNSUPTRANSPORT) >> [Feb 15 18:28:12] WARNING[30075]: pjsip:0 <?>: tsx0x7f14b0003 .Temporary >> failure in sending Request msg OPTIONS/cseq=52002 (tdta0x7f14b0001470), >> will try next server: Unsupported transport (PJSIP_EUNSUPTRANSPORT) >> [Feb 15 18:28:12] WARNING[30075]: pjsip:0 <?>: tsx0x7f14b0003 .Temporary >> failure in sending Request msg OPTIONS/cseq=52002 (tdta0x7f14b0001470), >> will try next server: Unsupported transport (PJSIP_EUNSUPTRANSPORT) >> [Feb 15 18:28:12] WARNING[30075]: pjsip:0 <?>: tsx0x7f14b0003 .Failed to >> send Request msg OPTIONS/cseq=52002 (tdta0x7f14b0001470)! err=171060 >> (Unsupported transport (PJSIP_EUNSUPTRANSPORT)) >> *CLI> core set debug 99 >> Core debug was OFF and is now 99. >> [Feb 15 18:28:27] WARNING[30133]: pjsip:0 <?>: tsx0x7f14b4003 .Temporary >> failure in sending Request msg OPTIONS/cseq=49786 (tdta0x7f14b40014f0), >> will try next server: Unsupported transport (PJSIP_EUNSUPTRANSPORT) >> [Feb 15 18:28:27] WARNING[30133]: pjsip:0 <?>: tsx0x7f14b4003 .Temporary >> failure in sending Request msg OPTIONS/cseq=49786 (tdta0x7f14b40014f0), >> will try next server: Unsupported transport (PJSIP_EUNSUPTRANSPORT) >> [Feb 15 18:28:27] WARNING[30133]: pjsip:0 <?>: tsx0x7f14b4003 .Temporary >> failure in sending Request msg OPTIONS/cseq=49786 (tdta0x7f14b40014f0), >> will try next server: Unsupported transport (PJSIP_EUNSUPTRANSPORT) >> [Feb 15 18:28:27] WARNING[30133]: pjsip:0 <?>: tsx0x7f14b4003 .Failed to >> send Request msg OPTIONS/cseq=49786 (tdta0x7f14b40014f0)! err=171060 >> (Unsupported transport (PJSIP_EUNSUPTRANSPORT)) >> > > This will happen if the URI added does not contain ;transport=tcp which > informs things to use TCP. If the device registering doesn't do this then > it will try to use a UDP transport instead, if not available then it will > fail. > > What is the REGISTER from the device? > > -- > Joshua Colp > Digium, Inc. | Senior Software Developer > 445 Jan Davis Drive NW - Huntsville, AL 35806 - US > Check us out at: www.digium.com & www.asterisk.org > > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20160215/8575f75c/attachment.html>
Possibly Parallel Threads
- Asterisk 13.6.0/The simplest TCP configuration does not work
- [Bug 49786] New: In xterm, some rectangles are not redrawn when the window is partly covered
- LDAP users/groups not showing up with nis, pam, & ldap
- Problem with User and Group Ownership listing
- tftp open timeout but with no server side errors