Hello,

for priority based routing (serial forking), you should not need to update the load of destinations, just use ds_select_*() and ds_next_*()

Cheers,
Daniel

On 14.11.18 23:02, David Villasmil wrote:
Hello, 

Trying to do priority load balancing (8) but i'm getting an error `unable to update destination load - classic dispatching` anyone knows why?

i've got

```modparam("dispatcher", "db_url", DBURL)
modparam("dispatcher", "table_name", "dispatcher")
modparam("dispatcher", "flags", 2)
modparam("dispatcher", "dst_avp", "$avp(AVP_DST)")
modparam("dispatcher", "grp_avp", "$avp(AVP_GRP)")
modparam("dispatcher", "cnt_avp", "$avp(AVP_CNT)")

modparam("dispatcher", "dstid_avp", "$avp(dsdstid)")
modparam("dispatcher", "attrs_avp", "$avp(dsattrs)")```

Looking at the code, dstid_avp would be null, but not sure why?
I have set in the table the priorities as 10 for 2 gws (edited)

Regards,

David Villasmil
phone: +34669448337

_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio World Conference -- www.kamailioworld.com
Kamailio Advanced Training, Nov 12-14, 2018, in Berlin -- www.asipto.com