Hi, Can you try to also set the other AVPs, dstid_avp, attrs_avp and sock_avp?
http://www.kamailio.org/docs/modules/devel/modules/dispatcher.html#dispatche...
Cheers,
Federico
On Fri, 1 Jun 2018, 08:17 Aleksandar Sosic, alex.sosic@evosip.cloud wrote:
Hi everyone,
We have an error using the dispatcher module.
In the logs:
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@evosip.cloud
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users