[asterisk-users] how to listen on different sip port for a device?

sean darcy seandarcy2 at gmail.com
Mon Dec 26 08:55:47 CST 2011


I'm trying to allow access to the office from home. But the ip provider 
(cablevision) blocks udp 5060. I can see the register packets leaving on 
wireshark, but nothing received by office. Changed to port to 6111 and 
now the packets show up.

In the server I've set port=6111 in the device in sip.conf, but * is NOT 
listening for 6111:

netstat -an | grep 5060
tcp        0      0 0.0.0.0:5060                0.0.0.0:* 
     LISTEN
udp        0      0 0.0.0.0:5060                0.0.0.0:*

netstat -an | grep 6111
[root at PBX ~]#

I can't see how to use bindaddr. I need * to also listen to 5060: that's 
what our sip providers use.

So how do I get * to listen to two different ports?

sean




More information about the asterisk-users mailing list