https://retellai.com/?utm_source=discord&utm_medium=seo logo
Why I can't get the call from the agent
# ❓・ai-evy-support
k
@AI Evy Why I can't get the call from the agent? I run the code successfully
a
Thanks for tagging me @kyblpp. I'll look through relevant sources and get back to you shortly.
` and that the agent is properly configured [(5) ]() [(4) ]() Could you share more details about: - Are you making an outbound phone call or a web call? - What's the call status you're seeing in the dashboard? - What phone numbers are you using (from and to) ? This will help identify the specific issue you're experiencing. **
### Answer Based on the sources, there are several common reasons why you might not be receiving calls from your agent despite the code running successfully: Common Issues: 1. Invalid Destination Error - One user reported receiving an "Invalid_destination" error when making outbound calls, which only worked when calling their own phone number [(1) ]() . This suggests the destination number format or validation might be the issue. 2. Call Status "error_user_not_joined" - When creating web calls, if you see
"call_status": "error_user_not_joined"
in the call history, it means the user didn't successfully join the call session [(2) ]() . This can happen with web call implementations where the frontend connection isn't properly established [(3) ]() . 3. Phone Number Format - Ensure your phone numbers are in E.164 format. For outbound calls,
from_number
must be a number you own (purchased from or imported to Retell) , and
to_number
should be the destination in E.164 format [(4) ]() . Troubleshooting Steps: - Check the
call_status
field in your call object - it will show states like
registered
,
ongoing
,
ended
, or
error
[(2) ]() [(4) ]() - Verify your phone numbers are correctly formatted in E.164 (e.g., "+14157774444") [(4) ]() - Review the
disconnection_reason
field if the call ends unexpectedly [(2) ]() - Check if you're using the correct `agent_id
k
@AI Evy the call status is registered; what does this mean?
a
Thanks for the follow-up, @kyblpp. I'll get back to you soon.
ur call object? That will tell us exactly why the call isn't connecting. --- **
### Answer --- When you see
call_status
as
registered
, it means the call ID has been issued and the system is starting to make a call using this ID [(1) ]() . Call Status Progression: The
call_status
field indicates where your call is in its lifecycle : - `registered`: Call id issued, starting to make a call using this id - `ongoing`: Call connected and ongoing - `ended`: The underlying websocket has ended for the call. Either user or agent hanged up, or call transferred - `error`: Call encountered error Why Your Call Might Be Stuck at "registered": If your call remains in
registered
status and never progresses to
ongoing
, it means the call did not successfully start [(2) ]() . When a call is created, it starts as
registered
, and only when it actually connects does it become
ongoing
. What to Check: Since your code ran successfully but you're not receiving the call, verify: 1. Phone number format - Ensure both
from_number
and
to_number
are in E.164 format (e.g., "+12137771234") [(3) ]() 2. From number ownership - The
from_number
must be a number you own or have imported to Retell 3. Disconnection reason - Check the
disconnection_reason
field in your call object to see why the call didn't connect [(3) ]() [(1) ]() Starting June 30, 2025, unconnected calls will have a status of
not_connected
instead of
error
, with more specific disconnection reasons like
invalid_destination
,
user_declined
, or
marked_as_spam
[(4) ]() . Can you check the
disconnection_reason
field in yo
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] Ai caller keep giving me the error message](https://retell.discourse.group/t/ai-caller-keep-giving-me-the-error-message/18) [[2] Get Call](https://docs.retellai.com/api-references/get-call) [[3] Discord message from @manny_40662 on 2024-11-14](https://discord.com/channels/1186424376300679209/1294891368505937952/1306724273502814249) [[4] Create Phone Call](https://docs.retellai.com/api-references/create-phone-call) [[5] Register Phone Call](https://docs.retellai.com/api-references/register-phone-call) ​
k
@AI Evy I try several numbers; some of them works while some of them not work. Do you know why and how I can avoid it?
a
Thanks for the follow-up, @kyblpp. I'll get back to you soon.
### Answer Based on the sources provided, I can explain some reasons why certain numbers work while others don't: Phone Number Format Requirements: When creating outbound phone calls, the
to_number
must be in E.164 format [(1) ]() . Additionally, if you're using a number purchased from Retell as your
from_number
, only US numbers are supported as destinations . Common Reasons Numbers May Not Work: The
disconnection_reason
field can reveal why specific numbers fail [(2) ]() [(1) ]() . Common disconnection reasons include: -
invalid_destination
- The destination number format is invalid or unreachable -
dial_busy
- The destination number was busy -
dial_failed
- The dial attempt failed -
dial_no_answer
- The destination number didn't answer -
marked_as_spam
- The call was marked as spam by the carrier -
user_declined
- The user declined the incoming call How to Avoid Issues: 1. Verify E.164 Format - Ensure all numbers follow E.164 format (e.g., "+12137771234") [(1) ]() 2. Check Destination Restrictions - If using Retell-purchased numbers, remember only US destinations are supported 3. Review Disconnection Reasons - After each call attempt, check the
disconnection_reason
field in the call object to understand why specific numbers failed [(2) ]() [(1) ]() 4. Validate Number Ownership - The
from_number
must be a number purchased from Retell or imported to Retell [(1) ]() Could you check the `disconnec
tion_reason` field for the numbers that aren't working? That will tell us exactly why those specific calls are failing. **
​ To learn more, see the sources I considered: [[1] Create Phone Call](https://docs.retellai.com/api-references/create-phone-call) [[2] Register Phone Call](https://docs.retellai.com/api-references/register-phone-call) ​
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] Get Call](https://docs.retellai.com/api-references/get-call) [[2] call_status is never ongoing](https://discord.com/channels/1186424376300679209/1268232143700754495) [[3] Create Phone Call](https://docs.retellai.com/api-references/create-phone-call) [[4] Deprecating on 6/30/2025](https://docs.retellai.com/deprecation-notice/6-30) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.