ok, thanks for reporting back so future reads of the mailing list
archive points to the solution.
Cheers,
Daniel
On 2/17/11 4:23 PM, Gary Chen wrote:
Never mind. I used wrong kamailio.cfg file.
------------------------------------------------------------------------
*From:*Daniel-Constantin Mierla [mailto:mico...@gmail.com]
*Sent:* Thursday, February 17, 2011 8:51 AM
*To:* Gary Chen
*Cc:* sr-users@lists.sip-router.org
*Subject:* Re: [SR-Users] ERROR: failover functions used, but AVPs
paraamters required are NULL
Hello,
can you send all log messages printed by:
kamailio -E -ddd
Thanks,
Daniel
On 2/17/11 2:42 PM, Gary Chen wrote:
kamailio version 3.1.2
I am trying to setup dispatcher to use its failover feature. Here is
dispatcher part of configure file:
loadmodule "dispatcher.so"
modparam("dispatcher", "db_url", DBURL)
modparam("dispatcher", "table_name", "dispatcher")
modparam("dispatcher", "ds_ping_interval", 30)
modparam("dispatcher", "ds_probing_threshhold", 10)
modparam("dispatcher", "ds_ping_reply_codes", "class=2;class=4")
modparam("dispatcher", "ds_probing_mode", 1)
modparam("dispatcher", "ds_ping_from", "sip:lb1 <at>
m-lab-ca805-sig.kd-lab.de")
modparam("dispatcher", "dst_avp", "$avp(dsdst)")
modparam("dispatcher", "grp_avp", "$avp(dsgrp)")
modparam("dispatcher", "cnt_avp", "$avp(dscnt)")
modparam("dispatcher", "attrs_avp", "$avp(dsattrs)")
modparam("dispatcher", "dstid_avp", "$avp(dsdstid)")
modparam("dispatcher", "flags", 2)
But it is still give the following error:
0(1917) ERROR: dispatcher [dispatcher.c:624]: failover functions used,
but AVPs paraamters required are NULL -- feature disabled
Does anybody know why?
Gary
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org <mailto:sr-users@lists.sip-router.org>
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla
<http://www.asipto.com>http://www.asipto.com
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla
http://www.asipto.com
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users