+1 to ceil() rounding, and stating in the documentation that this is
the method used. Alternatively, some new option to specify ceiling,
floor, round, truncate, etc.

I can back up SM's claim that a single billing interval discrepancy
will cost people real money. Clarification in the documentation will
help people avoid that pitfall. I also concur with Vlad that the
duration in milliseconds is preferable. The millisecond data can help
to settle any billing disputes from clients or vendors, and it
demystifies CDRs for everyone: one field for actual call duration in
ms, another field for call duration after rounding, and/or one for the
final charged call duration after rounding and billing interval.



Regards,

Calvin Ellison
Senior Voice Operations Engineer
calvin.elli...@voxox.com


On Tue, Jun 9, 2020 at 12:14 PM Johan De Clercq <jo...@democon.be> wrote:
>
> Upwards seems best.

_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to