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@lists.freeswitch.org> on behalf of morfair@gmail.com <morfair@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@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com