asterisk2billing.org http://forum.asterisk2billing.org/ |
|
SELLRATE BILLING BLOCK bug with the rounded ? http://forum.asterisk2billing.org/viewtopic.php?f=16&t=5678 |
Page 1 of 1 |
Author: | dao [ Thu Jun 04, 2009 9:31 pm ] |
Post subject: | SELLRATE BILLING BLOCK bug with the rounded ? |
Hi, I search quite a lot but found no answer. I try to implement the following billing: for any destination. SELLING RATE=0.1 (in any currency) SELLRATE MIN DURATION=60 (to bill 60s min) SELLRATE BILLING BLOCK=25 (to set the billing increment to 25sec) I then got for a 10s call a total billed of 0.125 instead of 0.1 (because we set a min duration to bill of 60s). But more interesting, if I change SELLRATE BILLING BLOCK=30 instead of 25. There is no more bug I then got for a 10s call a total billed of 0.1 (for the min duration to bill of 60s). If I change again SELLRATE BILLING BLOCK=35, I got for a 10s call a total billed of 0.135 instead of 0.1. Please try on your side and tell me if you get the same result. I guess there is a kind of bug with the rounded. |
Page 1 of 1 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |