Skip to main content
Trunks
Updated over 5 months ago

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

After creating trunks, you can use them in Dialer routing rules to be used for a specific country, user group, or lead.

Managing Existing Trunks

You can find trunks in Settings > Outbound Settings on the 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.

Column

Explanation

ID

The trunk ID

Trunk Name

The trunk name

URI

To see the full trunk URI, hover over the Show URI link. To copy the trunk URI, click the copy icon.

State

Shows if the trunk is used as a primary, backup, or failover trunk, or if it is disabled.

Assigned Rules

The 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 trunk - opens the Edit Trunk page.

  • Delete trunk - 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 rules

NOTE

Be aware that in special cases, you can change trunk assignment:

  • In Lead Search, set filters to find the necessary lead(s), choose Set override trunks to campaign leads in actions at the bottom of the page, and then select the new trunk from the list.

  • Create a campaign rule with any needed condition, select Override Trunk in rule actions, and choose the needed trunk to route your calls to.

In case you have issues routing your calls, please check lead details or campaign rules.

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:

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

  2. Choose a campaign to use the caller IDs associated with it, or insert a caller ID manually instead.

  3. Select the trunk you need from the drop-down list.

  4. Specify the destination phone number.

  5. Click Run test.
    You will get a notification with the response.

Creating a New Trunk

To create a new trunk:

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

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

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

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

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

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

    • Prefix Rule - rules based on country prefixes

    • Group Rule - rules based on user groups

    • Route Rule - rules combining trunks that have the same settings and restrictions

  7. Test the trunk as described in the section above.

  8. Click Create at the bottom of the page.

    The new trunk will be added to the list of your trunks.

Disabling a Trunk

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

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

Did this answer your question?