Hello,
the avpops module is now the one coming via kamailio development.
First, you have to load modules_k/pv.so module (to get $fu), then the
second parameter has to be PV format as well, e.g.,: $avp(fwdbusy)
(note: s: is optional now in the name of the avps, if it is missing then
the name is implicit considered string).
Cheers,
Daniel
On 5/9/11 3:24 PM, Claudio Furrer wrote:
Hello all,
Have this issue with my ser config. I try to load a fwdbusy value from db
using the $fu class, but it's complaining..
config:
...
if (avp_db_load("$fu", "s:fwdbusy")) {
...
log:
0(20749) ERROR:<core> [pvapi.c:516]: error searching pvar "fu"
0(20749) ERROR:<core> [pvapi.c:720]: wrong char [u/117] in [$fu] at [2 (0)]
0(20749) ERROR: avpops [avpops.c:275]: bad param 1; expected :
$pseudo-variable or int/str value
What's wrong with that? Should it not considered as a ser avp? Not K one. Or
that avp_db_load is an exlusively K function?
Thank you,
Claudio
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla
http://www.asipto.com