[asterisk-users] SIP Listen Multiple Ports

Olle E. Johansson oej at edvina.net
Sun Jan 3 04:38:28 CST 2010


1 jan 2010 kl. 20.04 skrev Shariq Khan:

> I m using Asterisk 1.4 , can i bind multiple ports to SIP at a time
No, Asterisk only supports one port.

/O
> 
> like 
> 
> bindport = 5060,5061 OR
> 
> bindport = 5060
> bindport = 5090
> 
> I want, asterisk to listen SIP on multiple ports. so that users where SIP port 5060 blocked, can easily register to asterisk by using an alternate port.
> 
> Shariq Khan
> 
> On Fri, Jan 1, 2010 at 11:12 PM, Warren Selby <wcselby at selbytech.com> wrote:
> On Fri, Jan 1, 2010 at 10:34 AM, Shariq Khan <shariqrazakhan at gmail.com> wrote:
> Is there any way to listen SIP on multiple ports on asterisk. Is is possible to define in sip.conf in the following way.
> 
> sip.conf
> 
> [general]
> port = 5060
> port = 5090
> 
> 
> 
> 
> Depending on the version of asterisk you are using, you can set the port that asterisk binds to using the following commands in sip.conf:
> 
> 1.6.x:
> udpbindaddr = x.x.x.x:5061
> 
> 1.4.x:
> bindport = 5061
> 
> 
> -- 
> Thanks,
> --Warren Selby
> http://www.selbytech.com
> 
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users

---
* Olle E Johansson - oej at edvina.net
* Cell phone +46 70 593 68 51, Office +46 8 96 40 20, Sweden






More information about the asterisk-users mailing list