<div dir="auto">Hi,<div dir="auto">Can you try to also set the other AVPs, dstid_avp, attrs_avp and sock_avp? </div><div dir="auto"><br></div><div dir="auto"><a href="http://www.kamailio.org/docs/modules/devel/modules/dispatcher.html#dispatcher.p.dstid_avp">http://www.kamailio.org/docs/modules/devel/modules/dispatcher.html#dispatcher.p.dstid_avp</a><br></div><div dir="auto"><br></div><div dir="auto">Cheers, </div><div dir="auto"><br></div><div dir="auto">Federico </div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, 1 Jun 2018, 08:17 Aleksandar Sosic, <alex.sosic@evosip.cloud> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi everyone,<br>
<br>
We have an error using the dispatcher module.<br>
<br>
In the logs:<br>
```0(107) ERROR: dispatcher [dispatcher.c:815]: ds_warn_fixup():<br>
failover functions used, but required AVP parameters are NULL --<br>
feature disabled```<br>
<br>
We are running 5.2.0~dev5+0~20180523010152.1118+xenial<br>
<br>
The configuration file parts regarding dispatcher are as follows:<br>
```<br>
loadmodule "dispatcher.so"<br>
...<br>
# ----- dispatcher params -----<br>
modparam("dispatcher", "list_file", "/tmp/dispatcher.list")<br>
# Dispatcher: Enable Failover-Support<br>
modparam("dispatcher", "flags", 2)<br>
# Dispatcher: Overwrite Destination address, if required.<br>
modparam("dispatcher", "force_dst", 1)<br>
# AVP's required for Fail-Over-Support:<br>
modparam("dispatcher", "dst_avp", "$avp(DISPATCHER_DST_AVP)")<br>
modparam("dispatcher", "grp_avp", "$avp(DISPATCHER_GRP_AVP)")<br>
modparam("dispatcher", "cnt_avp", "$avp(DISPATCHER_CNT_AVP)")<br>
<br>
# Try to recover disabled destinations every 15 seconds.<br>
modparam("dispatcher", "ds_ping_interval", 15)<br>
# Actively query the gateways:<br>
modparam("dispatcher", "ds_probing_mode",0)# ----- dispatcher params -----<br>
modparam("dispatcher", "list_file", "/tmp/dispatcher.list")<br>
# Dispatcher: Enable Failover-Support<br>
modparam("dispatcher", "flags", 2)<br>
# Dispatcher: Overwrite Destination address, if required.<br>
modparam("dispatcher", "force_dst", 1)<br>
# AVP's required for Fail-Over-Support:<br>
modparam("dispatcher", "dst_avp", "$avp(DISPATCHER_DST_AVP)")<br>
modparam("dispatcher", "grp_avp", "$avp(DISPATCHER_GRP_AVP)")<br>
modparam("dispatcher", "cnt_avp", "$avp(DISPATCHER_CNT_AVP)")<br>
<br>
# Try to recover disabled destinations every 15 seconds.<br>
modparam("dispatcher", "ds_ping_interval", 15)<br>
# Actively query the gateways:<br>
modparam("dispatcher", "ds_probing_mode",0)```<br>
<br>
What are we doing wrong? What are we missing?<br>
<br>
Thanks,<br>
--<br>
Aleksandar Sosic<br>
<a href="http://linkedin.com/in/alexsosic/" rel="noreferrer noreferrer noreferrer" target="_blank">linkedin.com/in/alexsosic/</a><br>
mail: alex.sosic@evosip.cloud<br>
<br>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" rel="noreferrer noreferrer" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer noreferrer noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div>