The subtleties of routing

  • Tutorial


Today I’ll talk about some of the intricacies of call routing and how to customize the result to get the right one.

Outbound routing


For starters, consider one of the most frequently asked questions - "How to remove + from dialing."

To solve this issue, there are several options:

1. The simplest option is to check the Settings / Advanced and forget about this problem (suitable for working with local calls, i.e. 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 notebook, etc.) or use the 3cx client on your smartphone without change.

2. Using outbound routing rules



A rule is created with the prefix “+7”, then in the “Route” field, the “Delete numbers” column, 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 make it possible to dial simply through "7". It is very common that “8” is required, then in this case the rule will look like this:



We remove two characters from the beginning (in this example, +7) and add “8” to the beginning of dialing, thus solving the problem of dialing using “+7” and immediately solving the problem of calls through “7”, i.e. when the operator perceives only "8".

3. For 3CX Soft Phone users, the solution is provided in the client itself:



In the field "Replace + with" and indicate what we want to replace. Unfortunately, the field cannot be left blank - you must enter some 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 a line.
  • (. *) - indicates any sequence or number in a line. Used in last position. Any variables specified after will be ignored.
  • 0-9, + (digits 0-9 and "+") - used characters to indicate CID (Caller ID)
  • (XXX) - where X is any digit from 0 to 9.
  • \ 1, \ 2 - \ 9 - indicates the variable enclosed in brackets.
  • (...) -where. (dot) any one character. In this example, 3 characters are hidden in points.


Example 1, replacing the plus: The

number to be dialed: +74951340222
It is necessary that the set be produced 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

number to be dialed: +74951340222
It is necessary that one gets into the set: 1340222, i.e. delete the country code and city code.
The rule will look:



  • + will be deleted
  • (7) country code will be deleted - \ 1
  • (...) the proud code (495) will be deleted - \ 2
  • (. *) in this example, the number (1340222) - \ 3 - which will go into the set.


Example 3, changing an incoming CID.

For example, the operator gives you 10 characters instead of the usual 11 characters, or 11 characters and +.
Incoming CID: 4951340222
We have this phone in the notebook listed 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 Incoming CID" section:





  • (. *) number, in this example 4951340222
  • +7 increase to number
  • \ 1 number itself, which comes 4951340222


Thus, with the help of templates, you can customize any incoming / outgoing CID. What makes this setting more flexible and versatile compared to other features.

Also popular now: