https://retellai.com/?utm_source=discord&utm_medium=seo logo
disconnecting an ongoing call
# ❓・bug-report
r
Hi, has there been an update to being able to disconnect an ongoing call? One of our agents is now ongoing for some time and there has to be something wrong as our script was made for short conversations. Can you please have a look: call_3b8c625968da4986bb998334c35
n
Did you set the max call duration at the agent level? In the meantime, Ccing @bing_38681 if he can assist in ending the call from Retell's end for now
e
i checked it, it hit an IVR and kept talking. and stopped at 56mins.
l
Do you have any options through API or the dashboard to stop ongoing calls if they go over the max duration time ?
n
In the dashboard, you can set the max call duration:
or via api, you can set max_call_duration_ms in create_agent: https://docs.retellai.com/api-references/create-agent