<div dir="ltr"><div class="gmail_quote"><br><div dir="ltr">Hello!<div><br></div><div>We noticed today an issue with the kamailio loadbalancing.</div><div><br></div><div>Basically kamailio is not considering if an host is up or not, backends are set always as "FLAGS: AP" even if the host is down.</div><div><br></div><div>I see this when the proxy starts :</div><div><br></div><div>ERROR: dispatcher [dispatcher.c:768]: ds_warn_fixup(): failover functions used, but required AVP parameters are NULL -- feature disabled<br></div><div><br></div><div>These the parameters I have set:</div><div><div><br></div><div><div># ----- dispatcher params -----</div><div>modparam("dispatcher", "list_file", "/etc/kamailio/dispatcher.list")</div><div>modparam("dispatcher", "dst_avp", "$avp(dsdst)")</div><div>modparam("dispatcher", "grp_avp", "$avp(dsgrp)")</div><div>modparam("dispatcher", "cnt_avp", "$avp(dscnt)")</div><div>modparam("dispatcher", "ds_ping_method", "OPTIONS")</div><div>modparam("dispatcher", "ds_ping_reply_codes", "class=2;class=3;code=404")</div><div>modparam("dispatcher", "ds_ping_from", "<a href="mailto:sip%3Aproxy@sip.nexmo.com" target="_blank">sip:proxy@sip.nexmo.com</a>")</div><div>modparam("dispatcher", "ds_ping_interval", 20)</div><div>modparam("dispatcher", "ds_probing_threshold", 1)</div><div>modparam("dispatcher", "ds_probing_mode", 1)</div><div>modparam("dispatcher", "ds_hash_size", 10)</div><div>modparam("dispatcher", "ds_hash_expire", 3600)</div><div>modparam("dispatcher", "ds_hash_initexpire", 60)</div><div>modparam("dispatcher", "ds_hash_check_interval", 10)</div><div>modparam("dispatcher", "use_default", 0)</div><div>modparam("dispatcher", "attrs_pvname", "$avp(carrierattr)")</div><div>modparam("dispatcher", "setid_pvname", "$avp(carriergroup)")</div><div>modparam("dispatcher", "flags", 2)</div></div></div><div><br></div><div>I use 4.3.3, I think this issue started after upgrading from 4.3.1 but I can't say for sure.</div><div><br></div><div>Can someone please give us some advices on this?</div><div><br></div><div>Thanks</div><span class="HOEnZb"><font color="#888888"><div>Alessio</div></font></span></div>
</div><br></div>