Telnyx SIP trunking
Connect Telnyx SIP trunks with ElevenLabs Agents.
Overview
Section titled “Overview”This guide explains how to connect your Telnyx SIP trunks directly to ElevenLabs Agents. This integration allows you to use your existing Telnyx phone numbers and infrastructure while leveraging ElevenLabs’ advanced voice AI capabilities.
How SIP trunking with Telnyx works
Section titled “How SIP trunking with Telnyx works”SIP trunking establishes a direct connection between your Telnyx telephony infrastructure and the ElevenLabs platform:
- Inbound calls: Calls from your Telnyx SIP trunk are routed to the ElevenLabs platform using our origination URI. You will configure this in your Telnyx account.
- Outbound calls: Calls initiated by ElevenLabs are routed to your Telnyx SIP trunk using your termination URI, enabling your agents to make outgoing calls.
- Authentication: Connection security is maintained through either digest authentication (username/password) or Access Control List (ACL) authentication.
- Signaling and Media: The initial call setup (signaling) uses TCP. Once the call is established, the actual audio data (RTP stream) is transmitted over UDP.
Requirements
Section titled “Requirements”Before setting up the Telnyx SIP trunk integration, ensure you have:
- An active ElevenLabs account
- An active Telnyx account
- At least one phone number purchased or ported into your Telnyx account
- Administrator access to your Telnyx portal
- Appropriate firewall settings to allow SIP and RTP traffic
Creating a SIP trunk using the Telnyx UI
Section titled “Creating a SIP trunk using the Telnyx UI”Sign in to Telnyx
Log in to your Telnyx account at portal.telnyx.com.
Purchase a phone number
Navigate to the Numbers section and purchase a phone number that will be used with your ElevenLabs agent.
Create a SIP connection
Click on Create SIP Connection and choose FQDN as the connection type, then save.
Configure authentication
- In the Authentication & Routing Configuration section, select Outbound Calls Authentication.
- In the Authentication Method field, select Credentials and enter a username and password.
- Select Add FQDN and enter
sip.rtc.elevenlabs.iointo the FQDN field.
Configure inbound settings
- Select the Inbound tab.
- In the Destination Number Format field, select
+E.164. - For SIP Transport Protocol, select TCP.
- In the SIP Region field, select your region.
Configure outbound settings
- Select the Outbound tab.
- In the Outbound Voice Profile field, select or create an outbound voice profile.
Assign phone number
- Select the Numbers tab.
- Assign your purchased phone number to this SIP connection.