https://retellai.com/?utm_source=discord&utm_medium=seo logo
My Termination URI wont work
# ❓・ai-evy-support
k
@AI Evy My Termination URI wont work
a
Thanks for tagging me @Kazu. I'll look through relevant sources and get back to you shortly.
### Answer Here are common issues with Termination URIs when importing phone numbers via SIP trunking: Remove the "sip:" prefix - When entering your Termination URI in Retell, do not include "sip:" at the beginning [(1) ]() . The URI should be entered without this prefix. Remove all whitespace - Ensure there are no spaces in your Termination URI or phone number . Any whitespace can cause connection errors. Use the correct format - For Twilio, use a localized termination URI near your region (e.g., the format shown in the Twilio console) [(2) ]() . For Telnyx, use their FQDN based on your SIP region choice (e.g., sip.telnyx.com) [(3) ]() . Check authentication - If using credentials, verify you've entered the correct username and password [(2) ]() . Note that the username may differ from the "friendly name" shown in your credential list . Verify your setup - Retell cannot validate if your configuration works until a call is made [(4) ]() . Check your termination settings in your SIP trunking provider and review their logs if calls fail . If outbound calls still don't connect, common disconnection reasons include
dial_failed
,
telephony_provider_permission_denied
, or
telephony_provider_unavailable
[(5) ]() .
​ To learn more, see the sources I considered: [[1] Phone number connection error](https://discord.com/channels/1186424376300679209/1428698638938542161) [[2] Twilio](https://docs.retellai.com/deploy/twilio) [[3] Telnyx](https://docs.retellai.com/deploy/telnyx) [[4] Custom Telephony Overview](https://docs.retellai.com/deploy/custom-telephony) [[5] Debug call disconnection](https://docs.retellai.com/reliability/debug-call-disconnect) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
k
how should the format look @AI Evy
a
Thanks for the follow-up, @Kazu. I'll get back to you soon.
### Answer The correct Termination URI format depends on your telephony provider: For Twilio: The termination URI should end with
.pstn.twilio.com
[(1) ]() . You should use a localized termination URI that's near your region . For example:
someuri.pstn.twilio.com
[(2) ]() . For Telnyx: You can find your FQDN based on your choice of SIP region (e.g.,
sip.telnyx.com
) [(3) ]() . For Vonage: The termination SIP URI, username, and password are provided during setup [(4) ]() . Key formatting rules: - Do NOT include the "sip:" prefix when entering the URI into Retell [(1) ]() - Remove all spaces from the URI - Enter it exactly as shown in your telephony provider's console When importing the number into Retell, you'll supply this termination URI along with authentication credentials if you've set up username/password authentication [(1) ]() [(3) ]() [(4) ]() .
​ To learn more, see the sources I considered: [[1] Twilio](https://docs.retellai.com/deploy/twilio) [[2] Import Phone Number](https://docs.retellai.com/api-references/import-phone-number) [[3] Telnyx](https://docs.retellai.com/deploy/telnyx) [[4] Vonage](https://docs.retellai.com/deploy/vonage) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
Thanks for the follow-up, @Kazu. I'll get back to you soon.
k
@AI Evy When I try to use sip.spikon.pl the calls wont go through
a
​ To learn more, see the sources I considered: [[1] Twilio](https://docs.retellai.com/deploy/twilio) [[2] Custom Telephony Overview](https://docs.retellai.com/deploy/custom-telephony) ​
### Answer Here's what to check when using
sip.spikon.pl
as your Termination URI: Verify Your SIP Trunk Configuration: - Ensure you've set up the termination (outbound) settings correctly in your SIP trunk [(1) ]() - Check that you've whitelisted Retell's IP addresses or configured authentication with username and password - For authentication, verify you're using the actual username (not the friendly name) and the correct password Check Your Import Settings in Retell: When importing the number, you need to supply the termination SIP URI you set up . If you've set up authentication via credentials, you'll need to supply the username and password as well . Common Issues: - Verify there are no spaces in your Termination URI - Make sure your SIP trunk provider supports the features you need [(2) ]() - Check your provider's logs for specific error messages Retell Cannot Validate Configuration: Retell will not be able to know if the setup you provide works or not until a call is made . If your outbound calls aren't connecting, check your termination settings in your SIP trunking provider and review their logs . Since
sip.spikon.pl
isn't one of the providers explicitly documented (Twilio, Telnyx, Vonage) , you may need to work directly with Spikon to ensure: - Their SIP trunk is configured to accept traffic from Retell's SIP server - They support the necessary SIP protocols - Authentication is properly configured on both sides If you continue to have issues, I'd recommend checking with Spikon's support to confirm their SIP trunk configuration requirements.
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
k
@AI Evy should I add prefixes to phone numbers?
a
Thanks for the follow-up, @Kazu. I'll get back to you soon.
### Answer ### Answer Yes, phone numbers in Retell AI must use E.164 format, which includes the country code prefix [(1) ]() [(2) ]() [(3) ]() [(4) ]() . E.164 format structure: - Start with
+
(plus sign) - Country code (e.g.,
1
for US/Canada,
33
for France) - Phone number with no spaces or special characters [(1) ]() [(2) ]() [(3) ]() Examples: - US number:
"+14157774444"
[(1) ]() [(2) ]() [(3) ]() [(4) ]() - Another US number:
"+12137774445"
[(4) ]() When importing a phone number:
Copy code
javascript
const phoneNumberResponse = await client.phoneNumber.import({
  phone_number: '+14157774444',
  termination_uri: 'someuri.pstn.twilio.com',
}) ;
[(2) ]() When creating an outbound call:
Copy code
javascript
const phoneCallResponse = await client.call.createPhoneCall({
  from_number: '+14157774444',
  to_number: '+12137774445',
}) ;
[(4) ]() Both
from_number
and
to_number
must be in E.164 format [(4) ]() [(5) ]() . The country code prefix is required for all phone number operations in Retell AI. --- **
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
k
@AI Evy I'm Getting dial no answer when I try to call someone even if it's my phone number
a
Thanks for the follow-up, @Kazu. I'll get back to you soon.
### Answer --- A "dial no answer" error typically means the call is reaching the destination but not being picked up. Here are key troubleshooting steps: Verify Your Complete SIP Trunk Setup: 1. Check Termination (Outbound) Configuration: [(1) ]() - Ensure your termination SIP URI is correct and has no spaces - Use a localized termination URI near your region - Verify authentication credentials (username/password) are correct 2. Check Origination (Inbound) Configuration: - Set up origination with Retell's SIP server address:
sip:sip.retellai.com
Verify Your Phone Number Import: [(2) ]() When importing your number, ensure you've correctly configured: - The phone number in E.164 format (with + and country code) - The termination URI from your SIP trunk - Authentication credentials if required Check Your Outbound Agent Assignment: [(3) ]() Your phone number needs an
outbound_agent_id
configured, or you must use
override_agent_id
in your API request . Without this, outbound calls won't work properly .
Copy code
javascript
const phoneNumberResponse = await client.phoneNumber.update('+14157774444', {
  outbound_agent_id: 'oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD',
}) ;
[(4) ]() Verify Your Call Creation:
Copy code
javascript
const phoneCallResponse = await client.call.createPhoneCall({
  from_number: '+14157774444',
  to_number: '+12137774445',
}) ;
Common Issues with Custom SIP Providers: Since you're using
sip.spikon.pl
, verify with Spikon that: [(1) ]() - Their SIP trunk accepts traffic from Retell's SIP server - They support necessary SIP protocols - Authentication is properly configured on both sides - There are no firewall or routing issues blocking the connection If You're in Trial Mode: [(5) ]() If using Twilio in trial mode, you can only make outbound calls to verified numbers . Ensure your account is upgraded if needed . The "dial no answer" specifically suggests the call is routing but not connecting, so double-check both your SIP trunk configuration and that your destination number can receive calls.
​ To learn more, see the sources I considered: [[1] Twilio](https://docs.retellai.com/deploy/twilio) [[2] Import Phone Number](https://docs.retellai.com/api-references/import-phone-number) [[3] 404 Error on Create a Phone Call](https://retell.discourse.group/t/404-error-on-create-a-phone-call/22) [[4] Create Phone Call](https://docs.retellai.com/api-references/create-phone-call) [[5] Discord message from @fyodor2572 on 2024-12-27](https://discord.com/channels/1186424376300679209/1294891368505937952/1322038621557100544) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
k
@AI Evy I'm on trial maybe that's the issue
a
Thanks for the follow-up, @Kazu. I'll get back to you soon.
​ To learn more, see the sources I considered: [[1] Outbound Calls (Make Calls)](https://docs.retellai.com/deploy/outbound-call) [[2] Discord message from @shivam_talks2ai on 2024-12-28](https://discord.com/channels/1186424376300679209/1294891368505937952/1322593161146531851) ​
### Answer Based on the information available, I don't have explicit documentation about Retell AI trial account limitations affecting outbound calls [(1) ]() . However, if you're using Twilio in trial mode (not Retell trial) , this is a known issue. When Twilio is in trial mode, you can only make outbound calls to verified numbers [(2) ]() . You would need to either: - Verify the destination number in your Twilio console - Upgrade your Twilio account from trial mode To check if this is the issue, verify whether your Twilio account (if you're using Twilio as your SIP provider) is still in trial mode . If you're referring to a Retell AI trial account specifically, I'd recommend checking with Retell support to confirm whether there are any trial-specific limitations on outbound calling functionality.
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
Thanks for the follow-up, @Kazu. I'll get back to you soon.
k
@AI Evy is it Termination URI? sip.spikon.pl
a
### Answer --- Yes,
sip.spikon.pl
is your Termination URI [(1) ]() . When you import the number into Retell, you supply this termination URI to uniquely identify your elastic SIP trunk, which is used for outbound calls [(2) ]() . Important formatting rules when entering it into Retell: - Do NOT include the "sip:" prefix when entering the URI [(3) ]() - Remove all spaces from the URI - Enter it as:
sip.spikon.pl
When importing via the API, it should look like this:
Copy code
javascript
const phoneNumberResponse = await client.phoneNumber.import({
  phone_number: '+14157774444',
  termination_uri: 'sip.spikon.pl',
}) ;
[(2) ]() Since Spikon isn't one of the explicitly documented providers (Twilio, Telnyx, Vonage) , you'll need to ensure with Spikon that [(1) ]() : - Their SIP trunk is configured to accept traffic from Retell's SIP server - They support the necessary SIP protocols - Authentication is properly configured on both sides If you've set up authentication with username and password in your Spikon SIP trunk, you'll also need to provide those credentials when importing the number [(2) ]() [(3) ]() .
​ To learn more, see the sources I considered: [[1] Custom Telephony Overview](https://docs.retellai.com/deploy/custom-telephony) [[2] Import Phone Number](https://docs.retellai.com/api-references/import-phone-number) [[3] Twilio](https://docs.retellai.com/deploy/twilio) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
k
@AI Evy Okay so if phone number, Termination URI, SPI login and password is correct why I'm getting dial not answer
a
Thanks for the follow-up, @Kazu. I'll get back to you soon.
### Answer If your phone number, Termination URI, SIP login, and password are all correct but you're still getting "dial no answer," here are additional factors to check: 1. Verify Your Outbound Agent Configuration Your imported number needs an
outbound_agent_id
bound to it [(1) ]() . Without this, outbound calls may fail even if your SIP trunk is configured correctly [(2) ]() . 2. Check Your SIP Trunk's Origination Settings While you've configured termination (outbound) , ensure your SIP trunk also has origination (inbound) properly set up with Retell's SIP server address:
sip:sip.retellai.com
[(3) ]() [(4) ]() . 3. Verify Codec and Transport Settings Your SIP trunk needs to support the correct codecs and transport method [(4) ]() . For example, Telnyx requires: - Codecs:
G722
,
G729
,
OPUS
- Transport method:
TCP
4. Check Your Provider's Logs Retell cannot validate if your setup works until a call is made [(3) ]() . The "dial no answer" error suggests the call is routing but not connecting. Check Spikon's logs for specific error messages on their end that might reveal firewall issues, routing problems, or authentication failures. 5. Verify Number Format Settings Ensure your SIP trunk is configured to use
+E.164
as the number format [(4) ]() . 6. Test with a Known Working Provider Since Spikon isn't explicitly documented as a supported provider (unlike Twilio, Telnyx, or Vonage) [(3) ]() [(4) ]() , consider testing with
one of these providers first to rule out Retell-side configuration issues. The "dial no answer" disconnection reason specifically indicates the call reached the destination but wasn't picked up [(5) ]() , which suggests either the destination isn't receiving the call properly or there's a routing issue on Spikon's side. **
​ To learn more, see the sources I considered: [[1] Import Phone Number](https://docs.retellai.com/api-references/import-phone-number) [[2] 404 Error on Create a Phone Call](https://retell.discourse.group/t/404-error-on-create-a-phone-call/22) [[3] Twilio](https://docs.retellai.com/deploy/twilio) [[4] Telnyx](https://docs.retellai.com/deploy/telnyx) [[5] Register Phone Call](https://docs.retellai.com/api-references/register-phone-call) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.