# ElevenLabs

Use **ElevenAgents** by [ElevenLabs](https://elevenlabs.io/) with **DIDWW SIP Trunking** to create, deploy, and scale
**AI-powered conversational agents**.
Connect DIDWW SIP trunks to ElevenAgents to route incoming calls, place outbound calls, and deliver natural
conversations over standard phone lines.

- Route incoming calls from DIDWW numbers to ElevenAgents.
- Connect callers to AI voice agents for real-time conversations.
- Import existing DIDWW numbers into ElevenLabs.

- Place outbound calls through DIDWW Outbound Trunks.
- Transfer active calls from AI agents to live people.
- Assign ElevenAgents Voice Agents to individual DIDWW numbers.

---

## 1. Route Incoming Calls to ElevenAgents

Configure an Inbound SIP Trunk in the DIDWW User Panel to send incoming calls from your DIDWW numbers to ElevenAgents.
This trunk defines the SIP path that delivers calls to your ElevenAgents Voice Agent.

### Before You Begin

> - An active DIDWW account is required. [Sign in to DIDWW](https://my.didww.com/users/sign_in) or [Create DIDWW account](https://my.didww.com/users/sign_up#/users/sign_up).
> - At least one active **DID number** with capacity to receive incoming calls is required. [Buy Numbers](https://my.didww.com/users/sign_up#/coverage).

### Step 1: Create New SIP Trunk

> 1. In the [DIDWW User Panel](https://my.didww.com/#/trunks), go to **Voice > Inbound Trunks**.
> 2. Click **Create New > SIP Trunk**.

[![Creating a new inbound SIP trunk](../../_images/inbound1.png)](../../_images/inbound1.png)


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. In the **General** tab, enter a descriptive **Name** for the trunk (e.g., `ElevenLabs`).
> 2. Select **Static Endpoint**.
> 3. Enter the ElevenLabs SIP endpoint hostname in **Host**. 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.
> 4. In **Transport**, select **TCP**, **UDP**, or **TLS**.
> 5. In **Port**, enter the port that corresponds to the selected transport:
>
>    - `5060` for **TCP** or **UDP**
>    - `5061` for **TLS**

Important

- ElevenLabs enterprise accounts can use static SIP host domains. For details, see the [ElevenLabs SIP Trunking documentation](https://elevenlabs.io/docs/agents-platform/phone-numbers/sip-trunking).

[![SIP trunk configured with TCP transport](../../_images/generalsettings.png)](../../_images/generalsettings.png)


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. Open the **Authorization** tab.
> 2. Turn on **Enable Authorization**.
> 3. Enter the authentication details:
>
>    - **Auth User** - The username provided by your system.
>    - **Auth Password** - The corresponding password.
>
> [![Authentication settings for inbound SIP trunk](../../_images/inbound4.png)](../../_images/inbound4.png)
>
>
> Fig. 3. Authentication settings for inbound SIP trunk

### Step 4: Configure SRTP (Optional)

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

> 1. Open the **Media & DTMF** tab.
> 2. In **SRTP Mode**, 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.
>    > - **SRTP ZRTP** - Uses the ZRTP key agreement protocol.
>
> [![SRTP Mode settings for inbound SIP trunk](../../_images/inbound5.png)](../../_images/inbound5.png)
>
>
> Fig. 4. SRTP Mode 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](../../voice/inbound-trunks/creating-a-new-sip-trunk.html#user-panel-sipin-trunk-advanced-configuration).

[![Inbound SIP trunk created](../../_images/inbound6.png)](../../_images/inbound6.png)


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](../../_images/inbound7.png)](../../_images/inbound7.png)
>
>
> Fig. 6. Selecting **Update Trunks** from the Batch Actions menu
>
> 4. From the dropdown menu, choose the **ElevenLabs SIP trunk** you created earlier.
> 5. Click **Confirm** to apply the changes.
>
> [![Assigning a SIP trunk to DID numbers](../../_images/inbound8.png)](../../_images/inbound8.png)
>
>
> Fig. 7. Assigning the newly created SIP trunk to the selected DID(s)

---

## 2. Enable Outbound Calling from ElevenAgents Through DIDWW

Configure an Outbound SIP Trunk in the DIDWW User Panel to allow ElevenAgents to place outbound calls through DIDWW.
This trunk provides the SIP credentials and routing settings required for outbound calls to external phone numbers.

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](https://elevenlabs.io/docs/agents-platform/legal/tcpa#types-of-consent-required).

### Before You Begin

Access to **DIDWW Outbound Trunks** is required for making outbound calls. See [Get Access to DIDWW Outbound
Termination](../../voice/outbound-trunks/get-access.html#user-panel-voice-out-get-access).

### Step 1: Create New Outbound Voice Trunk

1. In the [DIDWW User Panel](https://my.didww.com/#/trunks), go to **Voice > Outbound Trunks**.
2. Click **Create New**.

[![Creating a new outbound SIP trunk](../../_images/outbound1.png)](../../_images/outbound1.png)


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](https://elevenlabs.io/docs/agents-platform/phone-numbers/sip-trunking)

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](../../_images/outbound2.1.png)](../../_images/outbound2.1.png)


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](../../_images/outbound3.png)](../../_images/outbound3.png)
>
>
> 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](../../voice/outbound-trunks/how-to-guides/index.html#outbound-trunk-create).

[![Outbound SIP trunk created](../../_images/outbound4.png)](../../_images/outbound4.png)


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](#elevenlabs-configure-outbound-settings) for details.

[![Accessing outbound trunk credentials](../../_images/outbound5.png)](../../_images/outbound5.png)


Fig. 12. Opening the outbound trunk credentials view



---

## 3. Connect DIDWW Numbers to ElevenAgents

Connect your DIDWW phone numbers to ElevenAgents by configuring the DIDWW SIP trunking details inside ElevenLabs.
This setup imports your existing DIDWW numbers and assigns an ElevenAgents Voice Agent to handle incoming and outgoing
calls.

Note

For more information, see the official ElevenLabs [SIP Trunking
Guide](https://elevenlabs.io/docs/agents-platform/phone-numbers/sip-trunking).

### Before You Begin

> - An **ElevenLabs account** with available credits is required to process voice calls through AI agents. [Sign in to ElevenLabs](https://elevenlabs.io/app/sign-in) or [Create ElevenLabs account](https://elevenlabs.io/sign-up) to get started.
> - An active **AI Voice Agent** is required in ElevenAgents. See the [Assistant Setup Guide](https://elevenlabs.io/docs/agents-platform/quickstart#assistant-setup) 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](https://elevenlabs.io/app/agents), open the **Phone Numbers** menu.
> 2. Click **Import number** and select **From SIP Trunk**.

[![Importing a phone number from a SIP trunk](../../_images/elevenlabs1.png)](../../_images/elevenlabs1.png)


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](../../_images/elevenlabs2.png)](../../_images/elevenlabs2.png)


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](#elevenlabs-create-inbound-trunk-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](#elevenlabs-create-inbound-trunk-authentication).

[![Inbound SIP trunk configuration](../../_images/elevenlabs3.png)](../../_images/elevenlabs3.png)


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](../../voice/outbound-trunks/outbound-sip-information.html#voice-out-signaling-endpoints)).
> 2. Select **Transport Type** - **TCP** 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](#elevenlabs-create-outbound-trunk-media-encryption).
> 4. Enter the **Username** and **Password** copied from [Create Outbound SIP Trunk - Step 5: View Outbound Trunk Credentials](#elevenlabs-create-outbound-trunk-copy-credentials).

[![Outbound SIP trunk configuration](../../_images/elevenlabs4.png)](../../_images/elevenlabs4.png)


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](../../_images/elevenlabs5.png)](../../_images/elevenlabs5.png)


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](https://elevenlabs.io/docs/agents-platform/quickstart).

[![Assigning a Voice Agent to the imported phone number](../../_images/elevenlabs6.png)](../../_images/elevenlabs6.png)


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](../../logs-analytics/call-logs/inbound-logs.html#inbound-cdr-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](ai-to-liveagent-call-transfers.html#elevenlabs-use-cases-transfer)

On this page
