No subject


Wed Apr 27 17:32:46 CEST 2011


..."You may also want to check the avpops module which is more flexible and 
contains more functions. In future SER releases the avp module will be probably 
deprecated in favor of avpops module..."

Regards,
Claudio

On Mon, 9 May 2011, Daniel-Constantin Mierla wrote:

> 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 at lists.sip-router.org
> > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
> 
> -- 
> Daniel-Constantin Mierla
> http://www.asipto.com
> 
> 



More information about the sr-users mailing list