Billing
Billing feature overview
- CDR contains two price types - customer price and operator price. The purpose is to know how you are selling and what it costs watching expense to various operators etc.
- multiple billing tables - for each of your operator and for each customer
- billing watchdog rule quota - per hour / day / week / month aggregated per src IP or per tel. number
- billing watchdog rule expensive destination
Settings -> Billing configuration
billing type / rules
Here you need to create at least one billing table which will be used to bill customer and operator price. If you do not need to have customer price but only operator price, just create one billing table for each operator (if you have different pricing for each operator) and do not check "Default customer billing" checkbox.
- Name: name of the billing table
- State holidays: choose holidays table which will be used if peak is enabled
- Default price: is price per minute (offpeak if peak/offpeak enabled)
- Enable peak / offpeak: enable billing based on peak / offpeak
- Default price peak: is price per minute for peak period (and offpeak if peak/offpeak enabled)
- Default T1: number of seconds for the first impulse.
- Default T2: lenght of period. For example call was 30 seconds length and T1 is 10 and T2 is 6 the number of seconds to bill will be 10 + 4*6 = 34 seconds.
- Default customer billing: if checked all customer prices who are not assigned in "customer assignment" will be billed based on this billing table
After creating billing table you need to add billing rules:
- name: of the billing rule
- prefix number: rule will match based on the same prefix
- fixed number: rule will match based on the same exact number
- price: price for the destination (offpeak if peak/offpeak enabled)
- price peak: price for the destination in peak period (if peak/offpeak enabled)