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.

Regards,

-- 
João Mesquita
Sent with Sparrow

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: 10.9.19.5/16
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).

TIA

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.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