[OpenSER-Users] Regarding the LCR module and AVPs...

Kyle Stone essobi at gmail.com
Fri Nov 9 21:30:18 CET 2007


It's breaking on 1.2.X with such...

 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 at 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 at 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 at lists.openser.org
> > http://lists.openser.org/cgi-bin/mailman/listinfo/users
> >
>




More information about the sr-users mailing list