Problem calling a Peruvian

Hi, I am getting error ‘Call country not supported: PE’. I have enabled Inbound, but I need you to enable OUTBOUND calls to Peru (+51) for my account manually. I have already paid my invoice.


For outbound calls to Peru, the approach depends on whether you’re using Retell-purchased numbers or imported numbers through custom telephony.

Retell-purchased numbers support calling to 15 countries(1). International calling restrictions apply based on this list(1).

Imported numbers through custom telephony (SIP trunking) have international calling that depends on your telephony provider’s settings(1).

If you’re using custom telephony with providers like Twilio, you need to configure geographic permissions. Search “geo” to find the “Voice Geographic Permissions” setting(2). Choose “Elastic Sip Trunking” in the selector and select the countries you would like to dial(2).

You can also configure allowed outbound countries for your phone numbers. Navigate to Phone Numbers in your Retell dashboard, click on the phone number you want to configure, and under Allowed Outbound Countries, add the countries this number should be allowed to call(3). Changes are saved automatically(3).

Via API, you can configure this using the Update Phone Number API with ISO 3166-1 alpha-2 country codes (e.g., “PE” for Peru)(3):

curl -X PATCH "https://api.retellai.com/update-phone-number/+14155551234" \
 -H "Authorization: Bearer YOUR_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{
 "allowed_outbound_country_list": ["US", "PE"]
 }'

(3)

I don’t have information about manual account-level enablement for specific countries. For account-specific configuration assistance, you can:

Hello @soporte

If you are using a retell number, then it’s not allowed to call Peru

You can check the allowed countries from here: International Calling and Fees - Retell AI

What you can do is to buy a phone number from any provider that supports Peru and connect it using SIP trunking.

To enable calling to countries not supported by Retell-purchased numbers, you can use Elastic SIP Trunking to connect your own phone number from a telephony provider that supports your target country(1).

Setting Up SIP Trunking for International Calls:

Step 1: Create Elastic SIP Trunking with Your Provider

Set up a SIP trunk with a provider like Twilio, Telnyx, or Vonage(1)(2)(3). Configure both termination (outbound) and origination (inbound) settings(1)(2)(3):

  • For termination, note your provider’s termination SIP URI(2)(3)
  • For origination, set Retell’s SIP server address as: sip:sip.retellai.com(1)
  • Configure authentication via IP whitelisting or credentials(2)

Step 2: Enable International Dialing in Your Provider

For providers like Twilio, search “geo” to find the “Voice Geographic Permissions” setting and select the countries you want to dial(2)(4). Choose “Elastic SIP Trunking” in the selector and enable your target countries(2).

Step 3: Import Your Number to Retell

Import your number to Retell via the dashboard or API, providing(1)(2)(3):

  • The termination SIP URI from Step 1
  • Username and password if using credential-based authentication
  • The outbound_allowed_countries parameter with country codes (e.g., “PE” for Peru)(4)

When creating or updating a phone number, specify outbound_allowed_countries as a list of ISO 3166-1 alpha-2 country codes(4). If not set or empty, calls to all countries are allowed by default, but your telephony provider must also support those destinations(4).

Supported Transport Methods:

For different transport methods, append to the SIP server URL (e.g., sip:sip.retellai.com;transport=tcp)(1).