Catalin S.
2011-Aug-25 13:26 UTC
[asterisk-users] Bind SIP over TCP port in asterisk 1.4.42.
Hello, I need to listen on tcp 5060 on my actual asterisk 1.4.42. I tried in sip.conf at [general] section the following options: transport=tcp tcpenable=yes tcpbindaddr=0.0.0.0 but after all that changes i still not see tcp port raised up. Did somebody had the same problem and had some solutions? Thank you very much. Jonson. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110825/2e216c2a/attachment.htm>
Andrew Latham
2011-Aug-25 13:35 UTC
[asterisk-users] Bind SIP over TCP port in asterisk 1.4.42.
On Thu, Aug 25, 2011 at 9:26 AM, Catalin S. <jonsonplayer at gmail.com> wrote:> Hello, > I need to listen on tcp 5060 on my actual asterisk 1.4.42. I tried in > sip.conf at > [general] section the following options: > transport=tcp > tcpenable=yes > tcpbindaddr=0.0.0.0 > but after all that changes i still not see tcp port?raised?up. Did somebody > had the same problem and had some solutions? > Thank you very much. > Jonson. > --I looked.... TCP + Transport are listed in http://svn.asterisk.org/svn/asterisk/branches/1.4/channels/chan_sip.c but not in http://svn.asterisk.org/svn/asterisk/branches/1.4/configs/sip.conf.sample try transport=TCP Beware, some systems use SIP(not encrypted) over TCP on port 5061, which is not really wrong, just not what the standards say. -- ~ Andrew "lathama" Latham lathama at gmail.com http://lathama.net ~
Hi, On Thu, 2011-08-25 at 16:26 +0300, Catalin S. wrote:> Hello, > > > I need to listen on tcp 5060 on my actual asterisk 1.4.42. I tried in > sip.conf at > [general] section the following options: > > > transport=tcp > tcpenable=yes > tcpbindaddr=0.0.0.0 > > > but after all that changes i still not see tcp port raised up. Did > somebody had the same problem and had some solutions? > >Not 100% with 1.4 but with 1.6 you don't need to set tcpbindaddr because tcpenable will listen on same IP as udp. No transport either I believe. If you want, set udpbindaddr and tcp will listen on this IP too. tcpenable=yes is all you should need. S.
Catalin S.
2011-Aug-25 14:24 UTC
[asterisk-users] Bind SIP over TCP port in asterisk 1.4.42.
Hello, I tried but still not works. Can you make some test at your side? Something is wrong. Thank you. On Thu, Aug 25, 2011 at 4:35 PM, Andrew Latham <lathama at gmail.com> wrote:> On Thu, Aug 25, 2011 at 9:26 AM, Catalin S. <jonsonplayer at gmail.com> > wrote: > > Hello, > > I need to listen on tcp 5060 on my actual asterisk 1.4.42. I tried in > > sip.conf at > > [general] section the following options: > > transport=tcp > > tcpenable=yes > > tcpbindaddr=0.0.0.0 > > but after all that changes i still not see tcp port raised up. Did > somebody > > had the same problem and had some solutions? > > Thank you very much. > > Jonson. > > -- > > I looked.... TCP + Transport are listed in > http://svn.asterisk.org/svn/asterisk/branches/1.4/channels/chan_sip.c > but not in > http://svn.asterisk.org/svn/asterisk/branches/1.4/configs/sip.conf.sample > > try > transport=TCP > > Beware, some systems use SIP(not encrypted) over TCP on port 5061, > which is not really wrong, just not what the standards say. > > > -- > ~ Andrew "lathama" Latham lathama at gmail.com http://lathama.net ~ > > -- > _____________________________________________________________________ > -- 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/20110825/0b2c9057/attachment.htm>
Paul Belanger
2011-Aug-25 14:25 UTC
[asterisk-users] Bind SIP over TCP port in asterisk 1.4.42.
On 11-08-25 09:26 AM, Catalin S. wrote:> Hello, > > I need to listen on tcp 5060 on my actual asterisk 1.4.42. I tried in > sip.conf at > [general] section the following options: > > transport=tcp > tcpenable=yes > tcpbindaddr=0.0.0.0 > > but after all that changes i still not see tcp port raised up. Did somebody > had the same problem and had some solutions? >Asterisk 1.4 does not have support SIP over TCP. It was added in Asterisk 1.6.0. -- Paul Belanger Digium, Inc. | Software Developer twitter: pabelanger | IRC: pabelanger (Freenode) Check us out at: http://digium.com & http://asterisk.org