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