# SMS Trunk Groups

SMS Trunk Groups provide failover (redundancy) for your inbound SMS services. By grouping multiple SMS trunks together,
you can define a prioritized order for routing messages. If the primary trunk is unavailable, the system will
automatically attempt to deliver the message via the next trunk in the sequence.

**Create Trunk Group**

Create and configure a new SMS Trunk Group.

[Create SMS Trunk Group](#user-panel-sms-trunk-group-create)

**Manage Trunks in Group**

Add trunks to the group and set their priority order.

[Manage Trunks in a Group](#user-panel-sms-trunk-group-manage-trunks)

**Edit Trunk Group**

Update the name or modify the members of an existing trunk group.

[Edit SMS Trunk Group](#user-panel-sms-trunk-group-edit)

**Delete Trunk Group(s)**

Remove a trunk group and its assigned trunks from your account.

[Delete SMS Trunk Group](#user-panel-sms-trunk-group-delete)

---



## Before You Begin

Make sure you have **at least two existing SMS trunks**. A trunk group requires multiple trunks to provide redundancy
and failover.

---

## Create SMS Trunk Group

### Step 1: Start Creating Trunk Group

In the user panel menu, navigate to **SMS > SMS Trunks**. Click the **Create New** button and select **Trunk group**
from the dropdown menu.

> [![Navigating to create a new SMS Trunk Group.](../../_images/fig170.png)](../../_images/fig170.png)
>
>
> **Fig. 1.** Navigating to create a new SMS Trunk Group.

### Step 2: Configure Trunk Group

Assign a descriptive friendly name to identify the group and select two or more SMS trunks.

Note

The SMS trunk dropdown shows only trunks that are not already part of another trunk group.

[![The Create SMS Trunk Group configuration page.](../../_images/fig257.png)](../../_images/fig257.png)


**Fig. 2.** The SMS Trunk Group configuration page.

### Step 3: Create the Group

After entering all required details, click **Create** at the bottom of the page to save your trunk group. The group will
then appear in the SMS Trunk Groups list.

### Step 4: Assign the Trunk Group to DIDs

To receive messages, assign the trunk group to one or more DIDs that support inbound SMS. For detailed steps, see
[Assign an SMS trunk](../../phone-numbers/my-numbers/how-to-guides/assign-sms-trunk.html#assigning-sms-trunk).

---

## Manage Trunks in a Group

After creating a trunk group, you can manage its member trunks from the **SMS Trunks** list.

### Setting Trunk Priority

Priority controls the order in which trunks are used for message delivery. The trunk with the highest number in the
**Priority** field has the highest priority and is attempted first.

> 1. In the **SMS Trunks** list, expand the trunk group by clicking the arrow next to its name.
> 2. The member trunks will be displayed, each with a **Priority** field.
> 3. Click the number in the **Priority** column to edit it. A higher value represents a higher priority.

For example, if trunks have priorities `2`, `1`, and `0`, the system attempts the trunk with priority `2` first. If it
fails, the system tries priority `1`, followed by priority `0`.

[![Viewing and editing the priority of trunks within a group.](../../_images/fig336.png)](../../_images/fig336.png)


**Fig. 3.** Managing trunk priorities.



---

## Edit SMS Trunk Group

1. Navigate to the **SMS Trunks** list page.
2. Locate the trunk group and click the ![Actions button](../../_images/three_dots_action_button1.png) button next to it.
3. Select **Edit**, make the necessary changes, and click **Save**.

[![The Edit SMS Trunk Group button.](../../_images/fig437.png)](../../_images/fig437.png)


**Fig. 4.** The Edit SMS Trunk Group button.



---

## Delete SMS Trunk Group

1. Navigate to the **SMS Trunks** list page.
2. Find the trunk group you want to remove and click the actions button ![Actions button](../../_images/three_dots_action_button1.png).
3. Select **Delete**.

[![The Delete SMS Trunk Group button.](../../_images/fig533.png)](../../_images/fig533.png)


**Fig. 5.** The Delete SMS Trunk Group button.

4. In the confirmation window, choose how to handle the member trunks:

   - **Remove SMS trunks from the group** - Deletes the trunk group but keeps the individual trunks in your account.
   - **Delete SMS trunks** - Permanently deletes both the group and all of its member trunks.
5. Click **Delete** to confirm.

Note

SMS trunks that are currently assigned to a DID cannot be deleted. Unassign the trunks from all DIDs before attempting
to delete them.

[![The confirmation modal for deleting an SMS Trunk Group.](../../_images/fig624.png)](../../_images/fig624.png)


**Fig. 6.** The Delete SMS Trunk Group confirmation window.



---

## Related Resources

**Assign an SMS trunk**

Learn how to assign your trunk groups to DID numbers to receive inbound messages.

[Assign an SMS trunk](../../phone-numbers/my-numbers/how-to-guides/assign-sms-trunk.html#assigning-sms-trunk)

**Create an SMS to Email Trunk**

Learn how to configure a trunk to forward inbound SMS messages to an email address.

[SMS to Email Trunk](create-sms-to-email-trunk.html#sms-in-email)

**Create an SMS to HTTP IN Trunk**

Learn how to configure a trunk to forward inbound SMS messages to a web server.

[HTTP IN Trunk](create-sms-http-trunk-in.html#sms-in-http)

On this page
