https://retellai.com/?utm_source=discord&utm_medium=seo logo
how to add a custom sip trunk
# ❓・ai-evy-support
j
@AI Evy how to add a custom sip trunk?
a
Thanks for tagging me @jsierra75_65059. I'll look through relevant sources and get back to you shortly.
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
### Answer To add a custom SIP trunk in Retell AI, you have two methods available [(1) ]() : *Method 1: Elastic SIP Trunking (Recommended) * This is the recommended approach that supports all Retell telephony features . Here's the process: 1. Set up elastic SIP trunking with your telephony provider (Twilio, Telnyx, Vonage, etc.) 2. Configure your number to point to the SIP trunk 3. Import that number to Retell For the connection, use Retell's SIP server URI:
sip:sip.retellai.com
Supported transport methods : - UDP:
sip:sip.retellai.com;transport=udp
- TCP:
sip:sip.retellai.com;transport=tcp
- TLS:
sip:5t4n6j0wnrl.sip.livekit.cloud;transport=tls
Media encryption (SRTP) is also supported . Method 2: Dial to SIP URI If your provider doesn't support elastic SIP trunking, you can dial calls to a specific SIP URI . This requires: 1. Call the Register Phone Call API to obtain a
call_id
2. Use the SIP URI format:
sip:{call_id}@sip.retellai.com
Note: With this method, all traffic appears as inbound to Retell, so you must specify the call direction . Transfer call features won't be available through Retell's built-in functionality . For US traffic, you can whitelist the IP block:
143.223.88.0/21
,
161.115.160.0/19
Check out the [step-by-step guides]() for specific providers like Twilio [(2) ](

▾

) , Telnyx, and Vonage [(1) ]() .
​ To learn more, see the sources I considered: [[1] Custom Telephony Overview](https://docs.retellai.com/deploy/custom-telephony) [[2] Retell AI - Connect to your own Twilio - Using Sip Trunking](

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

) ​