[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
Hi,
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:
http://www.opensips.org/Documentation/Tutorials-Advanced-Accounting#toc11
If you check CDR example:
ACC: call ended: created=1474639265;call_start_time=1474639281;\
duration=5;ms_duration=4250;setuptime=16;method=INVITE;from_tag=1515466979;\
to_tag=1284910.0.0.1351;call_id=1766189979;code=200;reason=OK
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?
Regards,
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