https://retellai.com/?utm_source=discord&utm_medium=seo logo
Hi , help me to connect Twilio with Retell
# ❓・ai-evy-support
l
Hi @AI Evy, help me to connect Twilio with Retell
a
Thanks for tagging me @le_chemist. I'll look through relevant sources and get back to you shortly.
### Answer To connect Twilio with Retell AI, you'll need to set up SIP trunking using Elastic SIP Trunks. Here's the step-by-step process: ## Step 1: Create Elastic SIP Trunking in Twilio First, go to your Twilio account and search for "SIP trunk" in the search bar [(1) ](

▾

) . Select "Elastic SIP Trunks" and create a new SIP trunk . Give it a name and ensure both "code transfer" and "Enable PSTN Transfer" are enabled . ## Step 2: Configure Termination (for outbound calls) Set up the termination SIP URI - this is important for later steps [(2) ]() . You might want to use a localized termination URI near your region . For authentication, you can either whitelist IP addresses or create credentials with username and password . If using credentials, create them with a strong password (at least 12 characters, uppercase, lowercase, special symbol, and digit) [(3) ](

▾

) . ## Step 3: Configure Origination (for inbound calls) Set up origination by specifying Retell's SIP server address as the origination SIP URI:
sip:5t4n6j0wnrl.sip.livekit.cloud
[(2) ]() . ## Step 4: Move Numbers to Your SIP Trunk Purchase numbers or move existing numbers to your elastic SIP trunk [(1) ](

▾

) [(2) ]() . ## Step 5: Import Numbers to Retell In your Retell Dashboard, go to Phone Numbers and click the plus icon [(4) ](

▾

) . Select "connect your number through SIP trunking" . Paste the complete number with plus symbol and country code . Enter your termination URI from Twilio (ensure no spaces or unexpected characters) . If you set up credentials, provide the username and password . ## Common Issues - **
Outbound not working**: Check your Termination SIP URI for spaces and use a localized URI near your region [(2) ]() - **Credential issues**: Ensure you're using the actual username, not the friendly name - **International dialing**: Configure "Voice Geographic Permissions" for international countries Once configured, the number will appear in your Retell dashboard and you can assign inbound and outbound agents to it [(4) ](

▾

) .
​ To learn more, see the sources I considered: [[1] Retell AI - Connect to your own Twilio - Using Sip Trunking](

https://www.youtube.com/watch?v=JC3PV_R-Z1Y▾

) [[2] Twilio](https://docs.retellai.com/deploy/twilio) [[3] Retell AI - Connect to your own Twilio - Using Sip Trunking](

https://www.youtube.com/watch?v=JC3PV_R-Z1Y▾

) [[4] Retell AI - Connect to your own Twilio - Using Sip Trunking](

https://www.youtube.com/watch?v=JC3PV_R-Z1Y▾

) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.