https://retellai.com/?utm_source=discord&utm_medium=seo logo
my outbound calling isnt workin
# ❓・ai-evy-support
s
@AI Evy my outbound calling isnt workin
a
Thanks for tagging me @sonbum. I'll look through relevant sources and get back to you shortly.
### Answer Let's troubleshoot your outbound calling issue. First, verify these prerequisites are in place [(1) ]() : - You have a phone number (purchased from Retell or imported) - An agent is configured and ready for outbound calls - Your API key is set up correctly - The agent is bound to your phone number Common Issues to Check: 1. Phone number configuration - Ensure your outbound agent is properly assigned to the phone number you're calling from 2. International calling restrictions - Retell-purchased numbers are currently limited to domestic calls only . If you're calling internationally, you'll need an imported number from your telephony provider 3. Check call history - Look at the
disconnection_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) ]() :
Copy code
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',
}) ;
Next Steps: - Check your call history in the dashboard for the specific
disconnection_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? **
​ To learn more, see the sources I considered: [[1] Outbound Calls (Make Calls)](https://docs.retellai.com/deploy/outbound-call) [[2] Debug outbound connection issues](https://docs.retellai.com/reliability/debug-outbound-call) [[3] 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.
s
1. the agent is connected and receiving inbound calls 2. number is purchased from twilio and working. SIP trunk is setup and working for inbound
When i press make outbound call nothing happens
@AI Evy 1. the agent is connected and receiving inbound calls 2. number is purchased from twilio and working. SIP trunk is setup and working for inbound When i press make outbound call nothing happens
a
Thanks for the follow-up, @sonbum. I'll get back to you soon.
SIP URI to identify your elastic SIP trunk - Username and password for SIP trunk authentication (if using credential-based auth) - The
outbound_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) ]() . **
### Answer Since your inbound calls are working but outbound calls aren't, there are a few specific configuration issues to check for your Twilio SIP trunk setup [(1) ]() : 1. Check Termination SIP URI Configuration For outbound calls to work, you need to verify your Termination SIP URI is correctly configured in your Twilio Elastic SIP Trunk . Common issues include: - Spaces in the URI (remove them) - Using a non-localized termination URI - You should use a localized termination URI near your region 2. Verify Authentication Credentials Check your SIP trunk authentication : - Ensure you entered the correct username and credentials - Note that the username is NOT the friendly name shown in the credential list - The friendly name is different from the username - double-check you're using the actual username 3. Check Outbound Agent Binding When you imported your Twilio number into Retell, you need to ensure the
outbound_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 termination
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
​ 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] Here is how that can be fixed](https://retell.discourse.group/t/here-is-how-that-can-be-fixed/23) [[4] Register Phone Call](https://docs.retellai.com/api-references/register-phone-call) ​
s
@AI Evy it can now process outbound calls thanks. Another issue is now when I send a webhook to retell and my agent is says successful on the trigger end but the agent itsnt calling me. Are there logs I can see to see if it received the webhook or please help: { "agent_id": "agent_06df1b5ba30c656394ffc3a4f9", "from_number": "+6498859611", "to_number": "{{contact.phone_raw}}", "direction": "outbound", "retell_llm_dynamic_variables": { "first_name": "{{contact.first_name}}", "id": "{{contact.id}}", "email": "{{contact.email}}", "phone": "{{contact.phone}}", "plan_interested_in": "{{contact.plan}}", "company_name": "{{contact.company_name}}", "current_ai_usage": "{{contact.current_ai_usage}}", "ai_tools_used": "{{contact.ai_tools_used}}", "ai_barrier": "{{contact.ai_barrier}}", "ai_goal": "{{contact.ai_goal}}" } }
a
Thanks for the follow-up, @sonbum. I'll get back to you soon.
### Answer --- I see a few potential issues with your outbound call request. Let me help you troubleshoot: 1. Check Your API Endpoint You're sending a webhook, but to make outbound calls you need to use the Create Phone Call API endpoint (
POST /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. Retel
l-purchased numbers are limited to domestic calls only [(1) ]() . If calling internationally, verify your telephony provider settings allow it. - **Authentication**: Ensure your API key is included in the Authorization header as
Bearer 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? **
​ To learn more, see the sources I considered: [[1] Outbound Calls (Make Calls)](https://docs.retellai.com/deploy/outbound-call) [[2] Register Phone Call](https://docs.retellai.com/api-references/register-phone-call) [[3] Call Logging](https://www.retellai.com/glossary/call-logging) [[4] List Phone Numbers](https://docs.retellai.com/api-references/list-phone-numbers) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.