Hi!
Am I missing something or it’s a bug?
Idea is following. I’m using dispatcher to load-balance calls. Using same weight destinations, order like in a file.
So, dispatcher.list looks like 1 sip:172.28.11.6:5060 1 sip:172.28.11.4:5060
I’m using round-robin algo with
ds_select_dst(«1», «4»)
But when it selects 172.28.11.4 and it for a reason not working, it will never come back to 172.28.11.6.
Log: … Relaying packet du: sip:172.28.11.4:5060 … BYE/INVITE timeout with no reply … 49(59) WARNING: dispatcher [dispatch.c:2314]: ds_update_dst(): no xavp uri field in next destination record ((nil))
modparam("dispatcher", "list_file", "/tmp/kamailio/dispatcher.list") modparam("dispatcher", "flags", 2) modparam("dispatcher", "force_dst", 1) modparam("dispatcher", "ds_hash_size", 9)
Kamailio: version: kamailio 5.2.0-pre0
Regards, Igor