Call duration mismatch between CDR and GUI

From Kolmisoft Wiki
Jump to navigationJump to search

Example of the problem

Duration mism1.png

Duration mism2.png


Why its shown like that

Prices in CSV are rounded to the 2 digits after the point.

As real call prices are many digits after the point, the rounding takes place only when all prices are summed.

You can't expect to add not rounded prices together and compare to the rounded prices added together and get the same result.

Example:

0.005 + 0.005 = 0.01

If you export 0.005 to CSV with 2 digits after the point precision, you will see: 0.01 and 0.01

If you will add 0.01+0.01=0.02

And then see what happens if you try to compare: 0.01 to 0.02