IVR Canvas

Guide

3CX IVR business hours and holidays, with an example to import

A PBX does not answer the same on a Tuesday at 10 am, on a Sunday or on a public holiday. In a 3CX call flow, that is the job of the hours block: it tests rules in order and sends the call to the output of the first one that matches.

The rules of an hours block

Each rule gives an output, with a name. The rules are tested in order; the “otherwise” output is taken when none matches. A rule can be:

  • Days of the week: ticked days and one or more slots, for example 9:00 – 12:30 and 14:00 – 18:00;
  • Specific date or Period: an exceptional closure, summer holidays;
  • 3CX server office hours and Outside 3CX server office hours: the hours set in the 3CX console;
  • 3CX server holidays: the holidays declared in the 3CX console, without copying them into the flow.

Times are those of the 3CX server: check its time zone if your callers are elsewhere.

The example: a reception with a menu, closing time and holidays

  1. Incoming call, then the Opening hours block.
  2. Rule 1, holidays (3CX server holidays): a message, then the operator’s voicemail.
  3. Rule 2, open (Monday to Friday, 9:00 – 12:30 and 14:00 – 18:00): a welcome message, then the menu.
  4. Menu: 1 for sales (extension 201), 2 for support (202), 0 for the operator; with no choice, the voicemail.
  5. Otherwise: the closed message, then the call hangs up.
The hours block in the IVR Canvas editor: the holidays rule before the opening hours one

The holidays rule comes first. In the other order, a holiday falling on a Tuesday would take the “open” output and the caller would reach a menu nobody answers.

Download and import the example

Download the example (.ivrcanvas.json)

The prompts are beeps: replace them with your own WAV PCM 8 kHz, 16 bit, mono files, and the numbers 201, 202 and 100 with yours.

  1. Open the demo, with no account, or your account, and import the file.
  2. Open the tester, pick a date and a time, and tick “Holiday on the 3CX server” to check the holidays output.
  3. Call: the path taken lights up on the plan, block after block.
  4. Export the package for the console or deploy it to 3CX v20.
The IVR Canvas tester: a call transferred to support after key 2, the path taken marked on the plan

Common mistakes

  • “An end time comes before its start time.”: a slot typed the wrong way round, for example 18:00 – 9:00.
  • “Rule "open": check at least one day.”: a weekly rule with no day never matches.
  • An output left unconnected hangs the call up: connect the “otherwise” output, even to a single message.

The other messages, and how to fix them: 3CX call flow compile errors.

Questions

Where are the holidays used by the call flow set?

In the 3CX admin console. The “3CX server holidays” rule reads them at call time: nothing to change in the flow when the list changes.

How do I close the line on a given day?

Add a “Specific date” rule, or a “Period” for several days, before the “open” rule, connected to the closed message.

Try IVR Canvas.

€0 · 10 projects, no credit card.