ElevenLabs#

Use ElevenAgents by ElevenLabs with DIDWW SIP Trunking to create, deploy, and scale AI-powered conversational agents. Connect your DIDWW SIP trunks with ElevenAgents to enable seamless, intelligent voice interactions, manage inbound and outbound calls, and deliver natural conversations over standard phone lines.

  • Connect callers to AI agents for real-time assistance.

  • Automate greetings and route calls seamlessly.

  • Replace outdated IVR menus with natural conversations.

  • Scale voice automation globally with DIDWW SIP trunking.

  • Extend chatbots to voice for a unified experience.

  • Transfer calls from AI agents to live people.



1. Create Inbound SIP Trunk#

To begin connecting your DIDWW account with ElevenAgents, first create an Inbound SIP Trunk. This trunk will establish the path for incoming calls from your DIDWW numbers to reach ElevenAgents.


Before You Begin#


Step 1: Create New SIP Trunk#

  1. In the DIDWW User Panel , go to Voice > Inbound Trunks.

  2. Click Create New > SIP Trunk.

Creating a new inbound SIP trunk

Fig. 1. Creating a new inbound SIP trunk#

Step 2: Configure General SIP Trunk Settings#

In the Create Inbound SIP Trunk form, enter the main requirements to route the calls to ElevenAgents.

  1. Enter a descriptive Friendly Name for the trunk (e.g., ElevenLabs).

  2. Enter the ElevenLabs SIP endpoint hostname. For most accounts, this is sip.rtc.elevenlabs.io. If your account uses a different region or environment, check your ElevenLabs dashboard or documentation to confirm the correct host.

  3. Select Transport Protocol Type and Port for SIP signaling: TCP/UDP (Port 5060) or TLS (Port 5061).

Important

SIP trunk configured with TCP transport

Fig. 2. SIP trunk configured with TCP transport and Port 5060#

Step 3: Configure Authentication (Optional)#

Inbound SIP trunk authentication is optional. Enable it only if your setup requires username and password verification for inbound SIP calls.

  1. Expand the Authentication section in the configuration form.

  2. Turn on the Enable Authorization toggle to activate authentication.

  3. Enter the authentication details:

    • Auth user – The username provided by your system.

    • Auth password – The corresponding password.

Authentication settings for inbound SIP trunk

Fig. 3. Authentication settings for inbound SIP trunk#

Step 4: Configure Media Encryption (Optional)#

Media encryption (SRTP) is optional. This feature improves security by encrypting RTP traffic.

  1. Expand the Media & DTMF configuration section in the configuration form.

  2. In the Media Encryption field, choose the preferred SRTP method from the list:

    • SRTP SDES – Uses Session Description Protocol Security Descriptions.

    • SRTP DTLS – Uses Datagram Transport Layer Security for key negotiation.

    • ZRTP – Uses ZRTP key agreement protocol.

Media encryption settings for inbound SIP trunk

Fig. 4. Media encryption settings for inbound SIP trunk#

Step 5: Click Create and Save Inbound SIP Trunk Configuration#

When all required fields in the Create Inbound SIP Trunk are filled, click Create to save your inbound SIP trunk.

Note

For advanced SIP trunk configuration, see Advanced Inbound SIP Trunk documentation.

Inbound SIP trunk created

Fig. 5. Create the Inbound SIP Trunk#

Step 6: Assign Inbound SIP Trunk to Your DID Numbers#

After creating the Inbound SIP Trunk for ElevenAgents, assign it to the DID number(s) that will deliver incoming calls to your ElevenAgents Voice Agent.

  1. In the DIDWW User Panel, go to Phone Numbers > My Numbers.

  2. Select the DID number(s) you want to assign to the inbound SIP trunk.

  3. At the bottom of the page, click Batch Actions > Update Trunks.

Assigning a SIP trunk to DID numbers

Fig. 6. Selecting Update Trunks from the Batch Actions menu#

  1. From the dropdown menu, choose the ElevenLabs SIP trunk you created earlier.

  2. Click Confirm to apply the changes.

