Skip to content
DocsStart free

Route after-hours calls to voicemail

Two ways to send after-hours callers to voicemail. Both rely on a business-hours schedule (schedule_id: sch_01j0jvpe0wzc6g05bktfew0xyx below) and a voicemail box (id: vm_01jg8asp59ps9rtt7azhrhvcre).

Attach the schedule directly to the DID and set the closed override to voicemail. No flow required.

{
"e164": "12025550123",
"dest_kind": "flow", "dest_id": "flow_01jzqwjn803wtnhc445bvjenzc",
"schedule_id": "sch_01j0jvpe0wzc6g05bktfew0xyx",
"closed_dest_kind": "voicemail", "closed_dest_id": "vm_01jg8asp59ps9rtt7azhrhvcre",
"holiday_dest_kind": "voicemail", "holiday_dest_id": "vm_01jg8asp59ps9rtt7azhrhvcre"
}
  • In hours → the normal flow (dest_id: flow_01jzqwjn803wtnhc445bvjenzc).
  • Closed or holiday → voicemail box vm_01jg8asp59ps9rtt7azhrhvcre.
  1. Pick an approach above. Use the number-level override for “this line is closed”; use the flow for richer after-hours logic.
  2. Confirm the schedule has your weekly hours and any holidays (see Configure business hours).
  3. Test by temporarily narrowing the schedule (or adding today as an is_closed date) and calling in; you should land straight in voicemail.

For a queue that’s open but has nobody logged in, that’s not an after-hours case: wire the queue’s no_agents exit to voicemail instead.