You have to update to trunk version if you want to use avp as parameter.
Daniel
0(0) fixing lookup, line 232
0(0) fixing load_gws, line 236
0(0) str2s: ERROR: unexpected char $ in $avp(s:gw_grp)
0(0) lcr/fixstring2int(): ERROR: bad number `$avp(s:gw_grp)'
0(0) ERROR: fix_actions: fixing failed (code=-6) at cfg line 236
0(0) ERROR: fix_expr : fix_actions error
ERROR: error -6 while trying to fix configuration
0(0) INFO:mi_fifo:mi_destroy: process hasn't been created -> nothing to kill
0(0) DEBUG: tm_shutdown : start
$avp(s:gw_grp) = "1";
if (!load_gws("$avp(s:gw_grp)")) {
the load_gws is line 236..
On Nov 9, 2007 3:02 PM, Ovidiu Sas <sip.nslu(a)gmail.com> wrote:
try if(!load_gw( "$avp(i:20)" ) )
see example here:
http://www.openser.org/docs/modules/1.3.x/lcr.html#AEN303
Regards,
Ovidiu Sas
On Nov 9, 2007 2:31 PM, Kyle Stone <essobi(a)gmail.com> wrote:
> I'm using 1.2.X and the LCR module... following syntax fails at start up...
>
>
> $avp(i:20) = 1;
> if(!load_gw( $avp(i:20) ) ) {
> with an invalid arg to load_gw...
>
> anyone have a suggestion?
>
> _______________________________________________
> Users mailing list
> Users(a)lists.openser.org
>
http://lists.openser.org/cgi-bin/mailman/listinfo/users
>
>
_______________________________________________
Users mailing list
Users(a)lists.openser.org
http://lists.openser.org/cgi-bin/mailman/listinfo/users