zain
02/26/2026, 5:53 AMAI Evy
02/26/2026, 5:53 AMAI Evy
02/26/2026, 5:53 AMsip:sip.retellai.com
- Move your Twilio number to this SIP trunk under the "Numbers" tab
, [(3) ]()
2. Import the number to Retell:
[(1) ]()
- Go to Phone Numbers → click the plus icon → select "Connect via SIP Trunking"
[(3) ]()
- Enter your phone number, the Termination SIP URI from Twilio, and your SIP credentials (username/password)
[(1) ]() , [(3) ]()
3. For SMS specifically:
[(4) ]()
If you already have SMS capabilities enabled on your Twilio number, go to your phone number settings in Retell and click "Setup SMS Function" under Advanced Add-Ons, then provide your Twilio Account SID and Auth Token.
There's also a helpful video walkthrough: [Retell AI - Connect to your own Twilio - Using Sip Trunking]()
[(3) ](AI Evy
02/26/2026, 5:53 AMAI Evy
02/26/2026, 5:53 AMAI Evy
02/26/2026, 5:53 AMzain
02/26/2026, 5:54 AMzain
02/26/2026, 5:55 AMAI Evy
02/26/2026, 5:55 AMAI Evy
02/26/2026, 5:55 AMAI Evy
02/26/2026, 5:55 AMAI Evy
02/26/2026, 5:55 AMzain
02/26/2026, 5:55 AMzain
02/26/2026, 5:55 AMAI Evy
02/26/2026, 5:55 AMAI Evy
02/26/2026, 5:56 AMuseInboundWebhookOnNumberCalled)
Important notes:
- Your Twilio number must already have SMS capabilities enabled and be A2P compliant before integration
- Since yours is already A2P approved, that approval carries over
- Current SMS capabilities are limited to US numbers only
The SIP trunk setup is required for Retell to recognize and route to your number, even if you're only using SMS functionality. [(3) ]() , [(4) ]()AI Evy
02/26/2026, 5:56 AMAI Evy
02/26/2026, 5:56 AMzain
02/26/2026, 5:58 AMuseInboundWebhookOnNumberCalled) is this additoinal configuration that has to be done from the retell dashboard added to an agent? idk how this stuff works, sorryAI Evy
02/26/2026, 5:58 AMAI Evy
02/26/2026, 5:58 AMuseInboundWebhookOnNumberCalled setting is required when you bring your own Twilio number and want two-way SMS (meaning users can reply to your messages and the AI responds back) .
[(1) ]() , [(2) ]()
Here's how it works:
- One-way SMS (agent sends texts to users, no replies expected) : Works after you set up the SMS Function with your Twilio credentials—no extra configuration needed.
[(1) ]()
- Two-way SMS (users can reply and the AI agent responds) : Requires enabling useInboundWebhookOnNumberCalled.
Where to configure it:
This setting is **not available in the Retell dashboard UI**—it can only be enabled through the API.
[(2) ]()
What you also need for two-way SMS:
- Attach a chat agent (not just a voice agent) to your phone number for inbound and outbound SMS
[(1) ]()
- The chat agent handles the SMS conversations
[(2) ]()
In simple terms:
1. Set up SMS Function with your Twilio credentials (dashboard)
[(1) ]()
2. Attach inbound and outbound SMS agents to your number (dashboard)
[(2) ]()
3. Enable useInboundWebhookOnNumberCalled via API if you want two-way conversations
If you only need to send SMS (one-way) , you can skip the webhook configuration.
[(1) ]()AI Evy
02/26/2026, 5:58 AMAI Evy
02/26/2026, 5:58 AMzain
02/26/2026, 6:07 AMAI Evy
02/26/2026, 6:07 AMAI Evy
02/26/2026, 6:08 AMsip_trunk_auth_username and sip_trunk_auth_password parameters. [(3) ]()AI Evy
02/26/2026, 6:08 AMAI Evy
02/26/2026, 6:08 AMzain
02/26/2026, 6:13 AMzain
02/26/2026, 6:13 AMAI Evy
02/26/2026, 6:13 AMAI Evy
02/26/2026, 6:13 AMsip:sip.retellai.com
, [(2) ]()
In the video walkthrough, after setting up Termination, you tap on Origination in the left menu, then click to create an Origination URI and paste this address. [(3) ]()AI Evy
02/26/2026, 6:14 AMAI Evy
02/26/2026, 6:14 AMzain
02/26/2026, 6:20 AMAI Evy
02/26/2026, 6:20 AMAI Evy
02/26/2026, 6:20 AMAI Evy
02/26/2026, 6:20 AMAI Evy
02/26/2026, 6:20 AMzain
02/26/2026, 6:48 AMzain
02/26/2026, 6:48 AMAI Evy
02/26/2026, 6:48 AMAI Evy
02/26/2026, 6:48 AMAI Evy
02/26/2026, 6:48 AMAI Evy
02/26/2026, 6:48 AMzain
02/26/2026, 6:51 AMAI Evy
02/26/2026, 6:51 AMAI Evy
02/26/2026, 6:51 AMAI Evy
02/26/2026, 6:51 AMAI Evy
02/26/2026, 6:51 AM