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

Bogdan-Andrei Iancu bogdan at voice-system.ro
Fri Jan 27 11:45:08 CET 2006


Hi Marcello,

what version are you using?

regards,
bogdan

Marcello Lupo wrote:

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





More information about the sr-users mailing list