[Users] openser 1.2 avp

Daniel-Constantin Mierla daniel at voice-system.ro
Thu Apr 5 09:14:33 CEST 2007


Hello,

try

if (  
avp_db_load("$avp(low_c_service)/username","i/serviceLowCoastredirect"))

there should be no need of semicolon (seems that docs were not updated).

Cheers,
Daniel

On 03/30/07 22:54, laurent schweizer wrote:
> Hello,
>  
>  
> with openser 1.0   I have this
>  
>  if ( avp_db_load("$low_c_service/username","i:/serviceLowCoastredirect"))
>  
>  
> and for openser 1.2 I try to do this
>  
>  if (  
> avp_db_load("$avp(low_c_service)/username","i:/serviceLowCoastredirect"))
> or
> if (  
> avp_db_load("$avp($low_c_service)/username","i:/serviceLowCoastredirect"))
>  
>  low_c_service is an alias        
>  
> avp_aliases="low_c_service=i:500"
>  
> but I have always an error.
>  
> 0(0) ERROR:avops:parse_avp_db:: error - bad avp flags
>  0(0) ERROR:avpops:fixup_db_avp: parse failed
>  0(0) ERROR: fix_actions: fixing failed (code=-1) at cfg line 633
>  0(0) ERROR: fix_expr : fix_actions error
>
>  
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>   




More information about the Users mailing list