<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0"></p>
<div>Hi,<br>
<br>
I have noticed n accounting module that there seems to be differences between cdr fields "duration" and "ms_duration".<br>
<br>
You can notice it even from opensips documentation:<br>
http://www.opensips.org/Documentation/Tutorials-Advanced-Accounting#toc11<br>
<br>
If you check CDR example:<br>
ACC: call ended: created=1474639265;call_start_time=1474639281;\<br>
<br>
duration=5;ms_duration=4250;setuptime=16;method=INVITE;from_tag=1515466979;\<br>
to_tag=1284910.0.0.1351;call_id=1766189979;code=200;reason=OK<br>
<br>
ms_duration= 4250 and still duration field is 5, although it should be 4 ? <br>
<br>
I first thought that it could be that duration is rounded up, but we have cdr's where duration is rounded down,
<br>
like ms_duration 1926 => duration 1. <br>
<br>
Any idea why it behaves like that?<br>
<br>
Regards,<br>
Arto Kuiri<br>
<br>
<br>
</div>
<br>
<p></p>
</div>
</body>
</html>