[Freeswitch-users] Sofia fails to detect offline gateway

David Ponzone david.ponzone at ipeva.fr
Thu Jan 13 17:47:29 MSK 2011


Min number of positive pings before marking the gw up, perhaps ?

David Ponzone  Direction Technique
email: david.ponzone at ipeva.fr
tel:      01 74 03 18 97
gsm:   06 66 98 76 34

Service Client IPeva
tel:      0811 46 26 26
www.ipeva.fr  -   www.ipeva-studio.com

Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. IPeva décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur.




Le 13/01/2011 à 15:06, Steven Ayre a écrit :

> Ok, I've figured it out. It turns out the problem was
>   <param name="ping-min" value="1"/>
> 
> This was stopping the ping count dropping below 1, so it never reached 0 so never marked the gateway as down.
> 
> ping-min and ping-max aren't very well documented on the wiki. I can see what ping-max is for (determines the number of failed pings before the gateway is marked as down, so it doesn't matter is an occasional request fails), but what's the purpose of ping-min?
> 
> -Steve
> 
> 
> 
> On 11 January 2011 19:28, DJB International <djbinter at gmail.com> wrote:
> I guess you probably have to open a JIRA on this issue.
> 
> -djbinter
> 
> 
> On Tue, Jan 11, 2011 at 11:14 AM, Steven Ayre <steveayre at gmail.com> wrote:
> 'sofia status' shows NOREG
> 
> 'sofia status gateway gw3' shows UP if it's already down when FS starts
> 
> 'sofia status gateway gw3' shows UP (ping) if it's up for a while and then disappears
> 
> Regards,
> -Steve
> 
> 
> 
> 
> On 11 January 2011 18:58, DJB International <djbinter at gmail.com> wrote:
> Steve,
> 
> I am just curious.  If you issue "sofia status gateway gw3" or "sofia status gateway gw4", do you see the Status as UP or DOWN.
> 
> I would have thought that the State should be either NOREG or REG, and Status should be either UP or DOWN, but somehow the log displayed as state.
> 
> Thanks,
> -djbinter
> 
> 
> On Tue, Jan 11, 2011 at 6:37 AM, Steven Ayre <steveayre at gmail.com> wrote:
> freeswitch at internal> version
> FreeSWITCH Version 1.0.head (git-a8b2840 2011-01-07 17-53-09 -0600)
> 
> -Steve
> 
> 
> On 11 January 2011 14:34, Brian West <brian at freeswitch.org> wrote:
> > what version of FS are you running?
> >
> > /b
> >
> > On Jan 11, 2011, at 3:51 AM, Steven Ayre wrote:
> >
> >>
> >> Is there a mistake in my configuration?
> >>
> >> -Steve
> >
> >
> > _______________________________________________
> > 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
> >
> 
> _______________________________________________
> 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
> 
> 
> _______________________________________________
> 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
> 
> 
> 
> _______________________________________________
> 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
> 
> 
> 
> _______________________________________________
> 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
> 
> 
> _______________________________________________
> 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/20110113/eab0fcfa/attachment-0001.html 


More information about the FreeSWITCH-users mailing list