[SR-Users] Dispatcher on 5.2

Igor Olhovskiy igorolhovskiy at gmail.com
Mon Nov 19 15:29:03 CET 2018


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20181119/6471ccc1/attachment.html>


More information about the sr-users mailing list