[Freeswitch-users] Multiple network interfaces

Joseph Waite joelists at tm.net.uk
Thu Sep 7 10:09:42 UTC 2017


To set the bind ip on the sofia profile you would edit conf/sip_profiles/external.xml or internal.xml depending on which profile, or both if you want both profiles to use the external ip.

You then need to find the <param name=“sip-ip" value=“x.x.x.x”/> line and change the value to be the internal IP.
You may also need to change the <param name="rtp-ip" value=“x.x.x.x”/> if you need to ensure the media stream comes from the same IP, which is likely in your use case.

Regards


> On 6 Sep 2017, at 18:16, Caio Assis <caioebassis at hotmail.com> wrote:
> 
> Could you give me an XML file example?
> 
> 
> From: FreeSWITCH-users <freeswitch-users-bounces at lists.freeswitch.org> on behalf of Jospeh Waite <joelists at tm.net.uk>
> Sent: Wednesday, September 6, 2017 11:58 AM
> To: FreeSWITCH Users Help
> Subject: Re: [Freeswitch-users] Multiple network interfaces
>  
> Depending on your use case, You could create a separate Sofia profile and bind that to your internal address, then in the dial plan specify that profile when placing the call to that specific gateway.
> Alternatively if you wanted Freeswitch to only use the internal IP for everything you could specify that all your Sofia profiles bind to the internal address.
> 
> Regards
>> On 6 Sep 2017, at 15:26, Caio Assis <caioebassis at hotmail.com <mailto:caioebassis at hotmail.com>> wrote:
>> 
>> Good morning.
>> 
>> On my freeswitch system, I have 2 network interfaces, one with a public IP address and one with a internal IP address. The issue is that when I make a call, freeswitch uses the public address, but I have to use the internal IP address. Only the internal IP address can connect to a specific gateway, but all attempts try to use the public address. With Asterisk I didn't have that issue, for I used the 'bindaddr' param. Can you help me?
>> 
>> Thanks.
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
>> 
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org <http://www.freeswitch.org/>
>> http://confluence.freeswitch.org <http://confluence.freeswitch.org/>
>> http://www.cluecon.com <http://www.cluecon.com/>
>> 
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
>> http://www.freeswitch.org <http://www.freeswitch.org/>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170907/4adc3f56/attachment-0001.html>


More information about the FreeSWITCH-users mailing list