<div dir="ltr">Hi folks<div><br></div><div>We implemented millisecond billing in our platform, so no need to round on the Opensips layer, the rounding is done in our business billing layer. This way customers can have a different rounding than VoIP providers. It's not a way to penalize customers, but some providers just work differently than others and you cannot demand them to work "your way".</div><div><br></div><div>I suggest store a float (instead of integer) with milliseconds included OR an option to store milliseconds on a separated column.</div><div><br></div><div>Regards</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jun 9, 2020 at 4:45 PM Calvin Ellison <<a href="mailto:calvin.ellison@voxox.com">calvin.ellison@voxox.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">+1 to ceil() rounding, and stating in the documentation that this is<br>
the method used. Alternatively, some new option to specify ceiling,<br>
floor, round, truncate, etc.<br>
<br>
I can back up SM's claim that a single billing interval discrepancy<br>
will cost people real money. Clarification in the documentation will<br>
help people avoid that pitfall. I also concur with Vlad that the<br>
duration in milliseconds is preferable. The millisecond data can help<br>
to settle any billing disputes from clients or vendors, and it<br>
demystifies CDRs for everyone: one field for actual call duration in<br>
ms, another field for call duration after rounding, and/or one for the<br>
final charged call duration after rounding and billing interval.<br>
<br>
<br>
<br>
Regards,<br>
<br>
Calvin Ellison<br>
Senior Voice Operations Engineer<br>
<a href="mailto:calvin.ellison@voxox.com" target="_blank">calvin.ellison@voxox.com</a><br>
<br>
<br>
On Tue, Jun 9, 2020 at 12:14 PM Johan De Clercq <<a href="mailto:johan@democon.be" target="_blank">johan@democon.be</a>> wrote:<br>
><br>
> Upwards seems best.<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div>