https://retellai.com/?utm_source=discord&utm_medium=seo logo
I'm using RetailAI voice agent service in Intervie...
# ❓・ai-evy-support
m
@AI Evy I'm using RetailAI voice agent service in Interview process in my company. I'm facing issue of Agent disconnect call before due time and without any words that means to end call. please help me to find out the issue
a
Thanks for tagging me @Metiz Developer. I'll look through relevant sources and get back to you shortly.
### Answer To diagnose why your agent is disconnecting calls unexpectedly, check the disconnection reason via the Retell Dashboard or the [get-call API endpoint]() . [(1) ]() Here are the most likely causes for your issue: 1. Inactivity timeout If there's silence during the call, the agent may end it due to the
end_call_after_silence_ms
setting. - You can adjust this in your agent configuration (default is 600000 ms / 10 minutes) . [(2) ]() 2. Max duration reached Calls terminate when
max_call_duration_ms
is reached (default is 3600000 ms / 1 hour) . [(1) ]() , [(2) ]() 3. Agent hangup without proper closing This is a known issue where agents don't properly announce call endings. To fix this, you should add an
end_call
function and explicitly instruct the AI to call that function before ending. [(3) ]() Key disconnection reasons to look for: | Reason | Description | |--------|-------------| |
inactivity
| Call ended due to silence timeout | |
max_duration_reached
| Maximum duration limit hit | |
agent_hangup
| Agent ended the call | |
error_llm_websocket_lost_connection
| LLM connection broke during call | [(1) ]() Recommended actions: 1. Check the
disconnection_reason
field in your call logs 2. Increase
end_call_after_silence_ms
if interviews have natural pauses 3. Increase
max_call_duration_ms
for longer interviews 4. Add explicit end-call instructions in your prompt with an
end_call
function [(3) ](
com/channels/1186424376300679209/1423365912215421051)
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] Debug call disconnection](https://docs.retellai.com/reliability/debug-call-disconnect) [[2] Update Voice Agent](https://docs.retellai.com/api-references/update-agent) [[3] Voice agent call end and function calling issues](https://discord.com/channels/1186424376300679209/1423365912215421051) ​