Two-state routing switches you can flip from any phone
Day/Night, Open/Closed, Normal/Holiday — wire it once, flip it from your desk phone, the web, or a BLF button.
Toggle Switch nodes route calls down one of two paths based on a state stored in Asterisk's runtime database. The state can be flipped three ways: dial a feature code from any phone, click a button in the web UI, or press a BLF button on a desk phone (which lights up with the current state).
What this lets you do
- Drop a Toggle Switch node into any flow. Wire State A and State B to different destinations.
- Pick a feature code (
*60–*66). - Pick state labels — Day Mode / Night Mode, Open / Closed, Normal / Holiday, or anything custom.
- The switch shows live state on the call flow canvas (green = State A, red = State B), with a pulsing dot when traffic is currently flowing through it.
How to flip it
- From any phone — dial the feature code (e.g.
*60). - From the web — open the toggle's modal and click "Set State A" or "Set State B".
- From a desk phone with BLF — program the feature code as a BLF button. The light reflects current state, and pressing it flips the switch.
Worth knowing
State persists across Asterisk restarts (stored in AstDB). Live changes broadcast over WebSocket so every open browser tab sees the new state immediately. The dialplan auto-seeds the configured default state if the switch has never been set — so a brand-new flow routes correctly on the very first call.
Wire up a Day/Night toggle in your own flow — start a free trial.
