Call Rates / Call Types
Overview
The Call Rates Module, combines different concepts and modules together to build a call rate group. Here is an illustration of how it it binds together
The modules on the right hand side are listed in order or priority for which call rate group to use.
Modules
Call Types
Overview
The Call Types module consists of a collection default call types and call types that are customized for your department.
Field Descriptions
PCRE Cheat Sheet
code | description | example |
|---|---|---|
^ | if used outside of [ ] then it will match the start of the value | ^61 matches number 61383709020 |
[ ] | used to group items to match | ^61[23] matches numbers 6138379020 and 61299998888 |
[^ ] | if used inside the [ ] it will mean NOT the group items | ^61[^4] matches numbers 6138379020 and 61299998888 but not mobiles |
{ x,n } | match the previous set between x and n. The n is optional, if excluded it means match the previous set x times | ^614[0-9]{8} matches australian mobiles 61411222333 |
* | match the previous set 0 or many times | ^613[0-9]* matches and Victorian number |
+ | match the previous set 1 or more times | ^614[0-9]+ matches australian mobiles 61411222333 |
( ) | creates a group, most useful for combining with or operator | 61([23]|[78]) matches numbers 6138379020 and 61799998888 but not mobiles |
| | creates an or operator | ^61[2378]|Anonymous matches landlines or blocked caller id |
\ | escape character, allows you to use special character | ^test\.com matches domain name test.com |
. | match any character | ^.+\.test\.com matches any subdomain of test.com e.g. www.test.com |
$ | match end of string | ^614[0-9]{8}$ matches australian mobiles 61411222333 |
\d | match any decimal number including . | ^614\d{8}$ matches australian mobiles 61411222333 |
\s | match any white space | not used very often |
Call Rates
In the above example we are setting up rates for an inbound service that is charged at 9c ( ex gst ) per minute, and providers 10 minutes free at the start of the call.