https://retellai.com/?utm_source=discord&utm_medium=seo logo
Hi, i want to ask how to enable UAE number for tes...
# ❓・ai-evy-support
s
Hi, i want to ask how to enable UAE number for testing create phone api can someone help me with that @AI Evy
a
Thanks for tagging me @sameersewani. I'll look through relevant sources and get back to you shortly.
### Answer Based on the available documentation, Retell AI's native Create Phone Number API currently supports only US and CA (United States and Canada) countries [(1) ]() . The
country
parameter shows available options as
US
and
CA
. Retell AI's native platform currently supports purchasing U.S.-based phone numbers and making domestic calls within the United States, so directly obtaining UAE numbers using Retell AI's default setup isn't supported [(2) ]() . However, you can enable UAE calling by integrating Retell AI with a third-party telephony provider like Twilio . For UAE numbers specifically, you would need to use custom telephony integration [(3) ]() . To set up custom telephony for UAE numbers, you can refer to the custom telephony documentation at .
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
i have already added a us number but if i am calling uae number from that us number i am getting error
but if i am calling on india number it is working fine
@AI Evy
a
Thanks for the follow-up, @sameersewani. I'll get back to you soon.
### Answer Based on the documentation, when using Retell's Create Phone Call API with a US number, you might encounter regional restrictions when calling certain international destinations [(1) ]() . The documentation shows that if using a number purchased from Retell, only US numbers are supported as destination . From the community discussions, there are known issues with calling certain international numbers that result in
invalid_destination
errors [(2) ]() [(3) ]() . One user reported that their AI caller keeps giving the error message "Invalid_destination" whenever trying to do outbound calls to certain numbers, while it works when calling their own phone number . For international calling capabilities to UAE numbers specifically, you would need to use custom telephony integration with a provider that supports UAE destinations [(4) ]() . The custom telephony approach gives you more control over telephony functionalities and destination restrictions . To implement this, you could: 1. Set up elastic SIP trunking with a telephony provider that supports UAE calling 2. Import your number using the Import Phone Number API [(5) ]() 3. Configure your telephony provider to allow international calls to UAE The documentation provides detailed guides for integrating with providers like Twilio, Telnyx, and Vonage through elastic SIP trunking [(4) ]() . **
​ To learn more, see the sources I considered: [[1] Create Phone Call](https://docs.retellai.com/api-references/create-phone-call) [[2] Ai caller keep giving me the error message](https://retell.discourse.group/t/ai-caller-keep-giving-me-the-error-message/18) [[3] Ai caller keep giving me the error message Invalid_destination](https://retell.discourse.group/t/ai-caller-keep-giving-me-the-error-message-invalid-destination/17) [[4] Custom Telephony Overview](https://docs.retellai.com/deploy/custom-telephony) [[5] Import Phone Number](https://docs.retellai.com/api-references/import-phone-number) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
Thanks for the follow-up, @sameersewani. I'll get back to you soon.
s
i am using the number from twillio only @AI Evy
a
​ To learn more, see the sources I considered: [[1] Outbound Calls (Make Calls)](https://docs.retellai.com/deploy/outbound-call) [[2] Import Phone Number](https://docs.retellai.com/api-references/import-phone-number) ​
### Answer [(1) ]() Since you're using a Twilio number, the international calling restrictions depend on your telephony provider's settings rather than Retell's limitations . The documentation states that for imported numbers, "International calling depends on your telephony provider's settings" . To resolve the UAE calling issue with your Twilio number: 1. Check your Twilio account settings - Ensure international calling to UAE is enabled in your Twilio console 2. Verify your Twilio account permissions - Some Twilio accounts have geographic restrictions that need to be lifted 3. Import your Twilio number properly - Make sure you've imported your Twilio number into Retell using the Import Phone Number API [(2) ]() When making outbound calls with imported numbers, you can use the Create Phone Call API with your Twilio number [(1) ]() :
Copy code
javascript
const registerCallResponse = await retell.call.createPhoneCall({
 from_number: '+14157774444', // replace with your Twilio number
 to_number: '+971XXXXXXXXX', // UAE number format
 retell_llm_dynamic_variables: { 
 name: 'John Doe'
 }
}) ;
If you're still experiencing issues, the problem likely lies in your Twilio account configuration rather than Retell AI. You may need to contact Twilio support to enable UAE calling for your specific account or number.
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
Call country not supported: AE, +971502510907 i am getting this in retell ai
@AI Evy
a
Thanks for the follow-up, @sameersewani. I'll get back to you soon.
### Answer The error "Call country not supported: AE, +971502510907" indicates that Retell AI has restrictions on calling certain countries, including the UAE (country code AE) [(1) ]() . Based on the documentation, when using the Create Phone Call API with numbers purchased from Retell, "only US numbers are supported as destination" . This explains why your calls to India work but UAE calls fail - there are specific country restrictions in place. For calling UAE numbers, you have a few options: 1. **Use Custom Telephony with Full SIP Trunking**: Set up elastic SIP trunking with Twilio that supports international calling to UAE [(2) ]() . The Twilio documentation shows how to configure termination and origination for international calls . 2. **Configure Twilio for International Calling**: In your Twilio console, you may need to enable international calling permissions. The documentation mentions checking "Voice Geographic Permissions" settings for international countries . 3. **Import Your Twilio Number**: If you haven't already, import your Twilio number using the Import Phone Number API [(3) ]() :
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
 apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const phoneCallResponse = await client.call.registerPhoneCall({
 agent_id: 'oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD',
}) ;
The community forum shows similar issues where users get "Invalid_destination" errors for certain international numbers [(4) ]() [(5) ]() . To resolve this, you'll need to work with your Twilio account settings and potentially upgrade your Twilio service to support international calling to UAE specifically.
​ To learn more, see the sources I considered: [[1] Create Phone Call](https://docs.retellai.com/api-references/create-phone-call) [[2] Twilio](https://docs.retellai.com/deploy/twilio) [[3] Import Phone Number](https://docs.retellai.com/api-references/import-phone-number) [[4] Ai caller keep giving me the error message](https://retell.discourse.group/t/ai-caller-keep-giving-me-the-error-message/18) [[5] Ai caller keep giving me the error message Invalid_destination](https://retell.discourse.group/t/ai-caller-keep-giving-me-the-error-message-invalid-destination/17) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
Error dialing to user, SIP status code: 488 SIP error category: telephony_provider_unavailable Error: twirp error unknown: INVITE failed: sip status: 488: 32209 TLS transport is required to place a secure call getting this error when i am calling @AI Evy
a
Thanks for the follow-up, @sameersewani. I'll get back to you soon.
### Answer The SIP status code 488 error you're encountering indicates that your telephony provider requires TLS (Transport Layer Security) for secure calls [(1) ]() . This falls under the
telephony_provider_unavailable
disconnection reason, which represents cases where the telephony provider is not available or has errors . According to the custom telephony documentation, Retell AI supports multiple transport methods including TLS [(2) ]() : Transport method supported: - UDP - TCP - TLS Media encryption supported: - SRTP To resolve this issue, you need to configure your SIP trunk connection to use TLS transport instead of UDP or TCP. When setting up your custom telephony integration with Twilio, ensure that: 1. Your SIP trunk is configured to use TLS transport 2. Your Twilio account is properly configured for secure calling requirements 3. The connection between Retell's SIP server and your telephony provider supports TLS The Retell SIP server URI is:
sip:5t4n6j0wnrl.sip.livekit.cloud
. Since this is a telephony provider configuration issue, you may need to contact Twilio support to ensure your account and SIP trunk are properly configured for TLS-secured calls to international destinations like UAE.
​ To learn more, see the sources I considered: [[1] Debug outbound connection issues](https://docs.retellai.com/reliability/debug-outbound-call) [[2] 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.