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

Skyler skchopperguy at gmail.com
Thu Aug 25 08:37:44 CDT 2011


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.




More information about the asterisk-users mailing list