[asterisk-users] Bind SIP over TCP port in asterisk 1.4.42.

Skyler skchopperguy at gmail.com
Thu Aug 25 09:29:32 CDT 2011


I have the below in my sip.conf 

bindaddr = <PublicIP>
tcpenable = yes
tcpbindaddr = <PublicIP>

 


On Thu, 2011-08-25 at 17:22 +0300, Catalin S. wrote:
> hello,
> 
> 
> I tried still not working. :( something is wrong.
> 
> On Thu, Aug 25, 2011 at 4:37 PM, Skyler <skchopperguy at gmail.com>
> wrote:
>         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.
>         
>         
>         
>         --
>         _____________________________________________________________________
>         -- 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
>         
> 
> 




More information about the asterisk-users mailing list