sonbum
12/02/2025, 12:43 AMAI Evy
12/02/2025, 12:43 AMAI Evy
12/02/2025, 12:43 AMdisconnection_reason field in your call details [(2) ]() . Common reasons include:
- invalid_destination - The destination phone number is invalid
- marked_as_spam - Your number may be flagged due to high volume without warmup
- dial_failed - Unknown SIP error or routing issue
- telephony_provider_permission_denied - SIP trunk authentication failed
4. Verify your API call structure - Make sure you're using the correct format [(1) ]() :
typescript
const registerCallResponse = await retell.call.createPhoneCall({
from_number: '+14157774444', // replace with the number you purchased
to_number: '+12137774445', // replace with the number you want to call
override_agent_id: 'agent_abc123',
}) ;AI Evy
12/02/2025, 12:43 AMdisconnection_reason [(2) ]() [(3) ]()
- Review the detailed log which contains SIP error codes and error messages [(2) ]()
- If using custom telephony, verify your configuration is correct
Would you like help with a specific error message you're seeing?
**AI Evy
12/02/2025, 12:44 AMAI Evy
12/02/2025, 12:44 AMsonbum
12/02/2025, 12:46 AMsonbum
12/02/2025, 12:48 AMsonbum
12/02/2025, 12:52 AMAI Evy
12/02/2025, 12:52 AMAI Evy
12/02/2025, 12:52 AMoutbound_agent_id to bind the number
Check your call history in the Retell dashboard for specific error codes - the disconnection_reason field will show issues like telephony_provider_permission_denied or sip_routing_error [(4) ]() .
**AI Evy
12/02/2025, 12:52 AMoutbound_agent_id is properly set [(2) ]() [(3) ]() :
- The phone number must have an outbound_agent_id configured [(3) ]()
- If not set during import, you can update it later
*4. Verify International Dialing Permissions (if applicable) *
If you're trying to call international numbers, check your Twilio settings [(1) ]() :
- Search for "geo" to find "Voice Geographic Permissions"
- Choose "Elastic Sip Trunking" in the selector
- Select the countries you would like to dial
5. Review Your Number Import Configuration
When importing your Twilio number, ensure you provided [(2) ]() :
- The terminationAI Evy
12/02/2025, 12:53 AMAI Evy
12/02/2025, 12:53 AMsonbum
12/02/2025, 1:30 AMAI Evy
12/02/2025, 1:30 AMAI Evy
12/02/2025, 1:30 AMPOST /v2/create-phone-call) , not a webhook [(1) ]() . The payload structure you're using looks correct for the API call, but ensure you're sending it to the right endpoint with proper authentication.
2. Verify the to_number Variable
Your to_number field contains {{contact.phone_raw}} - make sure this template variable is being properly replaced with an actual phone number in E.164 format (e.g., +12137774445) before the request is sent . If the variable isn't resolved, the call won't be placed.
3. Check Required Parameters
For outbound calls, these parameters are required :
- from_number (string in E.164 format) - your Retell-managed or imported number
- to_number (string in E.164 format) - destination number
- Either agent_id OR override_agent_id to specify which agent to use
Your payload uses agent_id which should work, but the standard parameter name in the API is override_agent_id .
4. View Call Logs
To check if Retell received your request and see what happened:
- Go to your Retell dashboard
- Navigate to the Call History section
- Look for the disconnection_reason field which will show specific error codes [(2) ]()
- Check the public log which contains details about requests, responses, and latency tracking [(2) ]() [(3) ]()
5. Common Issues to Check:
- **International calling**: Your from_number (+6498859611) appears to be from New Zealand. RetelAI Evy
12/02/2025, 1:30 AMBearer YOUR_API_KEY [(2) ]()
- **Phone number binding**: Verify your from_number has an outbound_agent_id configured [(4) ]()
Recommended Next Steps:
1. Check your call history in the dashboard for any failed call attempts
2. Verify all template variables (especially {{contact.phone_raw}}) are resolving to actual values
3. Confirm you're hitting the correct API endpoint with proper authentication
4. Review the public log for detailed error messages [(2) ]()
Would you like help interpreting a specific error message from your call logs?
**AI Evy
12/02/2025, 1:30 AMAI Evy
12/02/2025, 1:30 AM