<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hello,</p>
    <p>for priority based routing (serial forking), you should not need
      to update the load of destinations, just use ds_select_*() and
      ds_next_*()</p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <div class="moz-cite-prefix">On 14.11.18 23:02, David Villasmil
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAFGRPVp89XgKzPh3UykGZM6PMAwwH7omGjsUKJGcDKTQZbxeHA@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div dir="ltr">
          <div>Hello, </div>
          <div><br>
          </div>
          <div>Trying to do priority load balancing (8) but i'm getting
            an error `unable to update destination load - classic
            dispatching` anyone knows why?</div>
          <div><br>
          </div>
          <div>i've got</div>
          <div><br>
          </div>
          <div>```modparam("dispatcher", "db_url", DBURL)</div>
          <div>modparam("dispatcher", "table_name", "dispatcher")</div>
          <div>modparam("dispatcher", "flags", 2)</div>
          <div>modparam("dispatcher", "dst_avp", "$avp(AVP_DST)")</div>
          <div>modparam("dispatcher", "grp_avp", "$avp(AVP_GRP)")</div>
          <div>modparam("dispatcher", "cnt_avp", "$avp(AVP_CNT)")</div>
          <div><br>
          </div>
          <div>modparam("dispatcher", "dstid_avp", "$avp(dsdstid)")</div>
          <div>modparam("dispatcher", "attrs_avp", "$avp(dsattrs)")```</div>
          <div><br>
          </div>
          <div>Looking at the code, dstid_avp would be null, but not
            sure why?</div>
          <div>I have set in the table the priorities as 10 for 2 gws
            (edited)</div>
          <div><br>
          </div>
          <div>
            <div dir="ltr" class="gmail_signature">
              <div dir="ltr">
                <div>Regards,</div>
                <div><br>
                </div>
                David Villasmil
                <div>email: <a
                    href="mailto:david.villasmil.work@gmail.com"
                    target="_blank" moz-do-not-send="true">david.villasmil.work@gmail.com</a></div>
                <div>phone: +34669448337</div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <div hspace="streak-pt-mark" style="max-height:1px"><img alt=""
          style="width:0px;max-height:0px;overflow:hidden"
src="https://mailfoogae.appspot.com/t?sender=aZGF2aWQudmlsbGFzbWlsLndvcmtAZ21haWwuY29t&type=zerocontent&guid=6a64a00e-7b2d-4e15-ba28-1b3c74406636"
          moz-do-not-send="true"><font size="1" color="#ffffff">ᐧ</font></div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio World Conference -- <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a>
Kamailio Advanced Training, Nov 12-14, 2018, in Berlin -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a></pre>
  </body>
</html>