Today I will talk about some of the intricacies of call routing and how to customize the result to get the right one.
Outbound routing
To begin with, we will consider on one most frequently asked question - “How to remove + from dialing”.
')
To resolve this issue, there are several options:
1. The easiest option is to tick the Settings / Advanced and forget about this problem (suitable for working with local calls, that is, if you do not call more than one country and do not have a large number of outgoing rules):
This setting allows you to dial a number from the general list of contacts (xml note book, etc.) or use a 3cx client on a smartphone without modification.
2. Using outbound routing rules
A rule is created with the prefix "+7", then in the "Route" field, the column "Delete digits" select "1" - this means that the system will delete the first character from the typed characters.
Here you need to pay attention that not all operators provide the opportunity to dial simply through "7". It is often found that it requires exactly "8", then in this case the rule will look like this:
We delete two characters from the beginning (in this example it is +7) and add “8” to the beginning of dialing, this way the problem of dialing is solved using “+7” and the problem of calls through “7” is solved immediately when the operator perceives only "8".
3. For users of 3CX Soft Phone, the solution is provided in the client itself:
In the field "Replace + on" and point to what we want to replace. Unfortunately, the field can not be left blank - you must enter any value.
4. Using templates. This option is a more flexible solution.
Templates are configured directly in the account settings (SIP Trank):
Symbols and rules used :
- () - used to encapsulate variable numbers. Each variable is indicated in separate brackets. This means any sequence or number in the string.
- (. *) - indicates any sequence or number in the string. Used in the last position. Any variables specified after will be ignored.
- 0-9, + (digits 0-9 and “+”) - used symbols to designate CID (Caller ID)
- (XXX) - where X is any digit from 0 to 9.
- \ 1, \ 2 - \ 9 - the variable is enclosed in brackets.
- (...) where. (dot) any single character. In this example, 3 characters are hidden in dots.
Example 1, replacing the plus:The dialed number: +74951340222
It is necessary that the set was made as: 84951340222
The rule will look like:
- + will be deleted
- (7) will be replaced by 8
- (. *) any number (i.e. 10 characters)
Example 2, abbreviation of characters:The dialed number: +74951340222
It is necessary to get into the set: 1340222, i.e. delete country code and city code.
The rule will look like:
- + will be deleted
- (7) the country code will be deleted - \ 1
- (...) code is proud (495), will be deleted - \ 2
- (. *) in this example, the number (1340222) - \ 3 - which will go to the set.
Example 3, change in incoming CID.For example, the operator gives you 10 characters instead of the usual 11 characters, or 11 characters and +.
Inbound CID: 4951340222
We have this phone in the address book as: +74951340222 with the name ICE Partners.
It is necessary that the incoming number is identified with +7.
To do this, create a rule in the "Formatting the incoming CID" section:
- (. *) number, in this example 4951340222
- +7 increase to the number
- \ 1 number itself, which comes 4951340222
Thus, using templates, you can customize any incoming / outgoing CID. What makes this setup more flexible and versatile than other features.