[Freeswitch-users] Multiple network interfaces, can't force freeswitch to use one.

curriegrad2004 curriegrad2004 at gmail.com
Fri Jun 29 00:52:51 MSD 2012


You would want to set the IP address bindings in sofia's profile conf
page, not using vars.xml.

rtp-ip and sip-ip would probably be your best bet in this case.

On Thu, Jun 28, 2012 at 1:41 PM, Joshua Nankin <jnankin at gmail.com> wrote:
> I have two interfaces on my machine, eth0=10.0.2.15 and eth1=192.168.1.7.
>  I'm trying to get freeswitch to only use eth1.  I've put the following at
> the top of my vars.xml:
>
> <X-PRE-PROCESS cmd="set" data="local_ip_v4=192.168.1.7"/>
>
> However, this does not seem to be working.  When I originate a call, I see
> that the initial invite is originating from 10.0.2.15, but incoming packets
> from my sip provider are going to 192.168.1.7 and are not being responded to
> by freeswitch.  Shouldn't freeswitch be listening on 192.168.1.7 and sending
> packets from there as well?
>
> What am I doing wrong?
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> Join Us At ClueCon - Aug 7-9, 2012
>
> 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
>



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list