Azhar
03/05/2026, 1:57 PMVapi Support Bot
03/05/2026, 1:58 PMcustomer.speech.timeout hook both delivers the final message and immediately ends the call. Use the following configuration:
json
{
"on": "customer.speech.timeout",
"options": { "timeoutSeconds": 20 },
"do": [
{ "type": "say", "exact": "It looks like we may be having a connection issue. I’ll disconnect for now. Thank you and have a great day!" },
{ "type": "tool", "tool": { "type": "endCall" } }
]
}
This setup ensures the call ends right after the final message, minimizing the chance for any system-generated filler like "Just a sec" to be played. For more details, see the [Idle Messages documentation](https://docs.vapi.ai/assistants/idle-messages).
Sources:
- [Idle Messages documentation](https://docs.vapi.ai/assistants/idle-messages)
- [Assistant Hooks documentation](https://docs.vapi.ai/assistants/assistant-hooks)Chiranjeet Mishra
03/09/2026, 6:28 AM