[Users] Re: [Serusers] acc module db_extra accounting issue

Marcello Lupo lupo at itspecialist.it
Fri Jan 27 11:38:40 CET 2006


Final information.
If i change the avp type from 3 (int_int) to 2 (int_string) it is accounted 
correctly.
May be a bug in how int int avp values are passed from avp module to acc 
module?
Thanks,
Bye,
Marcello

Alle 11:32, venerdì 27 gennaio 2006, Marcello Lupo ha scritto:
> Hi,
> more information about it..
> I changed the value to 55 and it is now written in the table as 51 .
> Thanks
> Bye,
> Marcello
>
> Alle 11:27, venerdì 27 gennaio 2006, Marcello Lupo ha scritto:
> > Hi,
> > i have a db_extra accounting rule like:
> >
> > modparam("acc", "db_extra", "customer_code=$avp(i:102)")
> >
> > The avp value is 12 and i checked it with avp_print() .
> >
> > DEBUG:avpops:print_avp: p=0x2a97a866e8, flags=0
> > DEBUG:                 id=<102>
> > DEBUG:                 val_int=<12>
> >
> > When it is accounted in the table the value become 11 !!!!!
> > the field in the table is type int(10) .
> >
> > How is it possible??
> > Thanks,
> > Bye,
> > MArcello
> >
> >
> >
> >
> > _______________________________________________
> > Serusers mailing list
> > Serusers at iptel.org
> > http://mail.iptel.org/mailman/listinfo/serusers
>
> _______________________________________________
> Serusers mailing list
> Serusers at iptel.org
> http://mail.iptel.org/mailman/listinfo/serusers




More information about the Users mailing list