Hi Ryan,

Thanks for prompt reply. I am about to check this out.

Mac.


2014-04-10 22:03 GMT+02:00 Ryan Mitchell <r...@tcl.net>:

> Using db_extra to stuff custom data into your acc table, use the $time var
> with a format such as "%s.%N" or similar.
>
> Or, as you suggested, do it on the database level with a trigger or
> auto-update column.
>
>
>
> On Thu, Apr 10, 2014 at 10:01 AM, Maciej Bylica <mb...@gazeta.pl> wrote:
>
>> Hello
>>
>> I just want to know how to achieve miliseconds precision for accounting
>> module.
>> This is quite important while trying to sum up total traffic duration
>> with the accuracy of hundred of ms.
>>
>> As i see there is no rounding feature implemented as well, but heaving ms
>> precision it could be done directly on DB level.
>>
>> Could somebody give me a hand.
>>
>> Thanks in advanced
>> Mac
>>
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users@lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>
>
> --
> Ryan Mitchell <r...@tcl.net>
> Telecom Logic, LLC
>
>
> _______________________________________________
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to