https://retellai.com/?utm_source=discord&utm_medium=seo logo
<@1145576664366055464> connect twilio
# ❓・ai-evy-support
j
@AI Evy connect twilio
a
Thanks for tagging me @jonnyf_66072. I'll look through relevant sources and get back to you shortly.
### Answer Here's how to connect Twilio to Retell AI via SIP trunking: ## Step 1: Create Elastic SIP Trunking in Twilio [(1) ]() Create a trunk in Twilio with a name and configure general settings . ## Step 2: Setup Termination (Outbound Calls) Configure the termination SIP URI - use a localized termination URI near your region . For authentication, you can either: - Whitelist IP addresses (currently Retell SIP server doesn't have static IP, so whitelist all IP addresses in the range) - Create auth with username and password ## Step 3: Setup Origination (Inbound Calls) Set Retell's SIP server address as the origination SIP URI:
sip:5t4n6j0wnrl.sip.livekit.cloud
. ## Step 4: Move Numbers to Elastic SIP Trunking Purchase numbers or move existing numbers to the trunk you created . ## Step 5: Import Numbers to Retell Import the number to Retell using the termination SIP URI from Step 2 . If you set up auth via credentials, supply the username and password . You can also import numbers programmatically via the Import Number API . Once imported, you can make and receive calls with this number just like a Retell-purchased number . The number will show up in your dashboard and you can create calls using the Create Phone Call API . Retell AI integrates with Twilio to provide scalable voice solutions with global reach and flexible communication workflows [(2) ]() .
​ To learn more, see the sources I considered: [[1] Twilio](https://docs.retellai.com/deploy/twilio) [[2] Voice API: Integrate Phone AI Agents with Your System | Retell AI](https://www.retellai.com/blog/how-to-integrate-phone-ai-agents-with-your-existing-api-systems) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.