I observed inconsistent behaviour in the dispatcher module. In some modes either the code
needs to be fixed or the documentation adapted. As it is a widely used module, some
feedback about this would be appreciated.
1) ds_probing_mode 0
This mode don't work together with a ds_inactive_threshold > 1 and gateway set to
"IP". It will set a gateway to IX after the first successful ping. Therefore
gateways will not be activated automatically. In mode "TP" it works and sets the
gateway to "AX".
My suggestion would be to fix this in the code, that it behaves as mode 1 and 3: count to
the ds_inactive_threshold and then set to "AX".
2) ds_probing_mode 2
According to the docs this should like this: “only gateways in inactive state with probing
mode set are tested”. I understood it that it means gateways with mode "IP".
But according to my tests it also probes gateways in "TP" or "AP"
probing state and changes this both to AX. Either the documentation or the module
behaviour should be fixed.
The same issue mentioned above (ds_probing_mode 0 together with ds_inactive_threshold >
1) is also present. I also would suggest to fix it in the code here as well.
root@sip:/etc/kamailio# kamcmd core.version
kamailio 5.4.0-dev1 (x86_64/linux) 8ee711
--
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/2100