Billing Rates

goncalo

Joined
Apr 23, 2007
Messages
1
Likes
0
Points
0
#1
Hi,

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

Thanks

Gonçalo
 

createinfor

Joined
Aug 5, 2007
Messages
4
Likes
0
Points
0
#2
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.
 

scotth

Joined
Aug 21, 2007
Messages
10
Likes
0
Points
0
#3

latrellwalker

Joined
Jul 27, 2011
Messages
1
Likes
0
Points
0
#4
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.

Forum statistics

Threads
30,952
Messages
130,980
Members
17,654
Latest member
janko67
Top