https://retellai.com/?utm_source=discord&utm_medium=seo logo
Hi I'm getting the following errors
# ❓・ai-evy-support
k
@AI Evy Hi I'm getting the following errors. I want to call to a Taiwan phone number (+886) with a US phone number, but connnecting to Twilio and buying a phone number from RetellAI both don't work.
a
Thanks for tagging me @kevyourdev. I'll look through relevant sources and get back to you shortly.
### Answer For international calling to Taiwan (+886) from a US number, you'll need to configure Twilio's Voice Geographic Permissions [(1) ]() . The documentation shows that to set up dialing to international countries, you need to search "geo" to find the "Voice Geographic Permissions" setting . Then choose "Elastic Sip Trunking" in the selector and select the countries you would like to dial . When creating a phone number through Retell AI's API, the
country_code
parameter currently only supports
US
and
CA
options [(2) ]() . The
area_code
parameter format is a 3 digit integer and currently only supports US area codes . For purchasing numbers, you can use the Create Phone Number API:
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
 apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const phoneNumberResponse = await client.phoneNumber.create() ;
console.log(phoneNumberResponse.inbound_agent_id) ;
If you're connecting via SIP trunking with Twilio, ensure you've properly set up the termination SIP URI and that you're using a localized termination URI near your region [(1) ]() . Common issues include spaces in the Termination SIP URI (which should be removed) and incorrect username/credentials . The "Invalid_destination" error mentioned in community discussions suggests the number may be blocked or flagged [(3) ]() . For Twilio-connected numbers, this could indicate carrier blocking or poor number reputation [(4) ]() .
​ To learn more, see the sources I considered: [[1] Twilio](https://docs.retellai.com/deploy/twilio) [[2] Create Phone Number](https://docs.retellai.com/api-references/create-phone-number) [[3] Ai caller keep giving me the error message](https://retell.discourse.group/t/ai-caller-keep-giving-me-the-error-message/18) [[4] I just got sms verified on my Twilio number and today it just quit working.](https://discord.com/channels/1186424376300679209/1400221857357107250) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
k
@AI Evy I don't want to use the API. Still doesn't work after configuring Twilio's Voice Geographic Permissions.
a
Thanks for the follow-up, @kevyourdev. I'll get back to you soon.
### Answer Since you've already configured Twilio's Voice Geographic Permissions and the issue persists, there are several additional troubleshooting steps to check: Common Twilio SIP Trunk Issues: 1. Check your Termination SIP URI - If there's a space in it, please remove it [(1) ]() . Also, you should use a localized termination URI that's near your region . 2. Verify username and credentials - Please make sure you entered the right username and credentials . Note that the username is not the friendly name that shows in the credential list - the friendly name is different from the username . Additional Considerations: Based on community reports, if your SIP trunk is in the US but you're trying to make calls to Argentina (or other international destinations) , you need to configure international calling permissions in Twilio [(2) ]() . This same principle applies to calling Taiwan from a US number. For international calling issues, some users have reported that even after completing KYC verification, calls may still not go through, with calls logging as unanswered while never receiving the phone call [(3) ]() . Next Steps: If these troubleshooting steps don't resolve the issue, I'd recommend checking: - Your Twilio account's international calling limits and restrictions - Whether your specific number has the proper international calling permissions enabled - The call logs in both Retell AI dashboard and Twilio console for more specific error codes Visit [Contact Sales]() or [) for additional support if the issue persists.
​ To learn more, see the sources I considered: [[1] Twilio](https://docs.retellai.com/deploy/twilio) [[2] Outbound calls and inbound calls are not working](https://discord.com/channels/1186424376300679209/1347688442741391502) [[3] International Calls via Twilio + WEBCALL](https://discord.com/channels/1186424376300679209/1344074967641227284) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
k
telephony_provider_unavailable
@AI Evy telephony_provider_unavailable
a
Thanks for the follow-up, @kevyourdev. I'll get back to you soon.
### Answer The
telephony_provider_unavailable
disconnection reason indicates that outbound calls are not connecting because the telephony provider is not available [(1) ]() . This is classified as a
not_connected
call status rather than an error . Troubleshooting Steps: Since you're using custom telephony (Twilio) , here are the recommended steps [(2) ]() : 1. Double check your configuration and make sure you imported the right information 2. If the configuration is not correct, delete the imported number and re-import 3. If that does not solve it, please check with your telephony provider to see what's the error on their side For International Calling to Taiwan: The
telephony_provider_unavailable
error often occurs with international calling when there are media compatibility issues or provider restrictions [(3) ]() . Since you've already configured Twilio's Voice Geographic Permissions, the issue may be related to: - SIP trunk authentication problems [(4) ]() - Media compatibility issues between Retell AI and Twilio [(3) ]() - Twilio's specific restrictions on calling Taiwan numbers Next Steps: Check your call detailed logs for the specific SIP error code and error message [(2) ]() . In most cases, this would be enough to identify the root cause . You should also verify with Twilio directly whether your account has the proper permissions and configuration to call Taiwan (+886) numbers.
​ To learn more, see the sources I considered: [[1] Debug call disconnection](https://docs.retellai.com/reliability/debug-call-disconnect) [[2] Debug outbound connection issues](https://docs.retellai.com/reliability/debug-outbound-call) [[3] Discord message from @renanjoppert on 2025-07-31](https://discord.com/channels/1186424376300679209/1186462578310910112/1400489145280757901) [[4] Telephony_provider_permission_denied](https://discord.com/channels/1186424376300679209/1395665651963658270) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.