Billing Rates

Joined
Apr 23, 2007
Messages
1
Points
0
Hi,

Can someone tellme how can i change my tarif plans in billing to tax the calls in minutes?

Thanks

Gonçalo
 
Joined
Aug 5, 2007
Messages
4
Points
0
Hi,

I have the same problem. I would like to know if I can tax calls per minute or 1/2 minute or even 1/4 minute. I do not understand the logic of the Rate offset field. Any help?
Thanks.
 
Joined
Jul 27, 2011
Messages
1
Points
0
For the rate by min in Elastix billing, do the following:

Go to /var/www/html/modules/billing_report
Edit index.php

Locate the following lines (249 and 260):

$charge=(($cdr[8]/60)*$datos_tarifa['rate'])+$datos_tarifa['offset'];
$charge=(($cdr[8]/60)*$rate)+$rate_offset;


And replace by:

$charge=(ceil($cdr[8]/60)*$datos_tarifa['rate'])+$datos_tarifa['offset'];
$charge=(ceil($cdr[8]/60)*$rate)+$rate_offset;
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,987
Messages
131,100
Members
17,716
Latest member
Orbit114
Top