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



_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to