Important Note: This feature is available in Preview for select customers.
Overview
Talkdesk SIP Interconnect enables Admins to connect Talkdesk to third-party telephony platforms over Session Initiation Protocol (SIP) trunking, so contact center and back-office teams on separate systems can communicate as a single, unified environment. This guide explains the feature and takes Admins through the full configuration, from trunk creation to verification.
Table of Contents
- Understanding Talkdesk SIP Interconnect
- Key Features
- Use Cases
- Prerequisites
- Creating a SIP Trunk
- Configuring the SIP Trunk
- Configuring Call Routing
- Setting Up a Microsoft Teams SIP Trunk
- Verifying the Setup
- Peering Requirements and FAQs
- List of Supported Certificate Authorities
- Resources
Understanding Talkdesk SIP Interconnect
Organizations rarely run on a single communications platform. Contact center agents and back-office teams often sit on separate systems, which creates silos, interoperability problems, and inefficient call routing. Replacing an existing back-office telephony investment is rarely practical, so most organizations prefer to integrate their existing platform with Talkdesk rather than replace it.
A basic call handoff between two platforms is not enough on its own. Admins need an integration that is easy to set up, customizable, secure by default, and able to carry context between environments. Talkdesk SIP Interconnect is built for this purpose.
Admins configure SIP trunks between Talkdesk and a third-party telephony environment, such as a Session Border Controller (SBC), a PBX, or Microsoft Teams. Once a trunk is established, calls flow between the two environments according to dial plans and call patterns configured on the Talkdesk Voice Platform, so every call crossing the boundary is routed and restricted according to policies Admins have already defined.
Key Features
- UI-Driven Setup: Admins configure SIP trunks entirely through a dedicated Workspace application, from specifying the remote network endpoint to setting security profiles and codecs.
- Flexible Dialing: Calls between Talkdesk and connected platforms are not restricted to E.164 formatting. Extensions, variable-length dial strings, or any combination can be used, so existing dialing habits carry over without disruption.
- Dial Plan Integration: Talkdesk SIP Interconnect integrates directly with dial plans configured on the Talkdesk Voice Platform, so every call crossing the boundary between platforms is routed, restricted, and handled according to existing policies.
- Security by Default: Every SIP trunk is encrypted automatically. Signaling is secured with Transport Layer Security (TLS) 1.2 or 1.3, and media is protected using Secure Real-Time Transport Protocol (SRTP).
- Trunk Health Monitoring: Admins enable automatic health checks and email alerts, so they know immediately if a trunk stops responding.
Use Cases
- Interconnecting with an existing PBX or SBC: Organizations that have invested in on-premises or cloud telephony infrastructure can connect that environment to Talkdesk without a "rip and replace" migration.
- Microsoft Teams interoperability: Agents can reach back-office subject matter experts (SMEs) in Microsoft Teams directly from the Conversations app, consult with them, and transfer calls with context, without incurring Public Switched Telephone Network (PSTN) charges.
- UCaaS/CCaaS coexistence: Businesses that have standardized on a Unified Communications as a Service (UCaaS) platform can layer Talkdesk's contact center capabilities on top without disrupting their existing communications investment.
Prerequisites
- Permissions: Admin.
- Before starting, confirm access to the third-party telephony environment (for example, an SBC or PBX) that the trunk will connect to, since some steps require entering values on that system as well.
Creating a SIP Trunk
- Navigate to Admin [1] > SIP Trunk [2].
-
Click Create Trunk [3].
- In the modal, select the SIP trunk type:
- Generic SIP Trunk: Used for interconnecting Talkdesk with third-party systems other than Microsoft Teams.
- Microsoft Teams: Used specifically for interconnecting Talkdesk with Microsoft Teams.
Note: Selecting the wrong trunk type can lead to unintended call routing outcomes.
Configuring the SIP Trunk
A Generic SIP Trunk has four configuration sections: Basic Information, Network Endpoints, Security and Authentication, and Advanced Settings.
Basic Information
- Enter a friendly name for the SIP trunk [1].
- Select the region physically closest to the telephony deployment: US, Europe, Asia Pacific, Canada, or South America [2].
- Copy the Fully Qualified Domain Name (FQDN) generated for the selected region [3]. Enter this FQDN on the third-party system (for example, the SBC) to peer with Talkdesk.
- Optionally, enter a description for the trunk [4].
- Select the integration type: Inbound Only, Outbound Only, or Bidirectional. Bidirectional is the default [5].
Network Endpoints
- Select the endpoint identifier type for the device in the third-party environment that the trunk connects to: FQDN (default), IPv4 address, or DNS SRV record [1].
Note: Selecting the correct region in terms of geographical proximity to the physical deployment is important, as it directly affects latency and call quality
Note: Talkdesk uses this value to establish a TLS connection to the peer and as the host portion for SIP requests generated from Talkdesk. Admins can optionally override the target host used for signaling.
- Configure an Access Control List (ACL) [2] to restrict the source IP address or network range from which SIP traffic will be admitted.
- Optionally, enable SIP OPTIONS monitoring to continuously verify trunk health and endpoint availability.
SIP OPTIONS Monitoring
This feature uses the SIP OPTIONS method to send periodic keepalive probes to the peer device and confirm the trunk is reachable. Ensure SIP OPTIONS is also enabled on the peer device, since this affects monitoring accuracy.
- Enable [1]: Toggles keepalive and capability query behavior on or off.
- Email Notifications [2]: At least one email address that receives alerts when the trunk or an endpoint fails. Admins press Enter or Space to add more than one address.
- OPTIONS Interval [3]: The frequency, in seconds, at which keepalive probes are sent. Default: 60 seconds.
- Acceptable Response Codes [4]: Defines which SIP responses count as a healthy endpoint, for example, any SIP response (4xx–6xx) or specific codes only. Default: any SIP response.
- Consecutive Failures Before Marking Trunk Down [5]: The number of missed responses required before the trunk is flagged offline. Default: 3.
- Consecutive Successes Before Marking Trunk Up [6]: The number of successful probe responses required to restore the trunk to operational status. Default: 1.
Security and Authentication
Talkdesk uses a security-by-default approach: Signaling is always encrypted over TLS, and media is always encrypted using SRTP. TLS connection setup requires certificate-based authentication, and Talkdesk strictly enforces the configured TLS version on all incoming and outgoing connection attempts.
- Select the TLS version:1.2 or 1.3 [1].
- Select the SRTP cipher [2].
- Under “Certificates" [3], review the following:
- Outbound connections (Talkdesk to the third-party network): The certificate chain presented by the third-party network must resolve to a well-known Certificate Authority (CA). The third-party network must present all identity and intermediate certificates up to the root CA during the TLS handshake.
- Inbound connections (the third-party network to Talkdesk): Admins download the CA certificate used to sign Talkdesk's identity and intermediate certificates. Some third-party devices, such as SBCs, require this certificate to be preconfigured before they can authenticate Talkdesk.
Advanced Settings
- Under “Media settings” [1], select the audio codec: PCMA (G.711 A-law), PCMU (G.711 μ-law), or both. At least one codec must be selected.
- Under “Header extensions” [2], configure the following as needed:
- Calling number presentation preference: When enabled, the E.164-formatted calling number is presented in outbound requests.
- Remote-Party-ID (RPID): Controls whether the RPID header is included in outbound INVITE and OPTIONS messages.
- P-Asserted-Identity (PAID): Controls whether the PAID header is included in outbound SIP messages.
- Display name handling: Select Passthrough to forward the originating display name as-is, or Override to specify a custom display name (up to 50 characters) for all outgoing requests. When using Override, Admins must enter a valid SIP URI user portion, up to 50 characters.
Configuring Call Routing
Call routing for SIP Interconnect relies on Call Patterns configured on the Talkdesk Voice Platform.
Outbound Call Routing
- Navigate to Admin [1] > Call Patterns [2] > Custom Pattern [3] and click Create pattern [4].
- Enter a dial string sequence [5] (for example, 5XXX, +91*, or 345XX), optionally enter a description [6], and select SIP Trunk from the “Type” drop-down [7]. Select a primary SIP trunk [8].
- Assign the pattern to a Site, user, or device so end users and devices gain access to route calls over the trunk.
Note: Failover routing is coming soon, allowing Admins to select secondary and tertiary trunks for added routing resilience.
Inbound Call Routing
- On the third-party environment, configure all dialog-forming SIP requests sent to Talkdesk (SIP INVITE and SIP OPTIONS) to include the unique Talkdesk-generated trunk identifier, visible in the trunk's Basic Information section. This identifier must be presented as either a Request-URI parameter or a custom header.
Note: Formatting all inbound requests with the trunk identifier is a mandatory requirement. This identifier can be presented on SIP requests sent to Talkdesk in one of the following forms:
a) A Request URI parameter.
b) A custom header.
Below are examples of either scenario:
Unique identifier as a Request URI parameter
INVITE sip:+15551234567@us.peering.sip.talkdeskapp.com;transport=tls;trunk-id=35386492-b106-4bf0-92ae-4c4d2adca5a9 SIP/2.0
Via: SIP/2.0/TLS 192.0.2.1:5061;branch=z9hG4bK77ef4c2312983
Max-Forwards: 70
From: <sip:+15550000001@192.0.2.1>;tag=9fxced76sl
To: <sip:+15551234567@us.peering.sip.talkdeskapp.com>
Call-ID: 3848276298220188511@192.0.2.1
CSeq: 1 INVITE
Contact: <sip:+15550000001@192.0.2.1:5061;transport=tls>
Content-Type: application/sdp
Content-Length: 0
Unique identifier as a custom header
INVITE sip:+15551234567@us.peering.sip.talkdeskapp.com;transport=tls SIP/2.0
Via: SIP/2.0/TLS 192.0.2.1:5061;branch=z9hG4bK77ef4c2312983
Max-Forwards: 70
From: <sip:+15550000001@192.0.2.1>;tag=9fxced76sl
To: <sip:+15551234567@us.peering.sip.talkdeskapp.com>
Call-ID: 3848276298220188511@192.0.2.1
CSeq: 1 INVITE
Contact: <sip:+15550000001@192.0.2.1:5061;transport=tls>
X-Trunk-Id: 35386492-b106-4bf0-92ae-4c4d2adca5a9
Content-Type: application/sdp
Content-Length: 0
- On the SIP trunk's Patterns tab, assign the Number Manipulation and Custom Patterns that should apply to incoming calls. Incoming numbers are checked, in order, against Number Manipulation Patterns, extensions, Custom Patterns, and finally PSTN dialing.
For example, a trunk configured with a Number Manipulation pattern of +1408* (Replace, value ${1}) and a Custom Pattern of +1* (Blocked) processes an incoming call from +14085550192 as follows: the Number Manipulation pattern strips the +1408 prefix, producing 5550192; that value no longer matches +1*, so the Blocked Custom Pattern does not apply, and the call proceeds. A call from +16505550100 does not match the Number Manipulation pattern, so it reaches the Custom Pattern step unchanged, matches +1*, and is blocked.
Setting Up a Microsoft Teams SIP Trunk
Admins set up SIP trunking with a Microsoft Teams environment to enable calling between Talkdesk and Microsoft Teams. After selecting Microsoft Teams as the trunk type, Admins select the call routing option that matches their deployment: Direct Routing or Carrier Routing.
Note: Currently, only Microsoft Direct Routing calls are supported through this setup flow. Carrier Routing requires the involvement of Talkdesk Customer Care.
Basic Information
- Enter a trunk-friendly name [1].
- Select the region physically closest to the telephony deployment [2].
- Optionally, enter a description for the trunk [3].
DNS Setup
-
On the DNS Setup tab, copy the Primary domain name and Secondary domain name that Talkdesk generates for the selected region.
-
In the Microsoft Teams Admin Center, navigate to Settings > Domains.
- Click Add domain.
3.1. On the “Add a domain” page in the Microsoft Teams Admin Center, paste the “Primary domain” copied from the Talkdesk “DNS Setup” tab into the “Domain name” field.
3.2. Click Use this domain.
3.3. Under the “Verify your domain” section in the Microsoft Teams Admin Center, select the “Add a TXT record to the domain's DNS records” option. Then click Continue.
3.4. Copy the TXT record value and Time to Live (TTL) that the Microsoft Teams Admin Center generates.
3.5. Return to the Talkdesk DNS Setup tab, enter the TXT record value and TTL in the Primary domain field, and click Done. Repeat this process for the Secondary domain.
- In the Microsoft Teams Admin Center, click Verify on the “Add a record” to verify ownership page. Verification can take up to 10 minutes.
- Repeat this entire procedure once for each Talkdesk region the account operates in.
Note: Completion of the domain setup process is determined solely by successful verification within the Microsoft Teams Admin Center; Talkdesk does not display a separate domain verification status.
Configuring Direct Routing on the Talkdesk side enables calling from Talkdesk to Microsoft Teams. It does not, by itself, route calls in the other direction. To enable calling from Microsoft Teams to Talkdesk, the customer's Microsoft Teams administrator configures PSTN usage, voice routes, and voice routing policies in the Microsoft 365 tenant so that Talkdesk numbers route through the Direct Routing trunk instead of the PSTN. We recommend completing this configuration together with Talkdesk as part of onboarding.
Verifying the Setup
- Navigate to Admin [1] > SIP Trunking [2] and confirm the trunk status [3] shows as reachable.
- Place a test outbound call over a Custom Pattern associated with the trunk and confirm it connects.
- Place a test inbound call from the third-party environment and confirm it routes to the expected extension, Custom Pattern, or PSTN destination.
Peering Requirements and FAQs
- Inbound call routing: All inbound call requests sent to Talkdesk must include the Talkdesk-generated trunk identifier.
- SIP trunk definition: A SIP trunk represents a single destination transport address (IP, FQDN, or DNS SRV) configured in the Network Endpoints section. Admins set up a separate trunk for each unique transport address.
- Connection management: Talkdesk recommends configuring the enterprise peering infrastructure, such as an SBC, to use SIP connection reuse.
Microsoft Teams SIP Trunking FAQs
- Does SIP Trunking affect PSTN calling? No. SIP Trunking determines how voice traffic routes between Talkdesk, Microsoft Teams, and the configured carrier. Existing PSTN calling continues to operate according to the selected routing model.
- Can the routing model be changed later? Yes, at any time. Switching to or from Carrier Routing requires contacting the Customer Success Manager (CSM), since additional carrier trunk provisioning is required.
- Why doesn't the Microsoft Teams option appear when creating a SIP trunk? Confirm the account has the Microsoft Teams SIP Interconnect entitlement and that a default Site is configured. If both prerequisites are met and the option is still unavailable, contact Talkdesk Support.
- What happens if a Microsoft Teams user's number is removed from the Colleagues directory? Calls automatically fall back to the PSTN instead of failing. These calls are treated as OffNet calls and may incur applicable PSTN charges.
List of Supported Certificate Authorities (CAs)
- GlobalSign Root E46
- GlobalSign Root R46
- QuoVadis Root CA 2 G3
- QuoVadis Root CA 3 G3
- CFCA EV ROOT
- GDCA TrustAUTH R5 ROOT
- Telia Root CA v2
- Atos TrustedRoot 2011
- Atos TrustedRoot Root CA ECC TLS 2021
- Atos TrustedRoot Root CA RSA TLS 2021
- D-TRUST Root Class 3 CA 2 2009
- D-TRUST Root Class 3 CA 2 EV 2009
- T-TeleSec GlobalRoot Class 2
- T-TeleSec GlobalRoot Class 3
- HARICA TLS ECC Root CA 2021
- HARICA TLS RSA Root CA 2021
- Hellenic Academic and Research Institutions RootCA 2015
- Hongkong Post Root CA 3
- Microsec e-Szigno Root CA 2009
- NetLock Arany (Class Gold) Főtanúsítvány
- Actalis Authentication Root CA
- Security Communication RootCA2
- Buypass Class 2 Root CA
- Buypass Class 3 Root CA
- Certum EC-384 CA
- Certum Trusted Network CA
- Certum Trusted Network CA 2
- Certum Trusted Root CA
- certSIGN ROOT CA G2
- CA Disig Root R2
- NAVER Global Root Certification Authority
- AC RAIZ FNMT-RCM
- ACCVRAIZ1
- Izenpe.com
- OISTE WISeKey Global Root GB CA
- OISTE WISeKey Global Root GC CA
- HiPKI Root CA - G1
- TWCA Global Root CA
- ePKI Root Certification Authority
- TUBITAK Kamu SM SSL Kok Sertifikasi - Surum 1
- COMODO ECC Certification Authority
- COMODO RSA Certification Authority
- Sectigo Public Server Authentication Root E46
- Sectigo Public Server Authentication Root R46
- Amazon Root CA 1
- Amazon Root CA 2
- Amazon Root CA 3
- Amazon Root CA 4
- DigiCert Assured ID Root G2
- DigiCert Assured ID Root G3
- DigiCert Global Root G2
- DigiCert Global Root G3
- DigiCert Trusted Root G4
- GTS Root R1
- GTS Root R3
- GTS Root R4
- Go Daddy Root Certificate Authority - G2
- ISRG Root X1
- ISRG Root X2
- IdenTrust Commercial Root CA 1
- Microsoft ECC Root Certificate Authority 2017
- Microsoft RSA Root Certificate Authority 2017
- SSL.com EV Root Certification Authority ECC
- SSL.com EV Root Certification Authority RSA R2
- SSL.com Root Certification Authority ECC
- SSL.com Root Certification Authority RSA
- SSL.com TLS ECC Root CA 2022
- SSL.com TLS RSA Root CA 2022
- Starfield Root Certificate Authority - G2
- Starfield Services Root Certificate Authority - G2
- USERTrust ECC Certification Authority
- USERTrust RSA Certification Authority
- GlobalSign ECC Root CA - R4
- GlobalSign ECC Root CA - R5
- GlobalSign Root CA - R3
- GlobalSign Root CA - R6
Resources
For more information, see Talkdesk Voice Settings: SIP Devices in this article.