danday9
11/18/2025, 10:48 PMAI Evy
11/18/2025, 10:49 PMAI Evy
11/18/2025, 10:49 PMdisconnection_reason field to understand why the call ended [(1) ]() [(2) ]() . You can retrieve this through the Get Call API or view it in your Retell Dashboard [(2) ]() .
Common causes for unexpected hangups include:
Prompt-related issues:
- If your prompt instructs the agent to "end every call with care" or similar broad end-call instructions, the AI may interpret this as ending calls prematurely [(3) ]()
- Overly vague spam detection rules (like "Suspicious/Spam Calls: Politely end the call") can trigger false positives
- Review your end_call function description and any prompts that reference ending calls
Disconnection reasons to check:
- agent_hangup - AI agent intentionally hung up (often due to prompt instructions) [(2) ]()
- inactivity - Call terminated due to the end_call_after_silence_ms setting after long silence
- error_llm_websocket_lost_connection - LLM websocket connection broke during the call
- user_hangup - Though this appears as user hangup, it may actually be triggered by agent behavior [(3) ]() [(4) ]()
Debugging steps:
1. Use the LLM Playground to test your agent's behavior without making actual calls [(5) ]()
2. Review the call transcript in the history tab to see where the flow breaks [(6) ](AI Evy
11/18/2025, 10:49 PMAI Evy
11/18/2025, 10:49 PMAI Evy
11/18/2025, 10:49 PM