https://retellai.com/?utm_source=discord&utm_medium=seo logo
How do I setup an outbound trunk with custom SIP p...
# ❓・ai-evy-support
c
@AI Evy How do I setup an outbound trunk with custom SIP provider?
a
Thanks for tagging me @ccabrerar. I'll look through relevant sources and get back to you shortly.
### Answer To set up an outbound trunk with a custom SIP provider in Retell AI, you'll use the Elastic SIP Trunking method, which is the recommended approach [(1) ]() . ## Setup Process 1. Configure SIP Trunk with Your Provider Set up elastic SIP trunking with your telephony provider and configure the termination settings for outbound calls . 2. Configure Retell's SIP Server Point your provider's origination settings to Retell's SIP server:
sip:5t4n6j0wnrl.sip.livekit.cloud
. For toll-free numbers, use:
sip:5t4n6j0wnrl.sip.livekit.cloud;transport=tcp
[(2) ]() . 3. Import Your Number Import your number into Retell using the Import Phone Number API [(3) ]() . You'll need to provide: - `termination_uri`: Your SIP trunk's termination URI (e.g., "someuri.pstn.twilio.com") - `sip_trunk_auth_username`: Authentication username - `sip_trunk_auth_password`: Authentication password - `outbound_agent_id`: The agent ID for outbound calls ## Supported Configurations Retell supports these transport methods: UDP, TCP, and TLS [(1) ]() . Media encryption with SRTP is also supported . For US traffic, you can whitelist the IP block:
143.223.88.0/21
,
161.115.160.0/19
. ## Troubleshooting Tips If outbound calls aren't working, verify your termination settings and ensure the termination URL is correctly configured in Retell [(4) ]() . You may also need to try using TCP transport:
sip:5t4n6j0wnrl.sip.livekit.cloud;transport=tcp
.
​ To learn more, see the sources I considered: [[1] Custom Telephony Overview](https://docs.retellai.com/deploy/custom-telephony) [[2] How to Choose the Right Telephony System in 2024 | Retell AI](https://www.retellai.com/blog/how-to-choose-the-right-telephony-system-in-2024) [[3] Import Phone Number](https://docs.retellai.com/api-references/import-phone-number) [[4] I set up the number via SIP trunking and the agent however when I attempt to make the outbound call.](https://discord.com/channels/1186424376300679209/1346151735265067048) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.