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 Regards, Shariq Khan -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100101/57850977/attachment.htm
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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100101/1e4ef7f3/attachment.htm
I m using Asterisk 1.4 , can i bind multiple ports to SIP at a time 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 >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100102/f9690afa/attachment.htm
1 jan 2010 kl. 20.04 skrev Shariq Khan:> I m using Asterisk 1.4 , can i bind multiple ports to SIP at a timeNo, 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
> 1 jan 2010 kl. 20.04 skrev Shariq Khan: > >> I m using Asterisk 1.4 , can i bind multiple ports to SIP at a timeOn Sun, 3 Jan 2010, Olle E. Johansson wrote:> No, Asterisk only supports one port.You can configure OpenSER/Kamailio/OpenSIPS to listen to multiple addresses and ports and "forward" to Asterisk on the same or different boxes. I like to configure systems with OpenSER running on each box, forwarding calls to Asterisk across the same set of boxes for redundancy, load balancing, and maintenance (being able to take an instance of Asterisk or an entire box out of production). -- Thanks in advance, ------------------------------------------------------------------------- Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000
3 jan 2010 kl. 17.47 skrev Steve Edwards:>> 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 > > On Sun, 3 Jan 2010, Olle E. Johansson wrote: > >> No, Asterisk only supports one port. > > You can configure OpenSER/Kamailio/OpenSIPS to listen to multiple > addresses and ports and "forward" to Asterisk on the same or different > boxes. > > I like to configure systems with OpenSER running on each box, forwarding > calls to Asterisk across the same set of boxes for redundancy, load > balancing, and maintenance (being able to take an instance of Asterisk or > an entire box out of production).That is a indeed a good piece of advice. With that solution, you can also properly support TCP and TLS on all versions of Asterisk. /O
Hello,>>> I m using Asterisk 1.4 , can i bind multiple ports to SIP at a time > > On Sun, 3 Jan 2010, Olle E. Johansson wrote: > >> No, Asterisk only supports one port. > > You can configure OpenSER/Kamailio/OpenSIPS to listen to multiple > addresses and ports and "forward" to Asterisk on the same or different > boxes.Would it be more efficient to use libnetfilter_queue() to listen to specific addresses / ports and forward to Asterisk? If so, what would I be losing in not letting OpenSER do it?> > I like to configure systems with OpenSER running on each box, forwarding > calls to Asterisk across the same set of boxes for redundancy, load > balancing, and maintenance (being able to take an instance of Asterisk or > an entire box out of production).Thanks, Vikram.
>> 1 jan 2010 kl. 20.04 skrev Shariq Khan:>>>> I m using Asterisk 1.4 , can i bind multiple ports to SIP at a timeOn Sun, 3 Jan 2010, Steve Edwards wrote:>> You can configure OpenSER/Kamailio/OpenSIPS to listen to multiple >> addresses and ports and "forward" to Asterisk on the same or different >> boxes. >> >> I like to configure systems with OpenSER running on each box, >> forwarding calls to Asterisk across the same set of boxes for >> redundancy, load balancing, and maintenance (being able to take an >> instance of Asterisk or an entire box out of production).On Mon, 4 Jan 2010, Vikram Ragukumar wrote:> Would it be more efficient to use libnetfilter_queue() to listen to > specific addresses / ports and forward to Asterisk?Yes, but the number of SIP control messages are usually insignificant compared to all the RTP packets.> If so, what would I be losing in not letting OpenSER do it?All the goodness that OpenSER brings to the table. I just "scratched the surface" above with all the features of OpenSER/Kamailio/OpenSIPS. -- Thanks in advance, ------------------------------------------------------------------------- Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000