[asterisk-users] Multiple IP addresses and using same IP for outbound calls as inbound
jeff at stratustalk.com
Thu Oct 29 22:10:01 CDT 2020
I didn't want to post this because its kind of ugly, but we *did*
actually do it a number of years ago to get around this issue with chan_sip.
Our original architecture was based on LXC, and we had large servers
running hundreds of containers, each running asterisk. The "host" ran
asterisk too, as the gateway for all the container instances.
We once used two of those containers to run asterisk on specific host
interfaces (one instance bridged to one nic, the other to the other).
The host asterisk would route calls out one container or the other, with
the effect you are looking for...
On 10/29/20 9:05 PM, David Cunningham wrote:
> Hi Dovid,
> We can change the SDP in Kamailio, but Asterisk will still send its
> RTP from its default address. The remote end is strict about accepting
> RTP from the specified source and won't accept it. Have you any
> suggestions to solve that problem?
> Thank you.
> On Fri, 30 Oct 2020 at 14:49, Dovid Bender <dovid at telecurve.com
> <mailto:dovid at telecurve.com>> wrote:
> Why not use OpenSips/Kamailoo in between? Where you want 188.8.131.52
> you pass it along as is. Where you want 184.108.40.206 change the sdp in
> On Thu, Oct 29, 2020 at 20:44 David Cunningham
> <dcunningham at voisonics.com <mailto:dcunningham at voisonics.com>> wrote:
> Does anyone know a way with chan_sip to tell Asterisk to use a
> specific IP address for its end of the communication for a
> specific device? Something like:
> type = friend
> host = 220.127.116.11
> ouraddress = 18.104.22.168
> This is for use on a server with multiple IP addresses. There
> is the "extenip" setting, but it's really designed for NAT,
> and can only appear in the [general] section.
> Any suggestions would be greatly appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the asterisk-users