Hangup calls
1. Using time based call hangup

Disconnecting call on silence
You can add a
silence time
threshold which allows you to set a configurable threshold (in seconds) for detecting user inactivity during a call. If no audio is detected from the user for the specified duration, the call will automatically disconnect. This helps streamline conversations and prevent unnecessary call durations.
2. Using prompts to hangup calls

Disconnecting call based on custom prompts
You can choose to add a custom prompt which determines whether to disconnect the call or not.
Since this is prompt based, it might not be 100% accurate and require tuning of the prompt depending on your use-case.
Example hangup prompt
hangup prompt example
Adding a hangup message
You can enhance the overall experience by adding a hangup message, spoken by the voice AI agent as the final message before the call ends. This also accepts dynamic context as variables using{}
to craft a personalized closing statement.

Adding a custom hangup message