[SR-Users] ERROR: failover functions used, but AVPs paraamters required are NULL

Gary Chen gchen00 at insightbb.com
Thu Feb 17 16:23:42 CET 2011


Never mind. I used wrong kamailio.cfg file.

From: Daniel-Constantin Mierla [mailto:miconda at gmail.com] 
Sent: Thursday, February 17, 2011 8:51 AM
To: Gary Chen
Cc: sr-users at 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 at lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users



-- 
Daniel-Constantin Mierla
http://www.asipto.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20110217/c6f12f79/attachment.htm>


More information about the sr-users mailing list