<div dir="ltr"><br><div>Hello</div><div><br></div><div>I am working with Kamailio 5.0 dispatcher module. I am aiming at having two or more gateways receiving the traffic with load balancing, and when one fails, that the traffic is distributed among others. Currently, testing with 2 gw.</div><div><br></div><div>I see the options message going out (and not being answered). When I monitor with kamctl dispatcher dump, I never see the faulty gw going inactive (flags remain AP), and calls are still tried to the faulty gw.</div><div><br></div><div>"Best" result so far is with ds_probing_mode=1, the flags start at AX with both gateway up, then AP once they've replied to an OPTIONS, and even if I stop one, and OPTIONS is no longer replied, it stays at AP. when a call comes through, it is tried on this GW (3 invites), and then fails onto the other one. I was expecting that the gw would not be tried if inactive.</div><div><br></div><div>Am I missing something ?</div><div><br></div><div>J.</div><div><br></div><div><div><font face="monospace, monospace">modparam("dispatcher", "db_url", DBURL)</font></div><div><font face="monospace, monospace">modparam("dispatcher", "table_name", "dispatcher")</font></div><div><font face="monospace, monospace">modparam("dispatcher", "flags", 2)</font></div><div><font face="monospace, monospace">modparam("dispatcher", "dst_avp", "$avp(AVP_DST)")</font></div><div><font face="monospace, monospace">modparam("dispatcher", "grp_avp", "$avp(AVP_GRP)")</font></div><div><font face="monospace, monospace">modparam("dispatcher", "cnt_avp", "$avp(AVP_CNT)")</font></div><div><font face="monospace, monospace">modparam("dispatcher", "sock_avp", "$avp(AVP_SOCK)")</font></div><div><font face="monospace, monospace">modparam("dispatcher", "ds_ping_method", "OPTIONS")</font></div><div><font face="monospace, monospace">modparam("dispatcher", "ds_ping_from", "sip:probe@probe")</font></div><div><font face="monospace, monospace">modparam("dispatcher", "ds_ping_reply_codes", "class=2;class=3;class=4;class=5")</font></div><div><font face="monospace, monospace">modparam("dispatcher", "ds_ping_interval", 30)</font></div><div><font face="monospace, monospace">modparam("dispatcher", "ds_probing_mode", 1)</font></div><div><font face="monospace, monospace">modparam("dispatcher", "ds_probing_threshold", 3)</font></div><div><font face="monospace, monospace">modparam("dispatcher", "ds_timer_mode", 1)</font></div></div><div><br></div></div>