I tried to set static IP, that doesn't work :(


2012/11/25 Ken Rice <krice@freeswitch.org>
Hard set an ip for sip profiles and never use 0.0.0.0 as the bind ip, it does not work....



On 11/25/12 10:16 AM, "Dmitry Sytchev" <kbdfck@gmail.com> wrote:

Hi All!

We faced strange problem after FS migration from hardware server to Debian 6.0.6 in VMWare ESXi. 
After every VM reboot, FS starts normally, but doesn't receive any SIP traffic. 
netstat -ln shows that freeswitch listens on *:5060, but if we do 'sofia profile local restart', it says than it restarts on 127.0.0.1 
If we do /etc/init.d/freeswitch restart, FS starts normally and work as expected.

My only idea is that probably FS starts earlier than network interfaces become configured with IP, although there is $network in # Required-Start section of init script. Nothing changes if I set $all in #Required-Start to make FS start at the very end of boot.

I tried to configure static IP in config instead of $local_ipv4, but with no luck. Probably if the problem is in unconfigured IP interface, we also need enable_nonlocal_bind proc settings to make this work, but it is a generally poor and inacceptable workaround :(
Any ideas how can I trace what is the exact problem leading to such behaviour? 


--
Ken
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
irc.freenode.net #freeswitch

_________________________________________________________________________
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




--
Best regards,

Dmitry Sytchev,
IT Engineer