<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
  <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Hi Thrillerbee,<br>
<br>
You can try to adjust the time when a gateway&nbsp; state is changed into
probing by setting the "ds_probing_threshhold" <code class="varname"></code>
parameter
(<a class="moz-txt-link-freetext" href="http://www.opensips.org/html/docs/modules/devel/dispatcher.html#id250525">http://www.opensips.org/html/docs/modules/devel/dispatcher.html#id250525</a>).<br>
<br>
Regards,<br>
-- <br>
<pre class="moz-signature" cols="72">Anca Vamanu
<a class="moz-txt-link-abbreviated" href="http://www.voice-system.ro">www.voice-system.ro</a></pre>
<br>
On 10/16/2010 08:01 AM, thrillerbee wrote:
<blockquote
 cite="mid:AANLkTimx9eOKhhREhMHPSFOLA2zgEwcSJNUJ3WCtpoEg@mail.gmail.com"
 type="cite">I have been able to get the dispatcher module to detect a
gw failure and put it into a probing state &amp; route traffic
elsewhere. &nbsp;However, when the gw returns (&amp; begins responding to
OPTIONS with 200s), dispatcher never puts it back in the active state.
  <div><br>
  </div>
  <div>In fact, I cannot even manually put the server back in the
active state with mi functions. &nbsp;I can put it in an inactive state, but
it returns to probing if I try to set it to active:</div>
  <div><br>
  </div>
  <div>
  <div>ogw1:~# opensipsctl fifo ds_list</div>
  <div>SET_NO:: 1</div>
  <div>SET:: 0</div>
  <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;URI:: <a class="moz-txt-link-freetext" href="sip:12.121.80.38">sip:12.121.80.38</a> flag=P</div>
  <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;URI:: <a class="moz-txt-link-freetext" href="sip:12.121.80.39">sip:12.121.80.39</a> flag=A</div>
  <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;URI:: <a class="moz-txt-link-freetext" href="sip:12.121.80.40">sip:12.121.80.40</a> flag=A</div>
  <div>ogw1:~# opensipsctl fifo ds_set_state i 0 <a class="moz-txt-link-freetext" href="sip:12.121.80.38">sip:12.121.80.38</a>&nbsp;</div>
  <div>ogw1:~# opensipsctl fifo ds_list</div>
  <div>SET_NO:: 1</div>
  <div>SET:: 0</div>
  <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;URI:: <a class="moz-txt-link-freetext" href="sip:12.121.80.38">sip:12.121.80.38</a> flag=I</div>
  <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;URI:: <a class="moz-txt-link-freetext" href="sip:12.121.80.39">sip:12.121.80.39</a> flag=A</div>
  <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;URI:: <a class="moz-txt-link-freetext" href="sip:12.121.80.40">sip:12.121.80.40</a> flag=A</div>
  <div>ogw1:~# opensipsctl fifo ds_set_state a 0 <a class="moz-txt-link-freetext" href="sip:12.121.80.38">sip:12.121.80.38</a>&nbsp;</div>
  <div>ogw1:~# opensipsctl fifo ds_list</div>
  <div>SET_NO:: 1</div>
  <div>SET:: 0</div>
  <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;URI:: <a class="moz-txt-link-freetext" href="sip:12.121.80.38">sip:12.121.80.38</a> flag=P</div>
  <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;URI:: <a class="moz-txt-link-freetext" href="sip:12.121.80.39">sip:12.121.80.39</a> flag=A</div>
  </div>
  <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;URI:: <a class="moz-txt-link-freetext" href="sip:12.121.80.40">sip:12.121.80.40</a> flag=A</div>
  <div><br>
  </div>
  <div>Is there some setting that I am missing that allows gateways to
transition from probing to active?</div>
  <div><br>
  </div>
  <div>Thanks.</div>
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
  </pre>
</blockquote>
</body>
</html>