killiansantos
12/11/2025, 8:13 AMAI Evy
12/11/2025, 8:13 AMAI Evy
12/11/2025, 8:13 AMsip:sip.retellai.com [(2) ]() , [(1) ]()
2. Configure Authentication
- Whitelist IP addresses or create credentials (username/password)
- Retell's IP block for traffic: 18.98.16.120/30 (All regions) , 143.223.88.0/21 (United States only) , 161.115.160.0/19 (United States only) [(2) ]()
3. Move/Purchase Numbers to the SIP Trunk [(1) ]()
4. Import the Number to Retell , [(3) ]()
- Provide the termination SIP URI from Step 1
- If using credential authentication, supply the username and password
- You can import via the dashboard or programmatically via the Import Number API
Transport Options Supported: TCP (recommended) , UDP, TLS [(2) ]()
For a step-by-step video walkthrough, see [Retell AI - Connect to your own Twilio - Using Sip Trunking]() [(3) ]()
Note: If you're forwarding from a mobile number to Twilio and then to Retell, some users have reported needing additional webhook configuration for the call to properly reach the agent after forwarding [(4) ]() .AI Evy
12/11/2025, 8:14 AMAI Evy
12/11/2025, 8:14 AMkilliansantos
12/11/2025, 8:18 AMAI Evy
12/11/2025, 8:18 AMAI Evy
12/11/2025, 8:18 AMX-. You can use dynamic variables for SIP header values to pass information extracted from the call to the receiving party. [(2) ]()
- Limitation with Twilio: For cold transfer with transferee number, Twilio does not honor custom SIP headers in the REFER request. This means SIP headers you set in the transfer call tool will not work for cold transfers with transferee number when using Twilio.
Configuration in Twilio:
When setting up your Elastic SIP Trunk, ensure you enable: [(3) ]()
- Code transfer (enabled)
- PSTN Transfer (checkbox enabled)
Transfer Node/Function:
- For Conversation Flow agents, configure the [call transfer node]() for more details. [(2) ]()
- For Single/Multi-prompt agents, use the [call transfer function]() .
If you need more control over the transfer logic (e.g., custom caller ID handling) , you may need to implement your own transfer logic using a custom function that interacts with your telephony provider. [(1) ]()AI Evy
12/11/2025, 8:18 AMAI Evy
12/11/2025, 8:18 AM