---
schema_version: "1"
id: 8e1c1859b64630cb074acc845b936b6f051c2c4cff73e4d27d5b0f55b0fba613
title: Set Up a Trunk
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/service/264-0-0/afcc_sv_byoc_set_up_trunk.md
canonical_url: https://help.salesforce.com/s/articleView?id=service.afcc_sv_byoc_set_up_trunk.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 3291d5eba2ff5aec1e678ed8af6662d209b1f2617c46d106241799c8ee9deef0
description: Define how calls flow between your carrier and Salesforce by setting up a trunk. The trunk connects your voice carrier to Salesforce through a Session Initiation Protocol (SIP) trunk, enabling seamless inbound and outbound calls in your contact center. Each trunk configuration securely stores the essential configuration—trunk details, authentication credentials, and routing endpoints—that defines exactly how calls flow between your carrier and Salesforce.
products:
  - Service Cloud
  - Digital Engagement
release: "264"
---
# Set Up a Trunk

Define how calls flow between your carrier and Salesforce by setting up a trunk. The trunk connects your voice carrier to Salesforce through a Session Initiation Protocol (SIP) trunk, enabling seamless inbound and outbound calls in your contact center. Each trunk configuration securely stores the essential configuration—trunk details, authentication credentials, and routing endpoints—that defines exactly how calls flow between your carrier and Salesforce.

### Required Editions

This article applies to:

Salesforce Voice (Native Telephony)

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;"><a href="https://help.salesforce.com/s/articleView?id=service.voice_editions.htm&amp;type=5&amp;language=en_US" target="_blank">View supported editions</a>.</td></tr></tbody></table>

Choose between a managed trunk that offers fully managed voice integration with pre-selected carriers where Salesforce handles the SIP trunk configuration on your behalf, or a custom trunk that gives you complete flexibility to configure your own provider with full control over trunk details, authentication, and routing settings.

## Considerations

When setting up trunks, keep these details in mind.

- The Media Region determines where media (audio) is processed. Selecting a region close to your carrier reduces latency and improves call quality.
- SIP ACL IP Addresses act as an allowlist. Only traffic originating from these IPs is accepted by Salesforce for this provider.
- Configure multiple SIP termination endpoints for outbound redundancy and to distribute call loads.
- Custom Headers are included in the SIP INVITE for outbound calls. Use them to pass the metadata that your carrier needs for routing, billing, or identification.
- If your carrier requires mutual identity verification, make sure you enable inbound and outbound authentication. Both of these use SIP digest authentication (RFC 3261).
- For a managed trunk with Bandwidth, Salesforce manages the trunk configuration and you only need to complete the carrier-side setup using your Salesforce Org ID.
- The Inbound SIP Address (sip.salesforce.com) is system-generated and cannot be changed. Configure this endpoint in your carrier's routing settings to send inbound calls to Salesforce.

- **[Create a Managed Trunk](https://help.salesforce.com/s/articleView?id=service.afcc_sv_byoc_create_managed_trunk.htm&release=264.0.0&type=5)**  
    A trunk represents the connection between your telephony carrier and Agentforce Contact Center infrastructure. Let Salesforce handle the trunk configuration so that you can get started quickly.
- **[Create a Custom Trunk](https://help.salesforce.com/s/articleView?id=service.afcc_sv_byoc_create_custom_trunk.htm&release=264.0.0&type=5)**  
    Set up your voice connection exactly the way you want it, with complete control over trunk configuration, inbound routing, and outbound termination settings.
- **[View Trunk Details](https://help.salesforce.com/s/articleView?id=service.afcc_sv_byoc_view_trunk.htm&release=264.0.0&type=5)**  
    See and edit trunk information.