[OpenSIPS-Users] Accounting modules differences between duration and ms_duration fields

Arto Kuiri art666 at hotmail.com
Mon Apr 30 06:57:49 EDT 2018


I have noticed n accounting module that there seems to be differences between cdr fields "duration" and "ms_duration".

You can notice it even from opensips documentation:

If you check CDR example:
ACC: call ended: created=1474639265;call_start_time=1474639281;\


ms_duration= 4250 and still duration field is 5, although it should be 4 ?

I first thought that it could be that duration is rounded up, but we have cdr's where duration is rounded down,
like ms_duration 1926 => duration 1.

Any idea why it behaves like that?

Arto Kuiri

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20180430/6d94d54d/attachment.html>

More information about the Users mailing list