<gateway name="gw1"><br> <param name="realm" value="a.b.c.d"/><br> <param name="username" value="nouser"/><br> <param name="password" value="nopass"/><br>
<param name="register" value="false"/><br> <param name="caller-id-in-from" value="true"/><br> <param name="ping" value="5"/><br> <param name="ping-max" value="10"/><br>
<param name="ping-min" value="3"/><br> <param name="retry-seconds" value="5"/><br> <param name="expire-seconds" value="60"/><br></gateway><br>
<br>2011-01-13 14:59:08.762286 [WARNING] sofia.c:3962 Ping succeeded gw1 with code 200 - count 3/1/10, state UP<br>2011-01-13 14:59:13.768365 [WARNING] sofia.c:3962 Ping succeeded gw1 with code 200 - count 3/2/10, state UP<br>
2011-01-13 14:59:18.771748 [WARNING] sofia.c:3962 Ping succeeded gw1 with code 200 - count 3/3/10, state UP<br>2011-01-13 14:59:23.776471 [WARNING] sofia.c:3962 Ping succeeded gw1 with code 200 - count 3/4/10, state UP<br>
2011-01-13 14:59:28.781190 [WARNING] sofia.c:3962 Ping succeeded gw1 with code 200 - count 3/5/10, state UP<br>2011-01-13 14:59:34.784801 [WARNING] sofia.c:3962 Ping succeeded gw1 with code 200 - count 3/6/10, state UP<br>
2011-01-13 14:59:39.791909 [WARNING] sofia.c:3962 Ping succeeded gw1 with code 200 - count 3/7/10, state UP<br>2011-01-13 14:59:44.835272 [WARNING] sofia.c:3962 Ping succeeded gw1 with code 200 - count 3/8/10, state UP<br>
2011-01-13 14:59:49.838109 [WARNING] sofia.c:3962 Ping succeeded gw1 with code 200 - count 3/9/10, state UP<br>2011-01-13 14:59:55.840360 [WARNING] sofia.c:3962 Ping succeeded gw1 with code 200 - count 3/10/10, state UP<br>
<br><br><div class="gmail_quote">On 13 January 2011 14:57, Steven Ayre <span dir="ltr"><<a href="mailto:steveayre@gmail.com">steveayre@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Done some testing with ping-max=10 and ping-min=3, and the gateway was marked as UP on the first successful ping.<br><br>-Steve<div><div></div><div class="h5"><br><br><br><br><div class="gmail_quote">On 13 January 2011 14:47, David Ponzone <span dir="ltr"><<a href="mailto:david.ponzone@ipeva.fr" target="_blank">david.ponzone@ipeva.fr</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div style="word-wrap: break-word;">Min number of positive pings before marking the gw up, perhaps ?<div>
<br><div>
<span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div style="word-wrap: break-word;">
<div><font face="'Helvetica Neue'"><font color="#1c00ff">David Ponzone </font><font color="#000000" size="3"><span style="font-size: 12px;">Direction Technique</span></font></font></div><div><font face="'Helvetica Neue'"><font size="3"><span style="font-size: 13px;">email: <a href="mailto:david.ponzone@ipeva.fr" target="_blank">david.ponzone@ipeva.fr</a></span></font></font></div>
<div><font face="'Helvetica Neue'"><font size="3"><span style="font-size: 13px;">tel: 01 74 03 18 97</span></font></font></div><div><font face="'Helvetica Neue'"><font size="3"><span style="font-size: 13px;">gsm: 06 66 98 76 34</span></font></font></div>
<div><font face="'Helvetica Neue'"><br></font></div><div><font color="#1c00ff" face="'Helvetica Neue'">Service Client<span> </span></font><font face="'Helvetica Neue'"><font color="#ff0000">IP</font></font><font color="#1c00ff" face="'Helvetica Neue'">eva</font></div>
<div><font color="#1c00ff" face="'Helvetica Neue'"><span style="color: rgb(0, 0, 0); font-family: Helvetica;"><div><font face="'Helvetica Neue'"><font size="3"><span style="font-size: 13px;">tel: 0811 46 26 26</span></font></font></div>
<div><font face="'Helvetica Neue'" size="3"><span style="font-size: 13px;"><div style="margin: 0px; color: rgb(0, 34, 243);"><span style="text-decoration: underline;"><a>www.ipeva.fr</a></span><span style="color: rgb(101, 104, 149);"> - <span style="color: rgb(0, 34, 243); text-decoration: underline;"><a>www.ipeva-studio.com</a></span></span></div>
<div style="margin: 0px; color: rgb(0, 34, 243);"><span style="text-decoration: underline;"><br></span></div><div style="margin: 0px; color: rgb(0, 34, 243);"><span><div style="margin: 0px; text-align: justify; color: rgb(192, 192, 192);">
<i>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. </i><b><i>IPeva</i></b><i> 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.</i></div>
<div style="text-decoration: underline; text-align: justify;"><font color="#c0c0c0"><i><br></i></font></div></span></div></span></font></div></span></font></div></div></span><br></span><br>
</div>
<br><div><div>Le 13/01/2011 à 15:06, Steven Ayre a écrit :</div><div><div></div><div><br><blockquote type="cite">Ok, I've figured it out. It turns out the problem was<br> <param name="ping-min" value="1"/><br>
<br>This was stopping the ping count dropping below 1, so it never reached 0 so never marked the gateway as down.<br>
<br>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?<br>
<br>-Steve<br><br><br><br><div class="gmail_quote">On 11 January 2011 19:28, DJB International <span dir="ltr"><<a href="mailto:djbinter@gmail.com" target="_blank">djbinter@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I guess you probably have to open a JIRA on this issue.<br><br>-djbinter<div><div></div><div><br><br><div class="gmail_quote">On Tue, Jan 11, 2011 at 11:14 AM, Steven Ayre <span dir="ltr"><<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">'sofia status' shows NOREG<br><br>'sofia status gateway gw3' shows UP if it's already down when FS starts<br>
<br>'sofia status gateway gw3' shows UP (ping) if it's up for a while and then disappears<br><br>Regards,<br>-Steve<div><div></div><div><br><br>
<br><br><div class="gmail_quote">On 11 January 2011 18:58, DJB International <span dir="ltr"><<a href="mailto:djbinter@gmail.com" target="_blank">djbinter@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Steve,<br><br>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.<br><br>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.<br>
<br>Thanks,<br>-djbinter<div><div></div><div><br><br><div class="gmail_quote">On Tue, Jan 11, 2011 at 6:37 AM, Steven Ayre <span dir="ltr"><<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
freeswitch@internal> version<br>
FreeSWITCH Version 1.0.head (git-a8b2840 2011-01-07 17-53-09 -0600)<br>
<br>
-Steve<br>
<div><div></div><div><br>
<br>
On 11 January 2011 14:34, Brian West <<a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a>> wrote:<br>
> what version of FS are you running?<br>
><br>
> /b<br>
><br>
> On Jan 11, 2011, at 3:51 AM, Steven Ayre wrote:<br>
><br>
>><br>
>> Is there a mistake in my configuration?<br>
>><br>
>> -Steve<br>
><br>
><br>
> _______________________________________________<br>
> FreeSWITCH-users mailing list<br>
> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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>
</div></div></blockquote></div><br>
</div></div><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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>
</div></div><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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>
</div></div><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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>
</blockquote></div></div></div><br></div></div><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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>
</div></div></blockquote></div><br>