[SR-Users] Dispatcher module ERROR

Federico Cabiddu federico.cabiddu at gmail.com
Fri Jun 1 08:21:51 CEST 2018


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#dispatcher.p.dstid_avp

Cheers,

Federico

On Fri, 1 Jun 2018, 08:17 Aleksandar Sosic, <alex.sosic at 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 at evosip.cloud
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180601/58a3142e/attachment.html>


More information about the sr-users mailing list