Routes

The “Routes” section contains a list of call routes. Routing rules establish which gateway will be used for making outgoing external calls in the specified direction. The direction refers to the operator's network or region to or from which the call is made. The direction is determined by the phone prefix (prefix * code, part of the code, or part of the number with the code).

A single route can be assigned to multiple domains. To avoid confusion, don't create multiple identical routes for different domains.

1. Click the “Add a route” button.

The route creation window will open.

2. Fill in the fields:

  • Title: Route title.
  • Description: Route description.
  • Routing: Type of routing. The type cannot be changed after creating the route.

*By A-number to a number gateway*: Uses the gateway associated with the number from which an outgoing external call from the CPBX is made.

*By A-number to selected gateways*: The gateway is selected based on the routing rules relative to the number from which the call is made.

*By B-number to selected gateways*: The gateway is selected based on the routing rules relative to the number being called.

If *By A-number to selected gateways* or *By B-number to selected gateways* is chosen, a table for configuring routing rules will open.

By default, the table contains a row with the prefix “Other.” It means that calls from numbers that do not meet other rules (or if other rules are absent) will use this rule. It cannot be deleted; only gateway configuration is possible.

To create a new rule, click the “Add Rule” button. A pop-up window will appear, and you need to specify the following:

  • Prefix: The initial fragment of the phone number (code, part of the code, or part of the number with the code) indicating the call direction.
  • Gateways: The list of gateways through which the call will go for the specified directions. Check the necessary gateways in the dropdown list and click “Add.” If multiple gateways are added, their priority can be changed using arrows. If no gateways are added, calls from or to numbers with the specified prefixes will be prohibited.

Click Save in the pop-up window and then on the route creation page to create the route.

You can also link a domain to a route when creating or configuring the domain.

The “Routes” interface section has two tabs:

  • List of routes: The first column shows the routes and the second column shows their descriptions.

  • Domain routes: The first column shows the domains and the second column shows the routes associated with them.

Let's delve into the capabilities of each tab.

1. On the “Domain Routes” tab, click the “Add” button.

2. In the domain route editing form, enter the domain title and select the routes.

3. Click “Save” to save the domain-link to the route.

Note: You can also link a domain to a route when creating or configuring the domain.

On the “List of routes” tab, in the search bar, enter part of the route title or description. Press Enter. Only routes with the searched fragment in their titles or descriptions will be displayed in the list.

To return to the full list of routes, click the 'x' in the search bar.

In the “Domain Routes” tab, you can also search for routes by the name of the associated domains.

Copying allows you to quickly create new routes based on existing ones and then make minor changes. To copy a route, click on the icon to the right of the desired route.

The route creation window will open. All form fields will be filled with values from the copied route. A postfix (copy) will be added to the title in the “Title” field.

Make necessary changes. Click “Save” to create the route.

1. To filter domains by route, go to the “List of Routes” tab. In the route row where you want to apply filtering, click on the icon.

2. The Domains section will open, displaying domains associated with the selected route.

1. To delete a route, click on its title. In the route settings, click “Delete the route” in the bottom right corner of the page.

2. In the route deletion message, click the “Delete” button to confirm the action.

If the route is in use, attempting to delete it will display a warning that the route cannot be deleted. The route can be deleted only after detaching it from the domains in the domain route settings.