Trunks

Manage and configure SIP trunks for connecting the Cloud PBX with external media servers. Learn how to create, test, and assign trunks to routing rules.

A SIP Trunk is a connection to another media server that supports the SIP protocol. We create trunks between the Cloud PBX and an outside provider, PBX, or POP.

After creating trunks, you can use them in dialing routes for a specific country, user group, or lead.

Managing existing trunks

You can find trunks in Settings > Outbound Configurations on the Trunks tab.

Screenshot with the Trunks tab

Trunks tab

By default, you have at least one main trunk set, and you can add more.

On the Trunks page, you can see a table with all created trunks.

ColumnExplanation
IDThe trunk ID
Trunk NameThe trunk name
UriTo see the full trunk URI, hover over the Show URIlink. To copy the trunk URI, click the copy icon.
StateThis shows whether the trunk is used as a primary, backup, or failover trunk or if it is disabled.
Assigned RulesThe number of the routing rules using the trunk. To see the list of prefixes/user groups using the trunk, hover over the number.
Actions
  • Edit - opens the Edit Trunk page.
  • Delete - deletes the trunk after validation.
    A trunk cannot be deleted if:
    The trunk is in use in campaign rules
    The trunk is already assigned to a campaign lead
  • Test trunk - opens the page for testing the selected trunk
  • Unassign from all rules - lets you unassign the trunk from all the routing rule.
Screenshot of trunk actions

Trunk actions

Testing trunks

You can test your trunks to check if they work properly.

You can open the tester by clicking the Test trunks button on the Trunks page. Alternatively, select Test trunk in Actions for the needed trunk. The testing feature is also available as one of the steps of trunk creation.

To test a trunk:

Open the trunk tester

Open the trunk tester. It will appear in a pop-up window.

Screenshot with the test trunk simulator

Test trunk simulator

Enter a caller ID

Enter a caller ID.

Enter the destination number

Specify the destination phone number.

Make a test call

Click Make test call. You will get a notification with the response.

Screenshot with a trunk testing result

Trunk testing result

Creating a new trunk

To create a new trunk:

Create a trunk

Click Create New Trunk at the top right of the page.

**Trunks** tab with **Create New Trunk** button

Trunks tab with Create New Trunk button

Add the trunk details

Add the trunk name, SIP username, SIP password, tech prefix, and server.

Check the trunk URI

The trunk URI will be formed from the SIP username, password, tech prefix, and server.

Choose how to use the trunk

Select how you are going to use the trunk: as a primary, backup, or failover route.

Set load distribution

Select the checkbox for equal load distribution among primary trunks within each routing rule.

Screenshot with the trunk settings

Trunk settings

Assign routing rules

Assign the trunk to one or more rules from the drop-down lists, depending on how you will use it.

  • Prefix Rule - rules based on country prefixes
  • Route Rule - rules combining trunks that have the same settings and restrictions.
Screenshot of the Assign Trunk section

Assign Trunk section

Enter a test caller ID

Test the trunk by inserting a Caller ID number.

Run the test

Specify the destination phone number and click Run test.

Screenshot of tTesting a trunk

Testing trunk

Check the response

You will get a notification with the response.

Create the trunk

Click Create at the bottom of the page.
The new trunk will be added to your trunk list.

Disabling a trunk

To disable a trunk on all the routing rules, select Actions >Edit, then remove checkmarks from all the checkboxes.

Screenshot with removing checkboxes for a trunk

Removing checkboxes for a trunk

However, if you want to remove a trunk from a specific routing rule, go to Dialing Routes and, under Actions, click Unassign trunk from this rule.

Screenshot with the option to unassign a trunk from the rule

Option to unassign a trunk from the rule


Did this page help you?