Sonny Rajagopalan
2016-Feb-17 13:31 UTC
[asterisk-users] Asterisk 13.6.0/The simplest TCP configuration does not work
OK. Let me ask this. Is anything else necessary, except choosing TCP as the preferred protocol on the client, to make TCP w Asterisk work? At the moment, I have only changed one line in pjsip.conf from my working UDP setup: [transport-tcp] type=transport protocol=tcp ; <--------------- only this line was changed. On Wed, Feb 17, 2016 at 8:28 AM, Sonny Rajagopalan < sonny.rajagopalan at gmail.com> wrote:> OK. I will report with my findings. It appears increasingly likely that I > have done something very silly on my side. It is a little perplexing that > the EXACT setup (on the same machine) worked for UDP ... > > On Wed, Feb 17, 2016 at 8:23 AM, Joshua Colp <jcolp at digium.com> wrote: > >> Sonny Rajagopalan wrote: >> >>> Sorry, I was not being very clear, Joshua, and thanks for your patience >>> with this issue. >>> >>> I had set pjsip set logger on and core set debug 99. See absolutely >>> zilch on asterisk CLI. Or in /var/log/asterisk/messages. If the messages >>> are not reaching Asterisk, what could be the issue? I am a little >>> perplexed as to why Asterisk wouldn't consume those TCP segments; the >>> port is owned by Asterisk. >>> >> >> Then it's likely something outside the scope of Asterisk, if the >> connection (and messages) don't even seem to be reaching Asterisk at all. >> You could try to just telnet to it and see if you get a connection message >> on the Asterisk CLI. Do it from the machine itself and then outside. If it >> works from the machine itself but not outside, then you've narrowed it down >> more. >> >> >> -- >> 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/20160217/370ddea3/attachment.html>
Joshua Colp
2016-Feb-17 13:33 UTC
[asterisk-users] Asterisk 13.6.0/The simplest TCP configuration does not work
Sonny Rajagopalan wrote:> OK. Let me ask this. Is anything else necessary, except choosing TCP as > the preferred protocol on the client, to make TCP w Asterisk work? At > the moment, I have only changed one line in pjsip.conf from my working > UDP setup: > > [transport-tcp] > type=transport > protocol=tcp ; <--------------- only this line was changed.No, nothing else is needed. -- 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
A J Stiles
2016-Feb-17 13:36 UTC
[asterisk-users] Asterisk 13.6.0/The simplest TCP configuration does not work
On Wednesday 17 Feb 2016, Sonny Rajagopalan wrote:> OK. Let me ask this. Is anything else necessary, except choosing TCP as the > preferred protocol on the client, to make TCP w Asterisk work? At the > moment, I have only changed one line in pjsip.conf from my working UDP > setup: > > [transport-tcp] > type=transport > protocol=tcp ; <--------------- only this line was changed.Presumably you have firewall rules in action. Did you enable TCP on port 5060? -- AJS Note: Originating address only accepts e-mail from list! If replying off- list, change address to asterisk1list at earthshod dot co dot uk .
Sonny Rajagopalan
2016-Feb-17 13:38 UTC
[asterisk-users] Asterisk 13.6.0/The simplest TCP configuration does not work
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. On Wed, Feb 17, 2016 at 8:36 AM, A J Stiles <asterisk_list at earthshod.co.uk> wrote:> On Wednesday 17 Feb 2016, Sonny Rajagopalan wrote: > > OK. Let me ask this. Is anything else necessary, except choosing TCP as > the > > preferred protocol on the client, to make TCP w Asterisk work? At the > > moment, I have only changed one line in pjsip.conf from my working UDP > > setup: > > > > [transport-tcp] > > type=transport > > protocol=tcp ; <--------------- only this line was changed. > > Presumably you have firewall rules in action. Did you enable TCP on port > 5060? > > -- > AJS > > Note: Originating address only accepts e-mail from list! If replying off- > list, change address to asterisk1list at earthshod dot co dot uk . > > -- > _____________________________________________________________________ > -- 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/20160217/3e2d4f46/attachment-0001.html>
Apparently Analagous Threads
- Asterisk 13.6.0/The simplest TCP configuration does not work
- No matching endpoint found for incoming call from SIP trunk
- No matching endpoint found for incoming call from SIP trunk
- Asterisk 13.6.0/The simplest TCP configuration does not work
- Asterisk 13.6.0/The simplest TCP configuration does not work