-----Original Message-----
From: users-bounces(a)lists.openser.org [mailto:users-
bounces(a)lists.openser.org] On Behalf Of Iñaki Baz Castillo
Sent: Wednesday, December 26, 2007 5:09 PM
To: users(a)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(a)lists.openser.org
http://lists.openser.org/cgi-bin/mailman/listinfo/users