[OpenSER-Users] AVP syntax problem in config

Daniel-Constantin Mierla daniel at voice-system.ro
Fri Feb 8 17:01:55 CET 2008


Hello,

On 02/08/08 17:59, Sri Rao wrote:
> I get the following in the daemon.log when I try to start openser:
>
> Feb  8 08:34:46 vishnu openser[16425]: ERROR:core:pv_parse_spec: bad 
> parameters
> Feb  8 08:34:46 vishnu openser[16425]: ERROR:lcr:mod_init: Malformed 
> or non AVP definition <s:fr_inv_timer_avp>
> Feb  8 08:34:46 vishnu openser[16425]: ERROR:core:init_mod: failed to 
> initialize module lcr
> Feb  8 08:34:46 vishnu openser[16425]: ERROR:core:main: error while 
> initializing modules
>
>
> Here are the offending lines in openser.cfg:
>
> modparam("lcr", "contact_avp", "1401")
> modparam("lcr", "fr_inv_timer_avp", "s:fr_inv_timer_avp")
>
> Is there a different way of defining them?
you should use full avp name format:

$avp(name)

http://www.openser.org/docs/modules/devel/lcr.html#AEN238

Cheers,
Daniel

>
> Thanks,
> Sri.
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.openser.org
> http://lists.openser.org/cgi-bin/mailman/listinfo/users
>   




More information about the Users mailing list