Retell AI

Use Retell AI voice agents with DIDWW SIP Trunking to handle inbound and outbound calling over standard phone lines. Connect your DIDWW SIP trunks with Retell AI to route incoming calls to AI agents, place outbound calls through DIDWW trunks, and manage voice conversations using your existing DIDWW phone numbers.

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

  • Route inbound calls from DIDWW numbers to Retell AI.

  • Import existing DIDWW numbers into your AI calling workflow.

  • Place outbound calls through DIDWW Outbound Trunks.

  • Scale voice automation globally with DIDWW SIP trunking.

  • Assign AI agents to individual phone numbers.

1. Create Inbound SIP Trunk

Deliver inbound calls from DIDWW DIDs to your Retell AI voice agent using SIP trunking.

1. Create Inbound SIP Trunk
2. Create Outbound SIP Trunk

Allow Retell AI to make outbound calls through DIDWW Outbound Trunks.

2. Create Outbound SIP Trunk
3. Connect Numbers to Retell AI

Import your DIDWW numbers into Retell AI, connect SIP trunks, and assign agents to handle calls.

3. Connect Numbers to Retell AI


1. Create Inbound SIP Trunk

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


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 Retell AI.

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

  2. Enter the Retell AI SIP endpoint hostname: sip.retellai.com.

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

SIP trunk configured for Retell AI

Fig. 2. SIP trunk configured for Retell AI

Step 3: 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. 3. Create the Inbound SIP Trunk

Step 4: Assign Inbound SIP Trunk to Your DID Numbers

After creating the Inbound SIP Trunk for Retell AI, assign it to the DID number(s) that will deliver incoming calls to your Retell AI 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. 4. Selecting Update Trunks from the Batch Actions menu

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

  2. Click Confirm to apply the changes.

Assigning a SIP trunk to DID numbers

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



2. Create Outbound SIP Trunk

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


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. 6. Creating a new outbound SIP trunk

Step 2: Configure Authentication

  1. Update the Friendly Name (e.g., Retell AI).

  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 subnet from which Retell AI will send outbound SIP traffic: 18.98.16.120/30.

Note

Retell AI SIP traffic originates from IP ranges that may vary depending on your plan or region.
Refer to the official Retell AI documentation for the most up-to-date information: Retell AI 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 Retell AI IPs whenever possible.

Configuring allowed SIP IP addresses for outbound trunk authentication

Fig. 7. Entering allowed SIP IP addresses for outbound authentication

Step 3: 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. 8. Outbound SIP trunk created and ready for use

Step 4: 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. Copy and securely store these credentials. You will need them later when configuring Retell AI in Step 2: Enter SIP Trunking Details.

Accessing outbound trunk credentials

Fig. 9. Opening the outbound trunk credentials view



3. Connect Numbers to Retell AI

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


Before You Begin


Step 1: Open Phone Numbers Page

  1. In the Retell AI dashboard, go to Deploy > Phone Numbers.

  2. Click the + button and select Connect to your number via SIP trunking.

Opening SIP trunking connection in Retell AI

Fig. 10. Starting SIP trunking configuration in Retell AI

Step 2: Enter SIP Trunking Details

In the SIP trunk configuration window, enter your DIDWW number and outbound routing details.

  1. Enter your Phone Number in E.164 format without the + symbol (e.g., 18489005419).

  2. In Termination URI, enter the DIDWW outbound signaling endpoint (e.g., out.didww.com).

  3. Enter the SIP Trunk Username and SIP Trunk Password from Step 4: View Outbound Trunk Credentials.

  4. (Optional) Enter a Nickname to identify the number (e.g., DIDWW Number).

  5. Select Outbound Transport (e.g., TCP).

  6. Click Save to add your DIDWW number to Retell AI.

After saving, the number will appear in the Phone Numbers list.

Entering SIP trunk configuration details in Retell AI

Fig. 11. Configuring SIP trunk connection settings

Step 3: Assign Call Agents

Configure which AI agents will handle inbound and outbound calls for your DIDWW number.

  1. In the Inbound Call Agent section, select the Call Agent to handle incoming calls.

  2. In the Outbound Call Agent section, select the Call Agent to use for outbound calls.

  3. (Optional) Configure additional options such as allowed countries or webhook settings.

Configuring inbound and outbound call agents in Retell AI

Fig. 12. Assigning inbound and outbound AI agents

Step 4: Test the Configuration

Verify that both inbound and outbound calling are working as expected.

  1. Place a test call to your DIDWW DID number to confirm that inbound calls are routed to Retell AI and handled by the assigned AI agent.

  2. In the Retell AI dashboard, use the Make an outbound call option to place a test call through your DIDWW outbound trunk.

Ensure that calls are successfully established in both directions and that the correct agents are handling the interactions.

Note

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