[Freeswitch-users] Internal Sofia profile fails to load if STUN fails

Steven Ayre steveayre at gmail.com
Wed May 7 14:13:55 MSD 2014


You could also schedule 'sofia profile <name> 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.

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.

-Steve


On 7 May 2014 05:23, Ken Rice <krice at freeswitch.org> wrote:

> you can configure it statically, what mike is talking about, is people
> behind nat on a dynamic ip
>
> Ken
> Sent from my iPad
>
> > On May 6, 2014, at 22:23, Nathan Neulinger <nneul at mst.edu> wrote:
> >
> > Isn't that making the assumption that dynamic addressing is required?
> >
> > Shouldn't he be able to configure that information staticly if he isn't
> behind a NAT? He doesn't indicate in his message
> > if stun is actually required for his deployment.
> >
> > -- Nathan
> >
> >> On 05/06/2014 02:10 PM, Michael Jerris wrote:
> >> 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.
> >>
> >>
> >>> On May 6, 2014, at 8:46 AM, Francis <sms at icefire.qza.net.au> wrote:
> >>>
> >>> I came across this accidentally, because of a broken firewall.
> >>>
> >>> I rebooted a Freeswitch server, which came up but failed to load the
> >>> internal profile. When trying to reload the profile from fs_cli, I got
> >>> an error message that the stun server was invalid, which wasn't the
> >>> case, it was just the firewall blocking traffic. Disabling the firewall
> >>> and restarting the server got everything working again.
> >>>
> >>> This effectively prevents a server from functioning, in the event of
> >>> having to reboot during an internet outage or if the stun server is
> >>> temporarily inaccessible. I'd rather the profile load regardless and
> >>> continue to probe the stun server until it gets a response. Is there
> any
> >>> way to set this?
> >>>
> >>> Francis
> >>>
> >>>
> _________________________________________________________________________
> >>> Professional FreeSWITCH Consulting Services:
> >>> 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
> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> >>> UNSUBSCRIBE:
> http://lists.freeswitch.org/mailman/options/freeswitch-users
> >>> http://www.freeswitch.org
> >>
> >>
> >>
> _________________________________________________________________________
> >> Professional FreeSWITCH Consulting Services:
> >> 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
> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> >> UNSUBSCRIBE:
> http://lists.freeswitch.org/mailman/options/freeswitch-users
> >> http://www.freeswitch.org
> >
> > --
> > ------------------------------------------------------------
> > Nathan Neulinger                       nneul at mst.edu
> > Missouri S&T Information Technology    (573) 612-1412
> > System Administrator - Architect
> >
> > _________________________________________________________________________
> > Professional FreeSWITCH Consulting Services:
> > 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
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> > http://www.freeswitch.org
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> 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
> 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/20140507/21b1bbf8/attachment.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list