Vapi saying Just a sec after the end call note (Ur...
# support
a
We are experiencing an issue where Vapi says “Just a sec” unexpectedly after the final call-ending message. To handle scenarios where the customer picks up the call but remains silent, we implemented hooks to track silence timeouts and automatically end the call after 20 seconds. The current behavior is configured as follows: After 10 seconds of silence, Athena says: “Hello? I just want to make sure you can hear me.” After 15 seconds of silence, Athena says: “Hi, this is Athena. Can you hear me?” After 20 seconds of silence, Athena says: “It looks like we may be having a connection issue. I’ll disconnect for now. Thank you and have a great day!” However, after delivering the final message and before ending the call, Vapi unexpectedly says “Just a sec.” This line is not part of our prompt or hook configuration. Could you please help us understand why this additional message is being triggered and how we can prevent it so the call ends immediately after the final message? Your guidance on resolving this issue would be appreciated. Thank you.
v
To prevent Vapi from saying "Just a sec" after your final call-ending message, ensure your last
customer.speech.timeout
hook both delivers the final message and immediately ends the call. Use the following configuration:
Copy code
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)
c
Hi, could you please provide us with the affected call IDs?