[Freeswitch-users] billmsec and billsec round
Caio Assis
caioebassis at hotmail.com
Sat Apr 13 21:58:00 UTC 2019
Hi.
I faced a similar issue, due to the billsec variable. I started using the variable billusec, which doesn't make any rounds and lets me do the rounding myself. So I use a function to divide the billusec by 1000000 and then ceil the result.
Hope it helps.
________________________________
From: FreeSWITCH-users <freeswitch-users-bounces at lists.freeswitch.org> on behalf of morfair at gmail.com <morfair at gmail.com>
Sent: Friday, April 12, 2019 7:26 AM
To: FreeSWITCH Users Help
Subject: [Freeswitch-users] billmsec and billsec round
Hello all!
Help please with billsec variable, how to it calculate? In my accounting
store I have a sets:
billsec; billmsec
7 7820
7 7360
33 33360
38 38020
59 58900
26 25840
87 86400
How to calculate billsec? What algorithm is used for round billmsec?
P.S.: Sorry for my English.
_________________________________________________________________________
Professional FreeSWITCH Services
sales at freeswitch.com
https://freeswitch.com
Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20190413/9198deb0/attachment.html>
More information about the FreeSWITCH-users
mailing list