📜 ⬆️ ⬇️

Routing subtleties



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 :



Example 1, replacing the plus:

The dialed number: +74951340222
It is necessary that the set was made as: 84951340222
The rule will look like:





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:





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:







Thus, using templates, you can customize any incoming / outgoing CID. What makes this setup more flexible and versatile than other features.

Source: https://habr.com/ru/post/269333/


All Articles