[Freeswitch-users] Server with 2 NICS

João Mesquita jmesquita at freeswitch.org
Mon Feb 6 01:33:39 MSK 2012

Look in the vars.xml and replace the $${local_ipv4} by your configured eth0 ip address.

FreeSWITCH resolves $${local_ipv4} to the IP of the interface who is connected to you default gateway.


João Mesquita
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)

On Sunday, February 5, 2012 at 12:07 PM, Luis Daniel Lucio Quiroz wrote:

> Helo :)
> I'm new to FS but not to linux. I've sucessfully install FS into a
> centos 6.2. But I have an issue.
> Server has 2 nics:
> venet0:
> eth0: <public IP>
> when starting fs, it listen SIP (5060/udp) using venet0. Phones can
> register and they talk each other. However, we are using an external
> GW and that fails. Doing a depth analisys I've realized that the
> reason is that because venet0 is being used, SIP payload has venet0
> within but server IP is eth0's so this is tipical mitchach.
> I've sucessfully configure in vars.xml the local_ip4 (or whatever it
> writes) to use public IP. but after that no phones are registering.
> (before anyone says, yes phones points to public IP of course). Nmap
> reports that SIP (5060/udp) is listen by eth0 but when I got phone
> SIP, i only get Registering request without an answer.
> I really need to make this listen in eth0. What suggestion do you
> have. Please void telling me to turn of venet0 (not possible for
> politics).
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org (mailto:consulting at freeswitch.org)
> http://www.freeswitchsolutions.com
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> 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
> 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/20120205/cd0bb47c/attachment.html 

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