<div dir="ltr">What ping-min and ping-max settings are you using? It keeps a counter representing the number of successful and failed pings. If it drops too low the gateway is marked as down and if it&#39;s high it&#39;s marked as back up. As a result it can handle the occasional dropped ping as long as it&#39;s not several in a row. ping-min=3 and ping-max=5 seem to work well.</div><div class="gmail_extra"><br><div class="gmail_quote">On 22 December 2015 at 07:02,  <span dir="ltr">&lt;<a href="mailto:covici@ccs.covici.com" target="_blank">covici@ccs.covici.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have had a lot of problems with those options ping, if one should fail<br>
it seems to have trouble recovering the  gateway after that.<br>
<div><div class="h5"><br>
Stanislav Sinyagin &lt;<a href="mailto:ssinyagin@gmail.com">ssinyagin@gmail.com</a>&gt; wrote:<br>
<br>
&gt; Why don&#39;t you define them as gateways?<br>
&gt; On 22 Dec 2015 05:10, &quot;John Nash&quot; &lt;<a href="mailto:john.nash778@gmail.com">john.nash778@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; &gt; My setup is ..<br>
&gt; &gt;<br>
&gt; &gt; Opensips A ----&gt; Freeswitch ---&gt; Opensips B<br>
&gt; &gt;<br>
&gt; &gt; In freeswitch dialing plan I am using Bridge command to connect Incoming<br>
&gt; &gt; call from Opensips A to Opensips B<br>
&gt; &gt;<br>
&gt; &gt; Is there any way Freeswitch can ping (using options) both A and B opensips<br>
&gt; &gt; to check if they are alive? . From documentation I see that we can enable<br>
&gt; &gt; ping for all &quot;Registered&quot; endpoints as well as &quot;Gateways&quot; but i am unable<br>
&gt; &gt; to figure out how I can use them in my scenario as no end point registers<br>
&gt; &gt; to Freeswitch and not using gateways also (I simply give IP of opensips B<br>
&gt; &gt; in bridge command)<br>
&gt; &gt;<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" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt; &gt;<br>
&gt; &gt; Official FreeSWITCH Sites<br>
&gt; &gt; <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
&gt; &gt; <a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
&gt; &gt; <a href="http://www.cluecon.com" rel="noreferrer" target="_blank">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" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; &gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; &gt; <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
&gt; &gt;<br>
&gt;<br>
</div></div>&gt; ----------------------------------------------------<br>
&gt; Alternatives:<br>
&gt;<br>
&gt; ----------------------------------------------------<br>
<span class="im HOEnZb">&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" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;<br>
&gt; Official FreeSWITCH Sites<br>
&gt; <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
&gt; <a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
&gt; <a href="http://www.cluecon.com" rel="noreferrer" target="_blank">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" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
</span><span class="HOEnZb"><font color="#888888">--<br>
Your life is like a penny.  You&#39;re going to lose it.  The question is:<br>
How do<br>
you spend it?<br>
<br>
         John Covici<br>
         <a href="mailto:covici@ccs.covici.com">covici@ccs.covici.com</a><br>
</font></span><div class="HOEnZb"><div class="h5"><br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">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" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br></div>