[OpenSER-Users] avp_db_query() problem

Jeremy George jeremy at georgeco.us
Wed Dec 26 23:48:22 CET 2007


  Thank you!

- Jeremy

> -----Original Message-----
> From: users-bounces at lists.openser.org [mailto:users-
> bounces at lists.openser.org] On Behalf Of Iñaki Baz Castillo
> Sent: Wednesday, December 26, 2007 5:09 PM
> To: users at lists.openser.org
> Subject: Re: [OpenSER-Users] avp_db_query() problem
> 
> El Miércoles, 26 de Diciembre de 2007, Jeremy George escribió:
> 
> > Dec 26 14:16:28 [25226] ERROR:core:parse_avp_name: invalid ID <1[1]> not
> a
> > number Dec 26 14:16:28 [25226] ERROR:core:pv_parse_avp_name: bad avp
> name
> > [1[1]] Dec 26 14:16:28 [25226] ERROR:core:pv_parse_spec: pvar "avp" has
> an
> > invalid name param [1[1]] Dec 26 14:16:28 [25226]
> ERROR:core:pv_parse_spec:
> > wrong char [)/41] in [$avp(i:1[1]) avp(i:2[1])=$avp(i:2[1]) ] at [11
> (5)]
> > Dec 26 14:16:28 [25226] ERROR:xlog:xdbg_fixup: ERROR: wrong
> > format[avp(i:1[1])=$avp(i:1[1]) avp(i:2[1])=$avp(i:2[1]) ]
> > Dec 26 14:16:28 [25226] ERROR:core:fix_actions: fixing failed (code=-1)
> at
> > cfg line 288 Dec 26 14:16:28 [25226] ERROR:core:main: failed to fix
> > configuration with err code -1
> 
> http://www.openser.org/dokuwiki/doku.php/install:1.2.2-to-
> 1.3.0#changes_in_pseudo-variables
> 
> 1.2 syntax:
>  $avp(id[N])
> 
> 1.3 syntax:
>  $(avp(id)[N])
> 
> 
> So instead of:
>   $avp(i:1[1])
> use:
>   $(avp(i:1)[1])
> 
> 
> ;)
> 
> 
> 
> --
> Iñaki Baz Castillo
> 
> _______________________________________________
> Users mailing list
> Users at lists.openser.org
> http://lists.openser.org/cgi-bin/mailman/listinfo/users






More information about the sr-users mailing list