Great ! I'm gonna it try ASAP ! Is there another way (ie not using different ports) to get several trunks to a given ITSP ? Let me explain this a bit further. My setup is: ITSP <---- SIP----> Asterisk <----> Phones For various reasons, I want my Asterisk box to have several trunks/SIP account with my ITSP. First method, is to configure a specific port for each trunk: ITSP will receive traffic from two different IP/ports pairs, so it could work. Is there another method (maybe one that works for Asterisk 11) ? 2014-08-05 15:41 GMT+02:00 Joshua Colp <jcolp at digium.com>:> Olivier wrote: > >> Hello, >> With asterisk 12 improvements, is it now possible to bind an asterisk >> SIP stack to several ports ? >> >> For instance, to both emit or listen on ports 5060 and 5062. >> > > chan_sip does not support this but chan_pjsip does by configuring multiple > transports, each using a different port. > > -- > Joshua Colp > Digium, Inc. | Senior Software Developer > 445 Jan Davis Drive NW - Huntsville, AL 35806 - US > Check us out at: www.digium.com & www.asterisk.org > > -- > _____________________________________________________________________ > -- 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 >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140805/1dc1cda0/attachment.html>
Joshua Colp
2014-Aug-05 13:56 UTC
[asterisk-users] Binding SIP on multiple ports [SOLVED])
Olivier wrote:> Great ! > I'm gonna it try ASAP ! > > Is there another way (ie not using different ports) to get several > trunks to a given ITSP ? > Let me explain this a bit further. > > My setup is: > ITSP <---- SIP----> Asterisk <----> Phones > > For various reasons, I want my Asterisk box to have several trunks/SIP > account with my ITSP. > First method, is to configure a specific port for each trunk: ITSP will > receive traffic from two different IP/ports pairs, so it could work. > > Is there another method (maybe one that works for Asterisk 11) ?Sure... just configure all of the trunks in Asterisk. It shouldn't matter that they are using the same port, unless that's a restriction of the ITSP. -- Joshua Colp Digium, Inc. | Senior Software Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - US Check us out at: www.digium.com & www.asterisk.org