Radim Kopp
05/21/2025, 8:37 PMVapi Support Bot
05/21/2025, 8:40 PMsilence-timed-out
ended reason and perform an action, such as ending the call or transferring to a fallback.
Example hook:
json
{
"hooks": [{
"on": "call.ending",
"filters": [{
"type": "oneOf",
"key": "call.endedReason",
"oneOf": ["silence-timed-out"]
}],
"do": [{
"type": "say",
"exact": "It seems you've stepped away, so I'll end the call now. Goodbye!"
}]
}]
}
This will gracefully end calls where the user is silent (or on hold) for too long.
Sources:
- [Assistant Hooks](https://docs.vapi.ai/assistants/assistant-hooks)
- [Call Control Features](https://docs.vapi.ai/calls/call-features)
- [Call Ended Reasons](https://docs.vapi.ai/calls/call-ended-reason)Vapi Support Bot
05/21/2025, 8:40 PMsilence-timed-out
ended reason and perform an action, such as ending the call or transferring to a fallback.
Example hook:
json
{
"hooks": [{
"on": "call.ending",
"filters": [{
"type": "oneOf",
"key": "call.endedReason",
"oneOf": ["silence-timed-out"]
}],
"do": [{
"type": "say",
"exact": "It seems you've stepped away, so I'll end the call now. Goodbye!"
}]
}]
}
This will gracefully end calls where the user is silent (or on hold) for too long.
Sources:
- [Assistant Hooks](https://docs.vapi.ai/assistants/assistant-hooks)
- [Call Control Features](https://docs.vapi.ai/calls/call-features)
- [Call Ended Reasons](https://docs.vapi.ai/calls/call-ended-reason)Radim Kopp
05/21/2025, 8:42 PMRadim Kopp
05/21/2025, 8:51 PMShubham Bajaj
05/22/2025, 1:09 AMKyle
05/22/2025, 1:09 AMRadim Kopp
05/22/2025, 1:12 AMKyle
05/22/2025, 8:53 AMRadim Kopp
05/26/2025, 12:28 PMVapi Support Bot
05/26/2025, 12:28 PMVapi Support Bot
05/26/2025, 12:31 PMRadim Kopp
05/26/2025, 12:31 PMRadim Kopp
05/26/2025, 12:31 PMVapi Support Bot
05/26/2025, 12:31 PMVapi Support Bot
05/26/2025, 12:31 PM