Billing Module of Elastix

okle100

Joined
Jul 2, 2008
Messages
10
Likes
0
Points
0
#1
Hi All,

I am trying to setup the billing module of elastix but i have hard time figuring out how it works.

Here are the tests I have done, and the results from those tests:

rate = 1
rate offset = 0.000
time = 2.32
cost = 2.32

rate = 1
rate offset = 0.1
time = 2.32
cost = 2.82

rate = 1
rate offset = 0.5
time = 2.32
cost = 4.82

rate = 1
rate offset = 1.0
time = 2.32
cost = 7.32

Can someone point me in the right direction of how this billing works, and some manuals, or just plain explain what is the point of rate, and rate offset settings?

Also is it possible to setup different rates for different parts of the day. As some of the trunk providers here have different rates, for weekdays and afternoons, or it is hjust on trunk bases?

Thank you, and Best Regards
 

augustynr

Joined
Nov 20, 2007
Messages
113
Likes
0
Points
0
#2
Can someone explain this?
 

jackyzrk

Joined
Dec 3, 2007
Messages
13
Likes
0
Points
0
#3
it work by second, not by minute. If you need to make it woke by minute, you have to modify the file
/var/www/html/modules/billing_report/index.php

It's very easy.

And the offrate is added to the total cost by one time.
 

scenarist

Joined
Apr 18, 2011
Messages
92
Likes
0
Points
0
#4
rate=1
rate offset=0.00
time=2.32
cost=2.32


Code:
rate=1
means 1 $/min = > (1/60 = 0.0166) => (0.0166 $/sec)

Code:
time=2.32 min
=>
2.32min *60sec = 139.2 sec => 139.2sec * 0.0166 $/sec = 2.32 $

but I dont understand what means "rate offset" on another examples ?
in above examples rate offset is added on total cost by the following
rate ofsset=0.1 => added 0.5 + cost = 0.5 + 2.32 = total cost = 2.82
rate offset=0.5 => added 2.5 + cost = 2.5 + 2.32 = total cost = 4.82
rate offset=1 => added 5 + cost = 5 + 2.32 = total cost = 7.32

but I dont know how is calculate rate offset ?
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,942
Messages
130,964
Members
17,638
Latest member
washingtongomez
Top