https://retellai.com/?utm_source=discord&utm_medium=seo logo
on satarday my agent was working, today it's not
# ❓・ai-evy-support
a
@AI Evy on satarday my agent was working, today it's not. I don't know what hapend 🙁 help me please
a
Thanks for tagging me @angela90miranda. I'll look through relevant sources and get back to you shortly.
### Answer I understand how frustrating this must be. Let me help you troubleshoot what might have changed. First steps to diagnose the issue: You can check why your calls are disconnecting through the Retell Dashboard or by using the get-call API endpoint [(1) ]() . The disconnection reason will help identify what's happening . Common disconnection reasons to check: If calls aren't connecting at all, look for these statuses : -
dial_failed
- outbound call not connected, dialing failed -
dial_busy
- the number dialed is busy -
dial_no_answer
- the number dialed did not answer -
marked_as_spam
- the number is marked as spam (note: phone numbers with many short calls in a short period might be marked as spam at carrier level) If calls are ending unexpectedly, check for : -
error_llm_websocket_open
- LLM websocket did not open, likely because the Custom LLM URL is incorrect or your LLM server is unreachable -
error_llm_websocket_lost_connection
- LLM websocket connection broke during the call -
error_no_audio_received
- has not received audio for a while after connection established Similar reported issue: There's a recent case where conversational workflows stopped working after agent swaps, where the agent would swap successfully but wouldn't speak in the next node [(2) ]() . This was working previously with no changes made to the agent configuration . What to check: 1. Review your call logs in the dashboard to see the specific disconnection reason 2. If using conversational flows with agent swaps, check if the transitions are completing 3. Verify your LLM websocket connection if using custom LLM 4. Check if your phone number has been flagged due to call patterns Could you share what specific b
ehavior you're seeing - are calls not connecting at all, or are they connecting but the agent isn't responding?
​ To learn more, see the sources I considered: [[1] Debug call disconnection](https://docs.retellai.com/reliability/debug-call-disconnect) [[2] Conversational workflows stopped working](https://discord.com/channels/1186424376300679209/1412495726646136942) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
Appreciate the feedback! Feel free to ask me again with additional guidance or context.
a
Test call are not working
@AI Evy test call are not working
a
Thanks for the follow-up, @angela90miranda. I'll get back to you soon.
### Answer I understand test calls aren't working. Let me help you troubleshoot this specific issue. Check the call status and disconnection reason: When you retrieve call details using the Get Call API, you'll see a
call_status
field that indicates the current state [(1) ]() . The possible statuses are : -
registered
- Call id issued, starting to make a call using this id -
not_connected
- Call failed to connect -
ongoing
- Call connected and ongoing -
ended
- The underlying websocket has ended for the call -
error
- Call encountered error You'll also see a
disconnection_reason
field that provides specific details about why the call ended . Common test call issues: For test calls specifically, check these disconnection reasons : -
error_llm_websocket_open
- LLM websocket did not open, likely because the Custom LLM URL is incorrect or your LLM server is unreachable -
error_llm_websocket_lost_connection
- LLM websocket connection broke during the call -
error_llm_websocket_runtime
- Runtime error in LLM websocket -
error_no_audio_received
- Has not received audio for a while after connection established -
error_retell
- Internal Retell error -
registered_call_timeout
- Call stayed in registered status for too long without connecting How to diagnose: 1. Check your agent's call history in the dashboard 2. Look at the
call_status
and
disconnection_reason
for your test calls 3. Review the
public_log_url
if available - it contains details about all requests and responses in the LLM WebSocket, helpful for debugging Could you check what specific
disconnection_reason
you're seeing for these test calls? That will help pinpoint the exact issue. **
​ To learn more, see the sources I considered: [[1] Get Call](https://docs.retellai.com/api-references/get-call) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
a
@AI Evy what is the underlying websocket?
a
Thanks for the follow-up, @angela90miranda. I'll get back to you soon.
### Answer The term "underlying websocket" in Retell AI refers to the WebSocket connection that handles the real-time communication during a call [(1) ]() . In Retell AI's architecture, there are two main WebSocket types: 1. LLM WebSocket - Connects Retell AI to your server to get responses and actions from your custom LLM . This WebSocket controls what the agent says and manages actions like ending the call . 2. Audio WebSocket (deprecated in v2) - Previously used for audio streaming [(2) ]() . When a call ends: The call status shows
ended
when "the underlying websocket has ended for the call" [(3) ]() . This means the WebSocket connection that was maintaining the real-time communication has closed . Common WebSocket-related disconnection reasons you might see: -
error_llm_websocket_open
- LLM websocket did not open, likely because the Custom LLM URL is incorrect or your LLM server is unreachable -
error_llm_websocket_lost_connection
- LLM websocket connection broke during the call -
error_llm_websocket_runtime
- Runtime error in LLM websocket For your test call issue: Check if your LLM WebSocket server is properly configured and reachable. The WebSocket endpoint should be at
{your-server-websocket-endpoint}/{call_id}
[(1) ]() . Retell AI initiates this WebSocket when starting the call, and your server needs to be prepared to handle it .
​ To learn more, see the sources I considered: [[1] LLM WebSocket](https://docs.retellai.com/api-references/llm-websocket) [[2] Interact with an agent over WebSocket?](https://discord.com/channels/1186424376300679209/1326233340457652284) [[3] Create Phone Call](https://docs.retellai.com/api-references/create-phone-call) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
a
@AI Evy what menas invalid destination?
a
Thanks for the follow-up, @angela90miranda. I'll get back to you soon.
### Answer --- ### Answer
invalid_destination
is a disconnection reason that indicates the phone number you're trying to call is invalid or malformed [(1) ]() . What it means: When you see
invalid_destination
, it means your outbound call did not connect because the destination phone number is invalid [(2) ]() [(1) ]() . The call will have a status of
not_connected
[(1) ]() . Common causes: - The phone number format is incorrect (e.g., missing country code, invalid digits) - The number doesn't exist - The number format doesn't match what your telephony provider expects How to fix it: 1. Verify the phone number format is correct - typically E.164 format like
+1XXXXXXXXXX
for US numbers [(3) ]() 2. Check that the number includes the proper country code 3. Ensure there are no extra characters or spaces in the number 4. If using custom telephony like voip.ms, verify your configuration matches your provider's requirements [(4) ]() Where to check: You can see this disconnection reason in your call history through the Retell Dashboard or by using the get-call API endpoint [(1) ]() . The detailed log will show the disconnection reason and help you identify the issue [(4) ]() . If you're using a custom telephony provider, double-check your configuration and make sure you imported the correct information . ---
​ To learn more, see the sources I considered: [[1] Debug call disconnection](https://docs.retellai.com/reliability/debug-call-disconnect) [[2] Deprecating on 6/30/2025](https://docs.retellai.com/deprecation-notice/6-30) [[3] Invalid_destination](https://discord.com/channels/1186424376300679209/1394314919066865676) [[4] Debug outbound connection issues](https://docs.retellai.com/reliability/debug-outbound-call) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.