Dispatcher - Force one end point active
Hi, We are currently using the dispatcher module and probing end points with OPTIONS, and making them active / inactive depending on the response: modparam("dispatcher", "ds_ping_method", "OPTIONS") modparam("dispatcher", "ds_ping_reply_codes", "class=2;class=3;code=404") modparam("dispatcher", "ds_ping_from", "[REDACTED]") modparam("dispatcher", "ds_ping_interval", 20) modparam("dispatcher", "ds_probing_threshold", 1) modparam("dispatcher", "ds_probing_mode", 1) One of our suppliers endpoints doesn't respond to SIP OPTIONS, is it possible to force a single endpoint as active, but continue probing the rest? I've tried various settings - both globally and flags for the individual end point, but I couldn't seem to find the correct combination. Thanks Matthew
Did you try: ds_probing_mode = 3; you problem host in "AX" (flag=0) and others in "AP" (flag 8) On 21 August 2018 at 14:23, Marrold <kamailio@marrold.co.uk> wrote:
Hi,
We are currently using the dispatcher module and probing end points with OPTIONS, and making them active / inactive depending on the response:
modparam("dispatcher", "ds_ping_method", "OPTIONS") modparam("dispatcher", "ds_ping_reply_codes", "class=2;class=3;code=404") modparam("dispatcher", "ds_ping_from", "[REDACTED]") modparam("dispatcher", "ds_ping_interval", 20) modparam("dispatcher", "ds_probing_threshold", 1) modparam("dispatcher", "ds_probing_mode", 1)
One of our suppliers endpoints doesn't respond to SIP OPTIONS, is it possible to force a single endpoint as active, but continue probing the rest?
I've tried various settings - both globally and flags for the individual end point, but I couldn't seem to find the correct combination.
Thanks
Matthew
_______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Savolainen Dmitri
Hi Dmitri, Thanks for the suggestion. I tested this and it's working as expected - not sure how I missed it before. Thanks again Matthew On Tue, Aug 21, 2018 at 5:25 PM, Dmitri Savolainen <savolainen@erinaco.ru> wrote:
Did you try: ds_probing_mode = 3; you problem host in "AX" (flag=0) and others in "AP" (flag 8)
On 21 August 2018 at 14:23, Marrold <kamailio@marrold.co.uk> wrote:
Hi,
We are currently using the dispatcher module and probing end points with OPTIONS, and making them active / inactive depending on the response:
modparam("dispatcher", "ds_ping_method", "OPTIONS") modparam("dispatcher", "ds_ping_reply_codes", "class=2;class=3;code=404") modparam("dispatcher", "ds_ping_from", "[REDACTED]") modparam("dispatcher", "ds_ping_interval", 20) modparam("dispatcher", "ds_probing_threshold", 1) modparam("dispatcher", "ds_probing_mode", 1)
One of our suppliers endpoints doesn't respond to SIP OPTIONS, is it possible to force a single endpoint as active, but continue probing the rest?
I've tried various settings - both globally and flags for the individual end point, but I couldn't seem to find the correct combination.
Thanks
Matthew
_______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Savolainen Dmitri
_______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
participants (2)
-
Dmitri Savolainen -
Marrold