https://retellai.com/?utm_source=discord&utm_medium=seo logo
Agent Hangs Up After Greeting — No User Interactio...
# ❓・bug-report
l
Hi @Colin - Integrations @ Retell AI I’ve been noticing a recurring issue with my cafe agent over the past week. In multiple call logs, the agent introduces herself normally (“Well hello there! Welcome to Café...”) but then the call ends immediately afterward — without any user input or further conversation. This behavior has resulted in a significant number of unsuccessful or incomplete calls, all showing the same pattern: Agent greets the caller successfully No customer response is captured Call disconnects automatically within a few seconds Could someone from the team help me understand what might be causing this? Any insights or troubleshooting steps would be greatly appreciated. Thank you!
o
Hello @lahari3278
can you share the detail logs of this call
and what is the end reason , you will find it in the chat history
l
2025-10-10 14:44:48.112 call_d8d9ab25006e595066b73a71f2d info: Starting call: call_d8d9ab25006e595066b73a71f2d 2025-10-10 14:44:50.486 call_d8d9ab25006e595066b73a71f2d info: Calling tool: getCurrentTime Arguments: {"location":"---"} 2025-10-10 14:44:50.848 call_d8d9ab25006e595066b73a71f2d info: Received result for tool: 4594c4ee64c3c449 getCurrentTime Result: {"currentTime":"2025-10-10 10:44 AM"} 2025-10-10 14:44:58.698 call_d8d9ab25006e595066b73a71f2d info: Calling tool: end_call Arguments: {"execution_message":"Well hello there! Welcome to Café in location. I'm Amy, your virtual assistant, How may I help you today?"} 2025-10-10 14:44:58.698 call_d8d9ab25006e595066b73a71f2d info: Ending call: call_d8d9ab25006e595066b73a71f2d https://cdn.discordapp.com/attachments/1426275379307610274/1426279750103597128/image.png?ex=68eaa607&is=68e95487&hm=093d85a4290454bb4fe42d9d6ff833d1d47818dcd078c3e7b2f967d919c27b0c&
Is this the one you are looking for?
o
the agent is calling the end call function by it self , can you show me the description of the end call function and the prompt where you call this function, and what llm are you using ?
a
l
@Omar Ashraf | Community Lead Please let me know if you need anything
o
Remove this from your prompt and let me know : - End every call with care: > say this “Thank you kindly! We look forward to seeing y’all real soon!" call function end_call
Suspicious/Spam Calls: > “We cant help you with that, Have a blessed day!” [Politely end the call] and call function end_call. Remove this also or put some rules what might be a spam for you don't leave it open like this, but first try to remove it and let me know if it works.
l
Thank u @Omar Ashraf | Community Lead I will update and let you know
Hi @Omar Ashraf | Community Lead After removing those sentences, the agent no longer hangs up. It seems the issue is related to how end_call is being triggered. Since end_call is important for proper call closure, we may need to adjust the logic or prompt. Could you please help us review this so the agent can close calls smoothly without hanging up unexpectedly? and also What might be the issue for this user hang up can u please explain
o
it's a prompting issue , You were saying end every call with care ( the ai will end every call ) , you have to be more clear when to end it
and also you end the call when it's spam , what are the factors that you consdier the call is a spam you need to let the ai know that.
but the first one has the most impact on ending the calls
l
we have changed the prompt and the issue is solved there are no agent hang-up's till date Thank u so much for your support @Omar Ashraf | Community Lead @Colin - Integrations @ Retell AI
o
You are welcome