Re: [SR-Users] Ser AVP

2011-05-09 Thread Claudio Furrer
Great, thank you. BTW, is going to be deprecated the module_s/avp_db module (functions like load_attrs, load_extra_attrs, etc)? >From the avp_db/README file: ..."You may also want to check the avpops module which is more flexible and contains more functions. In future SER releases the avp modul

Re: [SR-Users] Ser AVP

2011-05-09 Thread Daniel-Constantin Mierla
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 i

[SR-Users] Ser AVP

2011-05-09 Thread Claudio Furrer
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: [pvapi.c:516]: error searching pvar "fu" 0(20749) ERROR: [pvapi.c:720]: wrong