Target Audience: Company Admin
Related Offers: Essential, Business, Enterprise
Since version 1.29 it is now possible to configure several numbering rules for each PBX.
The rules will use the "Regular Expression" mechanism (also called RegEx) to perform "find and replace" operations on the phone numbers dialed.
If no rule is defined Rainbow default behavior is to analyze automatically a phone number using an integrated phone number library and the country defined in the user profile. For example, if the number is identified as a national phone number it will add the outbound prefix defined in the PBX configuration.
How does it work?
If numbering rules are defined then the dialed number will be first sent through these rules and if it matches a rule then the default behavior (phone number library and country analysis) will be skipped and the rule applied. If no rule matches then the default phone number analysis (see note above) will apply.
If the dialed phone number is matching a rule do not forget to add the outbound prefix in the replace field if the resulting number is a public phone number.
Let's give some examples:
e.g. input 54321 => dialed 54321 (outbound prefix is not added)
e.g. input 654321 => more then 5 digits, rule does not match:
e.g. input 25845678 => dialed 25845678
e.g. input 2584567890 => more then 8 digits, rule does not match
e.g. input 25745678 => not starting with 258, rule does not match
Rule = ^0321
e.g. input 0321456789 = dialed 00456789
Rule = ^0800
Replace = empty
e.g. input 0800123456 => nothing is dialed
e.g. input 0801654321 => rule does not match, 0801654321 may be recognized by default phone number recognition and 00801654321 sent to the PBX
Rule = ^3699$
Replace = 03699
Rule = (^3699$)
Replace = 0$1
e.g. input 3699 => dialed 03699
Once a number is matching a rule, the modified number is sent to the PBX and no other rule will apply to this number. Therefore the rule order is important.
Inicie sesión para dejar un comentario.