[SR-Users] Dispatcher module ERROR
Aleksandar Sosic
alex.sosic at evosip.cloud
Fri Jun 1 15:48:18 CEST 2018
Oh,
Thank you Federico, I also had to include this:
```
modparam("dispatcher", "ds_hash_size", 9)
```
Now it seems working fine,
--
Aleksandar Sosic
linkedin.com/in/alexsosic/
mail: alex.sosic at evosip.cloud
On Fri, Jun 1, 2018 at 8:23 AM Federico Cabiddu
<federico.cabiddu at gmail.com> wrote:
>
> 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
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
More information about the sr-users
mailing list