<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>Yes, I was thinking something along those lines, thanks!</p>
<p>I did a test, starting the profile when it was already running and it does a stun lookup, which had me wondering what would happen if the lookup failed, so I added a bogus stun server and sure enough, it threw an error, but the profile stayed up regardless. That's pretty much what I was hoping for, so setting up a cron job should do the trick.</p>
<p>Good to know there's a way to make it work if static IP's aren't available.</p>
<p>-Francis</p>
<p>&nbsp;</p>
<div>&nbsp;</div>
<p>On 2014-05-07 20:13, Steven Ayre wrote:</p>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<div dir="ltr">
<div>You could also schedule 'sofia profile &lt;name&gt; start' to run periodically. If the profile is already started it'll do nothing, but if it isn't (eg STUN failed) it'll start it. That way if it fails on boot that command might start it a few minutes later.</div>
<div class="gmail_extra">&nbsp;</div>
<div class="gmail_extra">But really your issue is with your firewall. On a reboot it should work just fine if your firewall is configured right. It'll only be a issue in the event that your internet link is down during boot.</div>
<div class="gmail_extra">&nbsp;</div>
<div class="gmail_extra">-Steve</div>
<div class="gmail_extra">&nbsp;</div>
<div class="gmail_extra"><br />
<div class="gmail_quote">On 7 May 2014 05:23, Ken Rice <span>&lt;<a href="mailto:krice@freeswitch.org">krice@freeswitch.org</a>&gt;</span> wrote:<br />
<blockquote class="gmail_quote" style="margin: 0  0  0  .8ex; border-left: 1px  #ccc  solid; padding-left: 1ex;">you can configure it statically, what mike is talking about, is people behind nat on a dynamic ip<br /><br /> Ken<br /> Sent from my iPad<br />
<div class="HOEnZb">
<div class="h5"><br /> &gt; On May 6, 2014, at 22:23, Nathan Neulinger &lt;<a href="mailto:nneul@mst.edu">nneul@mst.edu</a>&gt; wrote:<br /> &gt;<br /> &gt; Isn't that making the assumption that dynamic addressing is required?<br /> &gt;<br /> &gt; Shouldn't he be able to configure that information staticly if he isn't behind a NAT? He doesn't indicate in his message<br /> &gt; if stun is actually required for his deployment.<br /> &gt;<br /> &gt; -- Nathan<br /> &gt;<br /> &gt;&gt; On 05/06/2014 02:10 PM, Michael Jerris wrote:<br /> &gt;&gt; we can't set the profile addresses until we get a stun response, and we can't start the profile listening without that address... so in short, no, no good way to do that.<br /> &gt;&gt;<br /> &gt;&gt;<br /> &gt;&gt;&gt; On May 6, 2014, at 8:46 AM, Francis &lt;<a href="mailto:sms@icefire.qza.net.au">sms@icefire.qza.net.au</a>&gt; wrote:<br /> &gt;&gt;&gt;<br /> &gt;&gt;&gt; I came across this accidentally, because of a broken firewall.<br /> &gt;&gt;&gt;<br /> &gt;&gt;&gt; I rebooted a Freeswitch server, which came up but failed to load the<br /> &gt;&gt;&gt; internal profile. When trying to reload the profile from fs_cli, I got<br /> &gt;&gt;&gt; an error message that the stun server was invalid, which wasn't the<br /> &gt;&gt;&gt; case, it was just the firewall blocking traffic. Disabling the firewall<br /> &gt;&gt;&gt; and restarting the server got everything working again.<br /> &gt;&gt;&gt;<br /> &gt;&gt;&gt; This effectively prevents a server from functioning, in the event of<br /> &gt;&gt;&gt; having to reboot during an internet outage or if the stun server is<br /> &gt;&gt;&gt; temporarily inaccessible. I'd rather the profile load regardless and<br /> &gt;&gt;&gt; continue to probe the stun server until it gets a response. Is there any<br /> &gt;&gt;&gt; way to set this?<br /> &gt;&gt;&gt;<br /> &gt;&gt;&gt; Francis<br /> &gt;&gt;&gt;<br /> &gt;&gt;&gt; _________________________________________________________________________<br /> &gt;&gt;&gt; Professional FreeSWITCH Consulting Services:<br /> &gt;&gt;&gt; <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br /> &gt;&gt;&gt; <a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><br /> &gt;&gt;&gt;<br /> &gt;&gt;&gt; FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br /> &gt;&gt;&gt; <a href="http://www.cudatel.com">http://www.cudatel.com</a><br /> &gt;&gt;&gt;<br /> &gt;&gt;&gt; Official FreeSWITCH Sites<br /> &gt;&gt;&gt; <a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br /> &gt;&gt;&gt; <a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a><br /> &gt;&gt;&gt; <a href="http://www.cluecon.com">http://www.cluecon.com</a><br /> &gt;&gt;&gt;<br /> &gt;&gt;&gt; FreeSWITCH-users mailing list<br /> &gt;&gt;&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br /> &gt;&gt;&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br /> &gt;&gt;&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br /> &gt;&gt;&gt; <a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br /> &gt;&gt;<br /> &gt;&gt;<br /> &gt;&gt; _________________________________________________________________________<br /> &gt;&gt; Professional FreeSWITCH Consulting Services:<br /> &gt;&gt; <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br /> &gt;&gt; <a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><br /> &gt;&gt;<br /> &gt;&gt; FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br /> &gt;&gt; <a href="http://www.cudatel.com">http://www.cudatel.com</a><br /> &gt;&gt;<br /> &gt;&gt; Official FreeSWITCH Sites<br /> &gt;&gt; <a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br /> &gt;&gt; <a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a><br /> &gt;&gt; <a href="http://www.cluecon.com">http://www.cluecon.com</a><br /> &gt;&gt;<br /> &gt;&gt; FreeSWITCH-users mailing list<br /> &gt;&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br /> &gt;&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br /> &gt;&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br /> &gt;&gt; <a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br /> &gt;<br /> &gt; --<br /> &gt; ------------------------------------------------------------<br /> &gt; Nathan Neulinger &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="mailto:nneul@mst.edu">nneul@mst.edu</a><br /> &gt; Missouri S&amp;T Information Technology &nbsp; &nbsp;<a href="tel:%28573%29%20612-1412">(573) 612-1412</a><br /> &gt; System Administrator - Architect<br /> &gt;<br /> &gt; _________________________________________________________________________<br /> &gt; Professional FreeSWITCH Consulting Services:<br /> &gt; <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br /> &gt; <a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><br /> &gt;<br /> &gt; FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br /> &gt; <a href="http://www.cudatel.com">http://www.cudatel.com</a><br /> &gt;<br /> &gt; Official FreeSWITCH Sites<br /> &gt; <a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br /> &gt; <a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a><br /> &gt; <a href="http://www.cluecon.com">http://www.cluecon.com</a><br /> &gt;<br /> &gt; FreeSWITCH-users mailing list<br /> &gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br /> &gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br /> &gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br /> &gt; <a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br /><br /> _________________________________________________________________________<br /> Professional FreeSWITCH Consulting Services:<br /><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br /><a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><br /><br /> FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br /><a href="http://www.cudatel.com">http://www.cudatel.com</a><br /><br /> Official FreeSWITCH Sites<br /><a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br /><a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a><br /><a href="http://www.cluecon.com">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">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br /> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br /><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></div>
</div>
</blockquote>
</div>
</div>
</div>
<br />
<pre>_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a href="http://www.cudatel.com">http://www.cudatel.com</a>

Official FreeSWITCH Sites
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a href="http://www.cluecon.com">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
</blockquote>
</body></html>