Axivox User guide
Back to the site

Switch

Tracks the position of a switch your teams flip from a phone or from the interface, without anyone opening the plan editor.

At a glance

Outputsinactive (Inactive) and active (Active)
FieldsSwitch, to choose from those you have created
Where the switch is createdModules, Switches
Positionstwo, never more
Three positions or moreuse the Multi-Switch module
If the triggered output isn't connected to anythingthe call is hung up

How it works

On every call, the platform reads the position of the switch designated in the Switch field, for your installation. A position read exactly as active takes the active output. Everything else takes inactive: the inactive position, of course, but also a switch nobody has ever flipped, whose state therefore doesn't exist yet.

The call then follows the link connected to that output. If that output isn't connected to anything, the call is hung up on the spot, with no announcement. Both outputs must therefore be connected, including the one you think will never be used.

The position is changed outside the editor, from a phone key configured as Switch or from the Modules, Switches list. This change takes effect on the next call, without needing to apply anything.

What to fill in

FieldWhat's expectedIf you leave it blank
Switchthe switch whose position you want to track, chosen from the listno switch is read and the call is hung up as it passes through the module

Step by step

  1. First create the switch in Modules, Switches, with a name that says what it decides, for example "Evening on-call."
  2. In the plan editor, place the Switch module and connect the previous node to its input.
  3. Open it and designate your switch in the Switch field.
  4. Connect the active output to the journey for the active position.
  5. Connect the inactive output to the other journey. Both must be connected.
  6. Hand control to your teams: a phone key configured as Switch, or the Modules, Switches list.
  7. Click Apply changes.
  8. Call the number in question, flip the switch, call back, and check that the journey has changed.

If it doesn't work

All calls go to inactive. The position read isn't the active position. A switch nobody has flipped yet has no state and counts as inactive. Check its position in Modules, Switches, and while you're there check that it's really the one the module designates: two switches with similar names are easily confused.

The call is hung up as it passes through the module. One of the two outputs isn't connected to anything, or no switch is designated in the Switch field. Connect active and inactive, and reopen the module to check its setting.

Flipping the switch doesn't change the call. The position is read again on every call; it doesn't require clicking Apply changes. A change to the plan itself, on the other hand, does require it: until it's applied, calls follow the previous version.

The Switch field's list is empty. No switch exists yet in your installation. Create one in Modules, Switches, then reopen the module.

How the call flow is built, explained in pictures

See the Dial plans page