Outbound routing

Description and configuration of outgoing routing

Outgoing routes in MikoPBX are a set of rules and settings that determine how the system handles outgoing calls from employees to external numbers. With their help, administrators can control the direction of calls through different telephony providers or communication lines depending on certain conditions, such as the dialed number, prefixes, time of day or user access rights. This allows you to optimize communication costs, distribute the load between channels and apply security policies by restricting or allowing certain types of calls. Setting up outgoing routes provides flexibility and control over outgoing telephone communications, contributing to the efficient operation of the company's communication system.

In this article, you will find detailed documentation on setting up outgoing routing.

"Call routing" -> "Outbound routing" section

Creating a rule

Additional examples of configuring outgoing routing are available in the FAQ section.

Step 1: Add a new rule

To add a new outgoing routing rule, click the "Add a new rule" button.

New rule in outbound routing

Step 2: Title and Note

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.

Step 2: Title and Note

Step 3. Setting the number template

Set a template for outgoing calls. Read more about number templates in this articles group.

Step 3: Setting the number template

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.

Step 4: Number Conversion

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.

Step 4: Number Conversaion

In the example given, digits are not cut off at the beginning of the number and digits are not added.

Step 5. Selecting a provider

Select from the list the provider for which you configured outgoing routing and save the changes.

Step 5: Selecting a provider

Examples

Examples of number templates

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

Examples of changing number prefixes

Example 1. It is necessary to replace the number prefixes “+7” with “8”.

For example, the number +74952293042 should be converted to the number 84952293042.

The implementation of the rule looks like this:

+7 to 8

Example 2. It is necessary to replace the number prefixes “8”, “7” with “+7”.

For example, the numbers 84952293042 and 74952293042 should be converted to +74952293042.

The implementation of the rule looks like this:

7 and 8 to +7

Example 3: You need to add the prefix "8" to the number.

For example, the numbers 4952293042 and 4996382584 should be converted to 84952293042 and 84996382584 respectively.

The implementation of the rule looks like this:

Prefix 8

Example 4: You need to remove the area code "8495" or "7495" or "8499" or "7499" and leave the 7-digit number.

For example, the numbers 84952293042 and 74996382584 should be converted to 2293042 and 6382584 respectively.

The implementation of the rule looks like this:

Remove prefix

Last updated

Was this helpful?