[SR-Users] dispatcher "failover feature disabled"

David Villasmil david.villasmil.work at gmail.com
Wed Apr 3 21:16:43 CEST 2019


As suggested by @Joel Serrano <joel at textplus.com>  i was missing

modparam("dispatcher", "sock_avp", "$avp(s:dsp_uri_socket)")

which is NOT documented on
http://kamailio.org/docs/modules/5.0.x/modules/rtpengine.html#rtpengine.p.setid_default

Thanks @Joel Serrano <joel at textplus.com> !!
Regards,

David Villasmil
email: david.villasmil.work at gmail.com
phone: +34669448337


On Wed, Apr 3, 2019 at 8:11 PM Joel Serrano <joel at textplus.com> wrote:

> version?
>
> dispatcher changes some params from avps to xavps, you might need to
> update your config accordingly.
>
> On Wed, Apr 3, 2019 at 10:28 AM David Villasmil <
> david.villasmil.work at gmail.com> wrote:
>
>> Hello guys,
>>
>> In my config i have:
>>
>> # ----- dispatcher params -----
>> modparam("dispatcher", "db_url", DBURL)
>> modparam("dispatcher", "table_name", "dispatcher")
>> modparam("dispatcher", "flags", 2)
>> modparam("dispatcher", "dst_avp", "$avp(AVP_DST)")
>> modparam("dispatcher", "grp_avp", "$avp(AVP_GRP)")
>> modparam("dispatcher", "cnt_avp", "$avp(AVP_CNT)")
>>
>> modparam("dispatcher", "dstid_avp", "$avp(dsdstid)")
>> modparam("dispatcher", "attrs_avp", "$avp(dsattrs)")
>> # PVs for hashing
>> modparam("dispatcher", "hash_pvar", "$fU@$ci")
>> # PVs to store results when calling ds_is_from_list
>> modparam("dispatcher", "setid_pvname", "$var(setid)")
>> modparam("dispatcher", "attrs_pvname", "$var(attrs)")
>> # method to probe the gateways
>> modparam("dispatcher", "ds_ping_method", "OPTIONS")
>> modparam("dispatcher", "ds_ping_from", "
>> sip:dispatcher at proxy.voice-proxy.singlecommand.com")
>> modparam("dispatcher", "ds_ping_interval", 10)
>> modparam("dispatcher", "ds_probing_threshold", 1)
>> modparam("dispatcher", "ds_ping_reply_codes","class=2")
>> modparam("dispatcher", "ds_probing_mode", 1)
>> # size of hash table storing data for call load dispatching, power of two
>> modparam("dispatcher", "ds_hash_size", 10)
>> # expiration time in seconds to remove the load on a destination if no
>> BYE was received
>> modparam("dispatcher", "ds_hash_expire", 3600)
>> # expiration time in seconds to remove the load on a destination if no
>> 200 OK for INVITE was received
>> # and state updated with ds_load_update
>> modparam("dispatcher", "ds_hash_initexpire", 60)
>> modparam("dispatcher", "ds_hash_check_interval", 30)
>>
>> But i'm getting on startup:
>>
>> ds_warn_fixup(): failover functions used, but required AVP parameters are
>> NULL -- feature disabled
>>
>> What avp am I missing?
>>
>> Regards,
>>
>> David Villasmil
>> email: david.villasmil.work at gmail.com
>> phone: +34669448337
>> _______________________________________________
>> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20190403/a57148d8/attachment.html>


More information about the sr-users mailing list