https://retellai.com/?utm_source=discord&utm_medium=seo logo
End Call Function Doesn’t Work
# ❓・bug-report
t
Not sure if anyone else is facing this issue but for single or multi agent prompts, i added end_call function on the functions and then prompted to end call using that function in the prompt. However, I have never gotten the agent to hang up on me when it’s supposed to…do I have to prompt this in a specific way? all my other functions work just fine.
m
try the above.... and say 'Thank you' to end the call. The above node should transition to ENDCALL.
s
Retell agents don’t hang up unless your design explicitly ends the call. Use function calling correctly: define end_call, have the model choose it, and send end_call: true. If building via conversation flow, use an End Node that triggers call hangup. Always test using simulation, and verify via logs afterward.