Douglas Mortensen
2011-Dec-20 00:38 UTC
[asterisk-users] Use different local IP for each SIP trunk
Hello, I have a SIP provider whom I may want to have multiple trunks with, rather than just adding more channels to the individual trunk. I have discussed the matter with them & they have told me that the only way that they identify which trunk should be used for each call is simply by the source IP address that the SIP calls are originating from. They do not use sip username/password or any other means to authenticate the remote caller. With that said, then it appears that the only way that I can have multiple trunks setup with them is to have asterisk use a different IP for all of the SIP & RTP traffic for each given trunk. Essentially I would setup multiple IP addresses on my eth0 interface. Is there a way in asterisk that I could configure it to use one local IP for the source in all SIP/RTP traffic for 1 SIP trunk & then a different local IP for the other SIP trunk? Thanks, - Doug Mortensen Network Consultant Impala Networks Inc CCNA, MCSA, Security+, A+ Linux+, Network+, Server+ A.A.S. Information Technology . www.impalanetworks.com<http://www.impalanetworks.com/> P: (505) 327-7300 F: (505) 327-7545 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20111219/b7200066/attachment.htm>
Anton Kvashenkin
2011-Dec-20 05:07 UTC
[asterisk-users] Use different local IP for each SIP trunk
AFAIK you can add exterin= in sip.conf for each trunk, correct me if i'm wrong. 2011/12/20 Douglas Mortensen <doug at impalanetworks.com>> Hello,**** > > ** ** > > I have a SIP provider whom I may want to have multiple trunks with, rather > than just adding more channels to the individual trunk. I have discussed > the matter with them & they have told me that the only way that they > identify which trunk should be used for each call is simply by the source > IP address that the SIP calls are originating from. They do not use sip > username/password or any other means to authenticate the remote caller.*** > * > > ** ** > > With that said, then it appears that the only way that I can have multiple > trunks setup with them is to have asterisk use a different IP for all of > the SIP & RTP traffic for each given trunk. Essentially I would setup > multiple IP addresses on my eth0 interface. Is there a way in asterisk that > I could configure it to use one local IP for the source in all SIP/RTP > traffic for 1 SIP trunk & then a different local IP for the other SIP trunk? > **** > > ** ** > > Thanks,**** > > -**** > > Doug Mortensen**** > > Network Consultant**** > > *Impala Networks Inc* > > CCNA, MCSA, Security+, A+**** > > Linux+, Network+, Server+**** > > A.A.S. Information Technology**** > > .**** > > www.impalanetworks.com**** > > P: (505) 327-7300**** > > F: (505) 327-7545**** > > ** ** > > -- > _____________________________________________________________________ > -- 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/20111220/2db0a012/attachment-0001.htm>
giovanni.v
2011-Dec-20 11:03 UTC
[asterisk-users] Use different local IP for each SIP trunk
Il 20/12/2011 6.07, Anton Kvashenkin ha scritto:> you can add exterin= in sip.conf for each trunkI think this can be used only in [general] section not on peers definition; also useful only when asterisk is behind nat. Not?
Anton Kvashenkin
2011-Dec-21 05:01 UTC
[asterisk-users] Use different local IP for each SIP trunk
Externip support per device in sip.conf http://edvina.net/products/edvx/ 2011/12/20 giovanni.v <iax at keybits.org>> Il 20/12/2011 6.07, Anton Kvashenkin ha scritto: > > you can add exterin= in sip.conf for each trunk >> > > I think this can be used only in [general] section not on peers > definition; also useful only when asterisk is behind nat. Not? > > > -- > ______________________________**______________________________**_________ > -- 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<http://lists.digium.com/mailman/listinfo/asterisk-users> >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20111221/33938053/attachment.htm>