Assigning a SIP trunk to DID numbers

Fig. 7. Assigning the newly created SIP trunk to the selected DID(s)#



2. Create Outbound SIP Trunk#

To configure outbound calling from ElevenAgents, create an Outbound SIP Trunk in the DIDWW User Panel. This setup enables ElevenAgents to place outbound calls through DIDWW to external phone numbers when required.

Important

When configuring outbound calling with AI agents, ensure compliance with the Telephone Consumer Protection Act (TCPA) and related regulations.
For details on consent types and legal requirements, refer to the official ElevenLabs TCPA Compliance Guide .


Before You Begin#


Step 1: Create New Outbound Voice Trunk#

  1. In the DIDWW User Panel , go to Voice > Outbound Trunks.

  2. Click Create New.

Creating a new outbound SIP trunk

Fig. 8. Creating a new outbound SIP trunk#

Step 2: Configure Authentication#

  1. Update the Friendly Name (e.g., ElevenLabs).

  2. Keep the default Credentials & IP-based authentication method selected. The SIP digest credentials (username and password) will be provided after the trunk is created.

  3. In Allowed SIP IP addresses, enter the public IP address or subnet from which ElevenLabs will send outbound SIP traffic.

Note

ElevenLabs SIP traffic originates from IP ranges that may vary depending on your plan or region.
Refer to the official ElevenLabs documentation for the most up-to-date information: ElevenLabs SIP Trunking IP Information

Warning

You can allow all traffic by adding 0.0.0.0/0, which removes all IP restrictions.
Although SIP Digest Authentication will still verify requests using valid credentials, this setup is not recommended.
Restrict access to known ElevenLabs IPs whenever possible.

Configuring allowed SIP IP addresses for outbound trunk authentication

Fig. 9. Entering allowed SIP IP addresses for outbound authentication#

Step 3: Configure Media Encryption (Optional)#

Media encryption (SRTP) is optional. This feature improves security by encrypting RTP traffic.

  1. Expand the Media configuration section in the configuration form.

  2. In the Media encryption mode field, choose the preferred SRTP method from the list:

    • SRTP SDES – Uses Session Description Protocol Security Descriptions.

    • SRTP DTLS – Uses Datagram Transport Layer Security for key negotiation.

    • ZRTP – Uses ZRTP key agreement protocol.

Media encryption settings for outbound SIP trunk

Fig. 10. Media encryption settings for outbound SIP trunk#

Step 4: Click Create and Save Outbound SIP Trunk Configuration#

When all required fields in the Create Outbound SIP Trunk are filled, click Create to save your outbound SIP trunk.

Note

For advanced outbound SIP trunk configuration, see Outbound SIP Trunk Guide.

Outbound SIP trunk created

Fig. 11. Outbound SIP trunk created and ready for use#

Step 5: View Outbound Trunk Credentials#

When outbound trunk is created you can view its credentials by selecting the key icon in the Credentials column on the Outbound Trunks page.

  1. Go to Voice > Outbound Trunks.

  2. Locate your outbound trunk and click the key icon in the Credentials column.

  3. The trunk credentials will appear, showing the Username and Password (click the eye icon to reveal the password).

  4. Enter these credentials in the Outbound Configuration section of your ElevenAgents phone number. See Configure Outbound Settings for details.

Accessing outbound trunk credentials

Fig. 12. Opening the outbound trunk credentials view#



3. Connect Numbers to ElevenAgents#

To connect your DIDWW phone numbers with ElevenAgents, you’ll configure the DIDWW SIP trunking details inside ElevenAgents. This setup imports your existing DID numbers and assigns an AI Voice Agent to handle both incoming and outgoing calls.

Note

For more information, see the official ElevenLabs SIP Trunking Guide .


