Discover methods to disconnect live Bolna Voice AI calls. Implement time-based hangups, custom prompts, and personalized messages for seamless call termination.
Bolna offers multiple ways to intelligently end voice calls based on user behavior and conversation context. In Agent Studio, prompt-based hangup lives in the Agent tab under Hangup Using Prompt; the silence timer, total call timeout and closing message live in the Engine tab under Final Call Message & Call Management.
Set Hangup on User Silence (in seconds) under Engine → Call Management for detecting user inactivity. If no audio is detected for the specified duration, the call disconnects automatically, preventing unnecessary call durations.
Disconnecting calls on silence
Turn on Hangup using a prompt in the Agent Tab and add a custom prompt that evaluates whether the conversation is complete. The LLM assesses the conversation context and decides when to end the call.
Custom prompt for intelligent call hangup
Since this is prompt-based, it may not be 100% accurate. Tune the prompt based on your use case for best results.
Example hangup prompt:
hangup prompt example
You are an AI assistant determining if a conversation is complete. A conversation is complete if:1. The user explicitly says they want to stop (e.g., "That's all," "I'm done," "Goodbye," "thank you").2. The user seems satisfied, and their goal appears to be achieved.3. The user's goal appears achieved based on the conversation history, even without explicit confirmation.If none of these apply, the conversation is not complete.
Add a closing message spoken by the agent as the final message before the call ends, under Engine → Final Call Message. For multilingual agents, pick a language chip to set a message per language. This accepts dynamic context variables using {} for a personalized closing statement.
Adding a final call message
Use variables like {first_name} in your hangup message for a personal touch, e.g., “Thank you , have a great day!”
Turn on Allow interruption under Engine → Final Call Message to let the caller speak over the agent’s goodbye. If the caller cuts in with something new, the agent stops, the hangup is canceled and the conversation continues. This applies to prompt-based hangups only; silence and duration hangups always end the call. See Engine Tab for details.
Set Total Call Timeout (in seconds) under Engine → Call Management for automatic termination. Once the limit is reached, the call ends automatically — a safety net against runaway calls.