ElevenLabs Integration
This guide walks you through connecting your Bandwidth phone numbers to an ElevenLabs hosted voice agent. This integration conforms to a bring-your-own-carrier (BYOC) architecture where SIP trunking is used to connect Bandwidth and ElevenLabs on your behalf. Once you're set up, your ElevenLabs agent can place outbound calls and answer inbound calls using your Bandwidth numbers and network.
This is a verified integration meaning that Bandwidth has built and tested the integration conformant to the documentation provided herein. This integration is enabled via configuration. No development is required.
This verified integration is only supported for accounts on the Bandwidth Universal Platform. Integrations on the legacy platform are not verified and supported best effort only.
Before you start
Customers with access to our signature support plan or higher can request support-assisted integration with ElevenLabs. If you have a free-trial or Build account, you can follow the steps below to configure the integration yourself.
- Support-Assisted
- Self-Service
What you'll need:
- A Bandwidth Universal Platform account with ElevenLabs interconnect capability. To enable it, open a ticket with your account representative. Include the Bandwidth admin user who will configure this integration. Be sure to indicate that you want an ElevenLabs integration.
- An ElevenLabs account with an Agent you want to answer calls
What you'll need:
- A Bandwidth Universal Platform account with:
- SIP trunking and SIP authentication (sip-auth) enabled on your account
- At least one phone number
- Administrator access to the Bandwidth App (to create Voice Configuration Packages and SIP credentials)
- An ElevenLabs account with an Agent you want to answer calls
Calling Features Supported
- Inbound calls to your agent
- Outbound calls from your agent
- Calls redirected from your agent
Configure Bandwidth
Configure inbound calls
To send inbound calls to your ElevenLabs agent, create a Voice Configuration Package (VCP) in Bandwidth that routes your number to ElevenLabs' SIP domain.
For full details on VCPs, see Managing Voice Configuration Packages. Otherwise, follow the steps below.
Create the VCP
- In the Bandwidth App, go to Service Management → Voice Configuration and click Add Package.
- Enter a Package name (for example,
ElevenLabs) and an optional description. - Under Routing, create the Primary route and click Add endpoint.
- Set the endpoint type to Route to domain name and enter ElevenLabs' domain:
sip.rtc.elevenlabs.io - Click Create Package.
sip.rtc.elevenlabs.io is ElevenLabs' default SIP endpoint. If ElevenLabs has assigned you a regional or static SIP endpoint, use that FQDN instead — confirm the correct value in the ElevenLabs Bandwidth guide for your account.
If your account has more than one trunk, click + Optional attributes on the Primary route and set Trunk group to your ElevenLabs trunk.
When you're done, your routing should look like this:

Assign your number to the VCP
- In the Bandwidth App, open the phone number you want your ElevenLabs agent to answer.
- In the Voice configuration package drop-down menu, select the VCP you just created, and click Save.
Inbound calls to that number now route to your ElevenLabs agent.

You may add multiple numbers to your VCP and calls to those numbers will route to ElevenLabs. Within ElevenLabs you can assign those numbers to the same agent or different agents.
Configure outbound calls
ElevenLabs authenticates outbound calls using credentials you define on your SIP realm. Complete this section if you plan to place outbound calls.
Create your Bandwidth SIP Endpoint
The Bandwidth SIP Endpoint is the address ElevenLabs sends outbound calls to: a fully qualified domain name (FQDN) plus a port.
<hostname>.auth.bandwidth.com:port
The FQDN hostname is actually comprised of two parts: 1) a realm name you create, and 2) a Bandwidth supplied part:
<your realm name>-<bandwidthpart>.auth.bandwidth.com
Bandwidth creates the FQDN when you define a SIP realm.
-
In the Bandwidth App, go to Account → SIP Credentials → Manage Realms and click Add to create a realm.
- If your account has more than one trunk, select your ElevenLabs trunk in Trunk group.
- Give the realm a name (e.g.
elevenlabs) and an optional description. - Bandwidth creates the FQDN for the realm. Copy the FQDN exactly as it appears in the Bandwidth App. You'll combine it with the port from the next step to form your SIP Endpoint.
- For example, if your realm name is
elevenlabs, the FQDN will look likeelevenlabs-b3cde1.auth.bandwidth.com.

-
In order to complete the SIP Endpoint definition you will need to discover the port number assigned. Go to Trunk Group Configurations in the Bandwidth App and note the port assigned to your trunk group. You'll combine this with the FQDN when completing setup in ElevenLabs.

For example, a complete SIP Endpoint looks like elevenlabs-b3cde1.auth.bandwidth.com:5833.
Create your SIP credentials
- Go to Account → SIP Credentials and click Add to create a credential.
- Enter a Username and Password.
- Select the realm you created when you created your SIP Endpoint.
- Save. ElevenLabs uses these credentials to authenticate your outbound calls.
Configure ElevenLabs
With Bandwidth configured, import the number into ElevenLabs using its SIP trunking flow. Follow the ElevenLabs Bandwidth guide and supply:
- Phone number in E.164 format, with a leading
+(e.g.+19195551234). - Port: the port assigned to your trunk group. This is the same port you noted from the Trunk Group Configurations page in Create your Bandwidth SIP Endpoint — for example,
elevenlabs-b3cde1.auth.bandwidth.com:5833. - Transport Type: TLS.
- Media Encryption: Allowed.
- From Header Domain:
default. - Enabled Codecs: PCMU.
- Authentication: enable the toggle.
- SIP Trunk Username: the username you created in Configure outbound calls.
- SIP Trunk Password: the password you created in Configure outbound calls.
When you're done, your trunk configuration should look like this:

Once the number is imported, assign your Agent to it in the ElevenLabs dashboard. Inbound calls to the number will now be answered by your agent, and the agent can place outbound calls through Bandwidth.
If you provision your ElevenLabs agent to transfer calls, select SIP REFER as the transfer mechanism and SIP URI as the destination type — for example, sip:+12115556700@bandwidth.com.
Troubleshooting
| Symptom | Likely cause | What to check |
|---|---|---|
| Inbound calls don't reach the agent | Voice Configuration Package misrouted | Confirm the package uses Route to Domain Name with FQDN sip.rtc.elevenlabs.io (or your assigned regional endpoint), and that the number is assigned to that package. |
Outbound calls rejected with 403/407 | SIP credential or realm mismatch | Verify the ElevenLabs Address matches your Bandwidth realm hostname and trunk group port exactly, and that the username and password match the credential you created against that realm. |
| Address not accepted by ElevenLabs | Wrong address format | Enter the realm hostname followed by your trunk group port — for example elevenlabs-b3cde1.auth.bandwidth.com:5833. No sip: prefix and no other reformatting; copy the hostname verbatim from the Bandwidth App. |
| Call connects but no audio (one-way or dead air) | Transport, port, codec, or media-encryption mismatch | Confirm Transport Protocol is TLS, that the port in the Address matches the port assigned to your trunk group, that Media Encryption is Allowed, and that Enabled Codecs includes PCMU. |
| Intermittent routing failures | Using the wrong SIP endpoint | If ElevenLabs assigned you a regional or static endpoint, use that FQDN rather than the default sip.rtc.elevenlabs.io. |
Resources
- Create a Voice Configuration Package — Bandwidth
- How to set up SIP Registration — Bandwidth SIP credentials and realms
- ElevenLabs Bandwidth SIP trunking guide — ElevenLabs