Done some testing with ping-max=10 and ping-min=3, and the gateway was marked as UP on the first successful ping.
-Steve
Min number of positive pings before marking the gw up, perhaps ?David Ponzone Direction Techniqueemail: david.ponzone@ipeva.frtel: 01 74 03 18 97gsm: 06 66 98 76 34Service Client IPevatel: 0811 46 26 26Ce 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?
-SteveOn 11 January 2011 19:28, DJB International <djbinter@gmail.com> wrote:I guess you probably have to open a JIRA on this issue.
-djbinterOn Tue, Jan 11, 2011 at 11:14 AM, Steven Ayre <steveayre@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@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,
-djbinterOn Tue, Jan 11, 2011 at 6:37 AM, Steven Ayre <steveayre@gmail.com> wrote:
freeswitch@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@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@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@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@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@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@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@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org