https://retellai.com/?utm_source=discord&utm_medium=seo logo
w
@AI Evy Hello! Where in retellai personal account/dashboard i can make next settings to connect my custom sip trunk In the SIP Settings / Transport Protocol section, select TLS instead of UDP. Next, find the option Encryption or SRTP and set the value to Enabled. Find the section SIP Registration or Authentication Settings (depending on the interface). There should be a parameter like Registration Expiry, Registration Interval, or Expires (seconds) — typically, the default is 3600 seconds (1 hour); set it to 120 sec.
a
Thanks for tagging me @webmastercleverence. I'll look through relevant sources and get back to you shortly.
### Answer Based on the available documentation, the specific dashboard settings you're asking about aren't detailed in the official sources. However, I can provide information about how Retell AI handles SIP trunking configuration. For custom telephony integration with Retell AI, the platform supports both Elastic SIP trunking (recommended) and Dial to SIP URI methods [(1) ]() . The Retell SIP server URI is
sip:sip.retellai.com
. Regarding transport protocols, Retell AI supports: - UDP:
sip:sip.retellai.com;transport=udp
- TCP:
sip:sip.retellai.com;transport=tcp
- TLS:
sip:5t4n6j0wnrl.sip.livekit.cloud;transport=tls
For media encryption, Retell AI supports SRTP . However, the documentation doesn't specify where these transport protocol and SRTP settings are configured within the Retell AI dashboard interface. The available sources focus more on the technical implementation and API integration rather than the specific dashboard UI locations for these settings. For detailed guidance on accessing these specific dashboard settings, I'd recommend checking out these resources: - [Custom Telephony Overview]() - [Import Phone Number]() Would you like me to provide a general answer about SIP trunking configuration based on my knowledge instead?
​ To learn more, see the sources I considered: [[1] Custom Telephony Overview](https://docs.retellai.com/deploy/custom-telephony) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
w
@AI Evy okay now i get it but when i use satings like you mentioned for tls protocol while adding my custom phone number and custom SIP into retellai Phone Number (my UAE phone number) Termination URI voip.callgear.ae:9091;transport=tls SIP Trunk User Name Valid sip trunk user name SIP Trunk Password Password of my user Nickname My Sip trunk and when i press Save in retellai - i get an error message Error: Internal Server Error here is an info from web browser dev console about this api call Request URL https://api.retellai.com/import-phone-number Request Method POST Status Code 500 Internal Server Erro {"status":"error","message":"Internal Server Error"}
a
Thanks for the follow-up, @webmastercleverence. I'll get back to you soon.
### Answer Based on the sources, this appears to be a known issue with SIP trunk configuration in Retell AI. The error you're encountering matches exactly what was reported in the community forums [(1) ]() . According to the community discussion, a user experienced the same 500 Internal Server Error when trying to import numbers via SIP trunking through the dashboard . The solution was to use the API directly instead of the dashboard interface . One community member mentioned they have explored adding transport options to the SIP URI but encountered 500 API errors when trying to set anything other than a host or IP [(2) ]() . This suggests there may be limitations with how transport parameters are handled in the current implementation. For troubleshooting this specific issue: 1. The phone number format should be in E.164 format (with country code, no spaces or special characters) [(3) ]() [(4) ]() 2. Try using the API endpoint directly via tools like Postman to test the
/import-phone-number
endpoint [(1) ]() 3. Consider simplifying the Termination URI to just
voip.callgear.ae:9091
without the transport parameter initially The sources indicate that while Retell AI supports custom SIP trunking, there may be specific formatting requirements or limitations that aren't fully documented for the dashboard interface. For immediate assistance with this configuration issue, I recommend visiting [Contact Sales]() or [) . Would you like me to
provide a general answer about SIP trunk configuration based on my knowledge instead?
​ To learn more, see the sources I considered: [[1] when loading number by sip trunk, the api returns 500](https://discord.com/channels/1186424376300679209/1364608404542324817) [[2] Discord message from @michaelb_30512 on 2025-09-25](https://discord.com/channels/1186424376300679209/1294891368505937952/1420837624595222600) [[3] Get Phone Number](https://docs.retellai.com/api-references/get-phone-number) [[4] Update Phone Number](https://docs.retellai.com/api-references/update-phone-number) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
w
@AI Evy okay i tried to simplify Termination URI setting Phone Number +971525219654 Termination URI voip.callgear.ae:9091 SIP Trunk User Name Valid sip trunk user name SIP Trunk Password Password of my user Nickname My Sip trunk The configuration successfully saves in Retell AI, but when I set up my Retell AI outbound agent for calls using this phone number, I get no successful outbound calls in Retell AI. I consulted my SIP trunk telephony backend team, and they do not see any activity reaching the SIP trunk.
a
Thanks for the follow-up, @webmastercleverence. I'll get back to you soon.
### Answer Based on the available sources, your configuration looks correct for the import process, but there are several potential issues to investigate for outbound calls not reaching your SIP trunk. From the documentation, when importing a phone number via SIP trunk, the required fields are the phone number in E.164 format, termination URI, and authentication credentials [(1) ]() . Your configuration appears to follow this format correctly. However, there are common issues that could prevent outbound calls from reaching your SIP trunk: **Termination URI Format**: The documentation shows examples like
someuri.pstn.twilio.com
for Twilio [(1) ]() [(2) ]() and references to FQDN formats for providers like Telnyx [(3) ]() . Your URI
voip.callgear.ae:9091
may need additional formatting or protocol specification. **Authentication Issues**: The sources indicate that SIP trunk providers often require IP whitelisting or credential authentication [(2) ]() . Since Retell's SIP server doesn't have a static IP, you'll need to ensure your SIP trunk provider supports credential-based authentication . Common Troubleshooting Steps from the sources: - Verify there are no spaces or unexpected characters in the termination URI [(4) ](

▾

) - Ensure your SIP trunk provider has the correct authentication settings configured [(2) ]() [(3) ]() - Check that your outbound agent is properly assigned to the imported phone number [(1) ]() One community member experience
d similar issues where calls weren't reaching their local SIP provider [(5) ]() , suggesting this may be a common configuration challenge with custom SIP trunks. For immediate assistance with this specific SIP trunk configuration issue, I recommend visiting [Contact Sales]() or [) . Would you like me to provide a general answer about SIP trunk troubleshooting based on my knowledge instead?
​ To learn more, see the sources I considered: [[1] Import Phone Number](https://docs.retellai.com/api-references/import-phone-number) [[2] Twilio](https://docs.retellai.com/deploy/twilio) [[3] Telnyx](https://docs.retellai.com/deploy/telnyx) [[4] Retell AI - Connect to your own Twilio - Using Sip Trunking](

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

) [[5] SIP trunking without Terminating URI](https://discord.com/channels/1186424376300679209/1301540109283233792) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
w
@AI Evy okay i will try to solve this problem when i use satings like you mentioned for tls protocol while adding my custom phone number and custom SIP into retellai Phone Number (my UAE phone number) Termination URI voip.callgear.ae:9091;transport=tls SIP Trunk User Name Valid sip trunk user name SIP Trunk Password Password of my user Nickname My Sip trunk and when i press Save in retellai - i get an error message Error: Internal Server Error here is an info from web browser dev console about this api call Request URL https://api.retellai.com/import-phone-number Request Method POST Status Code 500 Internal Server Erro {"status":"error","message":"Internal Server Error"} using postman can you provide to me an example of api call with all parameters and hedings needed to try to add my custom SIP trunk phone number using postman tool
a
Thanks for the follow-up, @webmastercleverence. I'll get back to you soon.
### Answer Here's the complete Postman configuration for the Import Phone Number API call: Request Configuration: - **Method**: POST - **URL**: ` - **Headers**: [(1) ]() -
Authorization: Bearer YOUR_RETELL_API_KEY
-
Content-Type: application/json
Request Body (JSON) :
Copy code
json
{
  "phone_number": "+971525219654",
  "termination_uri": "voip.callgear.ae:9091",
  "sip_trunk_auth_username": "your_username",
  "sip_trunk_auth_password": "your_password",
  "nickname": "My Sip trunk",
  "inbound_agent_id": "oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD",
  "outbound_agent_id": "oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD"
}
Important Notes: 1. **Transport Parameter Issue**: Based on community reports, adding
;transport=tls
to the termination URI causes 500 errors [(2) ]() . The documentation doesn't show examples with transport parameters in the termination URI field [(1) ]() . 2. **Required Fields**: The phone number must be in E.164 format, and the termination URI is required . Agent IDs are optional but recommended for proper call routing . 3. **Authentication**: Replace
YOUR_RETELL_API_KEY
with your actual API key from the Retell AI dashboard . 4. **Alternative Approach**: If the transport parameter continues causing issues, consider testing without it first, then work with your SIP provider to configure TLS at their end rather than in the URI parameter. A community member successfully resolved a similar 500 error by using the API directly instead of the dashboard interface [(3) ]() .
​ To learn more, see the sources I considered: [[1] Import Phone Number](https://docs.retellai.com/api-references/import-phone-number) [[2] Discord message from @michaelb_30512 on 2025-09-25](https://discord.com/channels/1186424376300679209/1294891368505937952/1420837624595222600) [[3] when loading number by sip trunk, the api returns 500](https://discord.com/channels/1186424376300679209/1364608404542324817) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
w
@AI Evy okay, i have tried call this API https://api.retellai.com/import-phone-number but again retellai server answers 500 when i put in JSON "termination_uri": "voip.callgear.ae:9091;transport=tls" and answers 201 and sucsesfully creating phone number in retellai when i put "voip.callgear.ae:9091"
a
Thanks for the follow-up, @webmastercleverence. I'll get back to you soon.
### Answer Based on your testing results, this confirms what the community has reported - the transport parameter in the termination URI is causing the 500 error [(1) ]() . The Issue: The Import Phone Number API doesn't support transport parameters directly in the
termination_uri
field [(2) ]() . When you include
;transport=tls
, it causes an Internal Server Error, but
voip.callgear.ae:9091
works successfully. Alternative Approach for TLS: According to the documentation, Retell AI supports different transport protocols, but they're handled differently depending on the connection direction [(3) ]() : For inbound calls, transport methods can be specified in the SIP server URL format : - For TLS:
sip:5t4n6j0wnrl.sip.livekit.cloud;transport=tls
However, for outbound calls through imported numbers, the transport protocol configuration appears to be handled at the SIP trunk provider level rather than in the termination URI parameter. Recommended Solution: 1. Use the working configuration:
"termination_uri": "voip.callgear.ae:9091"
[(2) ]() 2. Configure TLS transport on your CallGear SIP trunk provider's side 3. Ensure your SIP trunk provider (CallGear) is configured to accept TLS connections from Retell's servers Why This Happens: The documentation shows examples like
"someuri.pstn.twilio.com"
for Twilio elastic SIP trunks , without transport parameters in the termination URI field. This suggests the API expects a clean hostname/port format for the termination URI. Since your number imports successfully with
voip.callgear.ae:9091
, work with your CallGear provider to enable TLS on
their end for that endpoint, rather than trying to specify it in the Retell API call.
​ To learn more, see the sources I considered: [[1] Discord message from @michaelb_30512 on 2025-09-25](https://discord.com/channels/1186424376300679209/1294891368505937952/1420837624595222600) [[2] Import Phone Number](https://docs.retellai.com/api-references/import-phone-number) [[3] Custom Telephony Overview](https://docs.retellai.com/deploy/custom-telephony) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
w
@User hello! Can you assist me with my auestion and task above in this chat thread
c
create a bug report ticket please
w
@AI Evy Could you please provide us with the complete list of your outbound SIP IP addresses or IP ranges? We need to give this list to our telephony company's technical team so they can add them to our SIP Trunk whitelist for incoming calls.
a
Thanks for the follow-up, @webmastercleverence. I'll get back to you soon.
### Answer Based on the available sources, there are limited static IP addresses available for Retell AI's SIP infrastructure. Available IP Information: For United States traffic, Retell AI provides this IP block for whitelisting [(1) ]() : -
143.223.88.0/21
-
161.115.160.0/19
However, the documentation specifically states that "Currently there's no static IP address block for traffic outside of US, but it's under development" . The Challenge with IP Whitelisting: The community discussions reveal this is a common issue. Users report that Retell's IP addresses appear to rotate due to load balancing, making static IP whitelisting difficult [(2) ]() . One community member noted: "the logs show different IP Addresses from the calls which seems to be load balancing or something like that. I need a list of possible IP Addresses to whitelist every single one" . Another user specifically mentioned they need IP addresses for approval with Turkish telecom companies, noting that "Seems like there is a proxy so IPs are rotating" [(3) ]() . Technical Background: According to community technical experts, "ReTell IP numbers for SIP interconnect are based on LiveKit, as such, the LiveKit platform is reliant on automatic scaling and DNS records, which means, the IP numbers change" . Recommended Solutions: Since complete IP lists aren't available in the sources, for immediate assistance with your specific SIP trunk whitelist requirements, I recommend: - Visit [Contact Sales]() - Visit [) Would you like me to provide a general answer about SIP trunk configuration based on my knowled
ge instead?
​ To learn more, see the sources I considered: [[1] Custom Telephony Overview](https://docs.retellai.com/deploy/custom-telephony) [[2] Whitelisting IP addresses - SIP](https://discord.com/channels/1186424376300679209/1346770899839225876) [[3] IP Addresses needed for approval](https://discord.com/channels/1186424376300679209/1347560047043149885) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
w
@AI Evy where i can create a bug report ticket?
a
Thanks for the follow-up, @webmastercleverence. I'll get back to you soon.
### Answer Based on the available sources, there are several places where you can create bug reports for Retell AI: For Bug Reports: According to the community discussions, you can create a bug report ticket by making a new post in the Discord channel
#❓・bug-report
[(1) ]() [(2) ]() . For Urgent Outages: If you're experiencing an urgent outage that breaks your voice agent production traffic, you can submit a report using this form: [outage report form]() [(3) ]() . However, this should only be used for actual outages, not general support requests . Additional Support Channels: For general support requests that aren't urgent outages, the sources also mention visiting [Contact Sales]() or [) . Given your specific issues with SIP trunk configuration and the 500 errors you've been experiencing, creating a ticket in the
#❓・bug-report
channel would be the most appropriate option for getting technical assistance from the Retell team.
​ To learn more, see the sources I considered: [[1] Discord message from @khalidrouissi on 2025-09-24](https://discord.com/channels/1186424376300679209/1186462578310910112/1420367796168163359) [[2] The new version of the agent is not getting updated](https://discord.com/channels/1186424376300679209/1418613845483716788) [[3] About the Report Outage category](https://retell.discourse.group/t/about-the-report-outage-category/55) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
n
hello