FS has internal and external profiles .. check that under conf/sip_profiles/
Both xml files (internal.xml and external.xml) are heavily commented and you will find its easy to bind the IP address:port properly.

regards,
Tihomir.


On 7 September 2017 at 12:09, Joseph Waite <joelists@tm.net.uk> wrote:
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@hotmail.com> wrote:

Could you give me an XML file example?



From: FreeSWITCH-users <freeswitch-users-bounces@lists.freeswitch.org> on behalf of Jospeh Waite <joelists@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@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@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org