When I realized the use of "use_default" flag I had trouble trying to fix the
rehash in that case.
According to documentation:
[
use_default](https://kamailio.org/docs/modules/4.3.x/modules/dispatcher.htm…
_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._
But it's not the last address. It's the first one. After dealing with my
implementation I tried with official 5.3.3 and found the same behavior. It's the first
one that is not used and reserved as default, in case no other destination is available.
It seems that for some reason the list of addresses are loaded in reverse order.
My implementation does not touch that, so it is still 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/pull/2363#issuecomment-645518982