Before You Begin#

  • An ElevenLabs account with available credits is required to process voice calls through AI agents. Sign in to ElevenLabs or Create ElevenLabs account to get started.

  • An active AI Voice Agent is required in ElevenAgents. See the Assistant Setup Guide for instructions.

  • The AI Voice Agent must be published and live before it can receive calls or perform actions such as call transfers.


Step 1: Import Number From SIP Trunk#

  1. In the ElevenLabs User Panel , navigate to Telephony > Phone Numbers.

  2. Click Import number and select From SIP Trunk.

Importing a phone number from a SIP trunk

Fig. 13. Starting number import from a SIP trunk#

Step 2: Enter Your Phone Number#

  1. Update the Label (e.g., DIDWW Phone Number).

  2. Paste your Phone Number in E.164 format without the + symbol (e.g., 12132214943).

Note

ElevenLabs requires phone numbers to be globally unique across all workspaces.
If a phone number (DID) was previously registered in ElevenLabs by another user, it cannot be registered again, even if it has been reassigned to a new customer.
This limitation is enforced by ElevenLabs and cannot be controlled or verified by DIDWW.

Adding label and phone number

Fig. 14. Defining the DIDWW phone number details#

Step 3: Configure Inbound Settings#

These settings control how ElevenAgents handles incoming calls from your DIDWW numbers. Configure them to match your DIDWW Inbound SIP Trunk setup.

  1. Set Media Encryption to Allow, Disable, or Require, based on your settings in Create Inbound SIP Trunk – Step 4: Media Encryption.

  2. Enter the SIP Username and Password from your DIDWW trunk credentials, if SIP digest authentication was enabled during Create Inbound SIP Trunk - Step 3: Configure Authentication.

Inbound SIP trunk configuration

Fig. 15. Configuring inbound SIP settings#

Step 4: Configure Outbound Settings#

These settings define how ElevenAgents sends outbound SIP traffic to DIDWW. Configure them to match your DIDWW Outbound SIP Trunk setup.

  1. Enter the Address (DIDWW Outbound Trunk Signaling Endpoints).

  2. Select Transport TypeTCP or TLS, depending on your setup.

  3. Set Media Encryption to Allow, Disable, or Require, based on your configuration in Create Outbound SIP Trunk – Step 3: Media Encryption.

  4. Enter the Username and Password copied from Create Outbound SIP Trunk – Step 5: View Outbound Trunk Credentials.

Outbound SIP trunk configuration

Fig. 16. Configuring outbound SIP settings#

Step 5: Import Your Phone Number#

When the main phone number configuration is complete, click Import to add your DIDWW number to ElevenAgents.

Note

To receive inbound calls, you only need to enter your DIDWW phone number.

Completed SIP trunk configuration

Fig. 17. Successfully imported phone number and activated SIP trunk#

Step 6: Assign Voice Agent#

To complete the setup, assign an existing ElevenAgents Voice Agent to your imported DIDWW phone number. When someone calls your DID number, this agent will answer and manage the conversation.

  1. Open the Edit page for your imported phone number in the Phone Numbers section (click the number to open it).

  2. In the Agent field, select the Voice Agent you want to handle inbound calls from the dropdown list.

Note

For more information on creating or managing agents, see the ElevenLabs Quickstart Guide .

Assigning a Voice Agent to the imported phone number

Fig. 18. Assigning a Voice Agent to handle calls from the DIDWW number#

Step 7: Make a Test Call to Your DIDWW Number#

Place a test call to your DIDWW phone number to confirm that inbound calls are correctly forwarded to the ElevenAgents SIP URI. The assigned Voice Agent should answer and handle the call.

Verify that SIP signaling, authentication, and media encryption (if enabled) are functioning as expected.

Note

You can review call activity and verify call status or error codes in the DIDWW Inbound Call Logs. See Inbound Call Logs for more details.


Additional Resources#

Configure AI-to-Live Agent Call Transfers

Step-by-step guide on setting up your ElevenAgents AI agent to transfer active calls to a live person using SIP REFER via DIDWW trunks.

Configure AI-to-Live Agent Call Transfers