[sr-dev] [kamailio/kamailio] Dispatcher : Re-distribution of messages when hash used and destination not available (#2361)

Kalki70 notifications at github.com
Wed Jun 17 19:57:34 CEST 2020


It seems that addresses are loaded in reverse order in dispatcher module. As it can be seen, when Dest4 is down, it's not Dest5 which receives all load. Its Dest3. In the code it's clear that id is incremented by one, not decremented. Only explanation I see is that order of addresses is loaded in reverse.

Also, when we activate the flag "use_default", which, according to the documentation :

_3.10. use_default (int)
If the parameter is set to 1, the last address in destination set is used as a final option to send the request to._

It's not the last address the one reserved and that doesn't receive traffic in normal conditions. 

**It's the first one!**



-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2361#issuecomment-645528981
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20200617/3d3021ba/attachment.html>


More information about the sr-dev mailing list