Hi Daniel,<br><br>I have configured that option before i send it the email.<br>modparam(&quot;dispatcher&quot;, &quot;ds_probing_threshhold&quot;, 2)<br><br>I have gateways A,A,B,C. (A and A is the same gw. I want to send more calls that&#39;s why is added twice)<br>
<br>C is the dead gateway. It never responds back to the options because is not a real IP.<br><br>When Dispatcher is sending the Invites it always includes the dead gw C which by the way is in probing mode.<br><br>Doing some test calls i have the following results in send it Invites:<br>
<br>A, B, A, C<br>B, A, C, A<br>A, C, A, B<br>A, B , A ,C<br>B, A, C, A<br>A, C, A, B<br>A, B , A ,C<br>B, A, C, A<br>A, C, A, B<br>A, B, A, C<br>B, A, C, A<br><br>As you can see the C dead gw is always included to the Invites send.<br>
<br>Am i missing something in the configuration?<br>I also tried to use “<span class="quote">9</span>” - use weight based load distribution but with no success. i got in the logs that this algorithm is not implemented. I&#39;m doing something wrong here or is not implemented in this version of Kamailio. ( 3.0.1)<br>
<br>Thank you in advance for your help.<br><br>Regards<br>Alex<br><br><br><br><br><div class="gmail_quote">On Fri, Nov 12, 2010 at 10:14 PM, Daniel-Constantin Mierla <span dir="ltr">&lt;<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>&gt;</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 text="#000000" bgcolor="#ffffff">
    Hi Alex,<br>
    <br>
    dispatcher module does not send new invites to inactive gateways.
    But in case a destination became inactive while some INVITEs were
    already through dispatcher, these recent inactive gateways may still
    be used for them.<br>
    <br>
    Regarding the probing mode, dispatcher will never select a probing
    gateway as first option to route the call, but they are kept as
    alternative. This is the current implementation, we may add a module
    parameter to skip gateways in probing mode even for secondary
    alternatives.<br>
    <br>
    Non-responsive gateways change the state after a while, see:<br>
<a href="http://kamailio.org/docs/modules/stable/modules_k/dispatcher.html#id2567110" target="_blank">http://kamailio.org/docs/modules/stable/modules_k/dispatcher.html#id2567110</a><br>
    <br>
    Cheers,<br>
    Daniel<div><div></div><div class="h5"><br>
    <br>
    On 11/12/10 12:58 PM, alex pappas wrote:
    </div></div><blockquote type="cite"><div><div></div><div class="h5">Dear all,<br>
      <br>
      Does anyone can explain how Dispatcher module is sending calls to
      the gateways in the different states?<br>
      <br>
      I mean if I have 3 gateways and the one of them is in Probing mode
      why Dispatcher is continuing sending there calls? Why this gateway
      is not changing from Probing to Inactive since is not replaying to
      OPTIONS messages send by Kamailio?<br>
      <br>
      Configuration:<br>
      <br>
      modparam(&quot;dispatcher&quot;, &quot;flags&quot;, 2)<br>
      modparam(&quot;dispatcher&quot;, &quot;ds_ping_interval&quot;, 5)<br>
      modparam(&quot;dispatcher&quot;, &quot;ds_probing_mode&quot;, 1)<br>
      modparam(&quot;dispatcher&quot;, &quot;ds_probing_threshhold&quot;, 2)<br>
      modparam(&quot;dispatcher&quot;, &quot;dst_avp&quot;, &quot;$avp(s:dst_avp)&quot;)<br>
      modparam(&quot;dispatcher&quot;, &quot;grp_avp&quot;, &quot;$avp(dsgrp)&quot;)<br>
      modparam(&quot;dispatcher&quot;, &quot;cnt_avp&quot;, &quot;$avp(i:202)&quot;)<br>
      modparam(&quot;dispatcher&quot;, &quot;ds_append_branch&quot;, 0)<br>
      <br>
      using db for gw:<br>
      <br>
      setid 123,destination <a>sip:xxx.xxxx.xxx</a>, flag 0 ...<br>
      <br>
      in ROUTE:<br>
      if(ds_select_domain(&quot;$avp(s:disp_dstgrp)&quot;, &quot;4&quot;))<br>
      <br>
      in Failure Route<br>
      <br>
      if(!ds_next_domain())<br>
      <br>
      I want Dispatcher when it sees a node gateway that is dead , to
      Not send any other calls.<br>
      <br>
      Thank you in advance<br>
      <br>
      Alex<br>
      <br>
       <br>
      </div></div><pre><fieldset></fieldset>
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <br>
    <pre cols="72">-- 
Daniel-Constantin Mierla
<a href="http://www.asipto.com" target="_blank">http://www.asipto.com</a></pre>
  </div>

</blockquote></div><br>