In this section, you need to create rules and templates for distributing outgoing calls for providers connected to the PBX.
You can create an unlimited number of outbound routing rules.
You can create several rules for one provider.
Additional examples of configuring outgoing routing are available in the FAQ section.
To add a new outgoing routing rule, click the Add a new rule button.
The name of the rule can be set arbitrarily.
In a note, you can describe the call route that you want to implement; this can help you in debugging in the future.
Set a template for outgoing calls. Read more about number templates in the next paragraph.
The example in the picture above means the following: if the dialed number starts with "345" or "375" and the rest of the number consists of 10 digits.
If the dialed number matches the rules of several routes, then the call will be made in the order of the route descriptions, one by one, until the call is answered, or until there are no more suitable routes.
Convert number - this setting is intended to remove the number prefix and replace it with the desired prefix.
Set a template for outgoing calls. Read more about number templates in the next paragraph.
In the example given, digits are not cut off at the beginning of the number and digits are not added.
Select from the list the provider for which you configured outgoing routing and save the changes.
For example, the number +74952293042 should be converted to the number 84952293042.
The implementation of the rule looks like this:
For example, the numbers 84952293042 and 74952293042 should be converted to +74952293042.
The implementation of the rule looks like this:
For example, the numbers 4952293042 and 4996382584 should be converted to 84952293042 and 84996382584 respectively.
The implementation of the rule looks like this:
For example, the numbers 84952293042 and 74996382584 should be converted to 2293042 and 6382584 respectively.
The implementation of the rule looks like this:
The number starts with | The rest of the number consists of the specified number of digits | Examples of numbers |
---|---|---|
[7-8]{1}
10
79257184255, 84952293042
7925
leave the field blank
79257184255, 7925, 7925718…
7ХХ
0
700, 701, 702…
74952293042
0
74952293042
74(95|99)
7
74952293042, 74996382584…
(7|8)0{1}
1
700, 701, 802, 803…
(25|26)
0
25, 26
[0-9]{1}
0
digit from 0 to 9, occurrence once
[1-5]{2}
0
12, 15, 14, 25 digit from 1 to 5, occurrence twice
[8-9]+
0
8899, 888, 988888 digit from 8 to 9, occurrence one or more times