I tried to set static IP, that doesn&#39;t work :(<div><br><br><div class="gmail_quote">2012/11/25 Ken Rice <span dir="ltr">&lt;<a href="mailto:krice@freeswitch.org" target="_blank">krice@freeswitch.org</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div>
<font face="Monaco, Courier New"><span style="font-size:11pt">Hard set an ip for sip profiles and never use 0.0.0.0 as the bind ip, it does not work....<div><div class="h5"><br>
<br>
<br>
On 11/25/12 10:16 AM, &quot;Dmitry Sytchev&quot; &lt;<a href="http://kbdfck@gmail.com" target="_blank">kbdfck@gmail.com</a>&gt; wrote:<br>
<br>
</div></div></span></font><div><div class="h5"><blockquote><font face="Monaco, Courier New"><span style="font-size:11pt">Hi All!<br>
<br>
We faced strange problem after FS migration from hardware server to Debian 6.0.6 in VMWare ESXi. <br>
After every VM reboot, FS starts normally, but doesn&#39;t receive any SIP traffic. <br>
netstat -ln shows that freeswitch listens on *:5060, but if we do &#39;sofia profile local restart&#39;, it says than it restarts on 127.0.0.1 <br>
If we do /etc/init.d/freeswitch restart, FS starts normally and work as expected.<br>
<br>
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.<br>

<br>
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 :(<br>

Any ideas how can I trace what is the exact problem leading to such behaviour? <br>
<br>
</span></font></blockquote></div></div><span class="HOEnZb"><font color="#888888"><font face="Monaco, Courier New"><span style="font-size:11pt"><br>
-- <br>
Ken<br>
<font color="#0000FF"><u><a href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br>
<a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
<a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br>
</u></font><a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br>
</span></font>
</font></span></div>


<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Best regards,<br><br>Dmitry Sytchev,<br>IT Engineer<br>
</div>