Create a Night/Day switch with automatic toggle: Difference between revisions

From MiRTA PBX documentation
Jump to navigation Jump to search
(Created page with "Let's focus on a common need. A BLF key to change from Night to Day mode, so it can be toggle anytime, but also to be automatic triggered at specified time. The core of this...")
 
No edit summary
Line 1: Line 1:
Let's focus on a common need. A BLF key to change from Night to Day mode, so it can be toggle anytime, but also to be automatic triggered at specified time.
Let's focus on a common need. A BLF key to change from Night to Day mode, so it can be toggle anytime, but also to be automatic triggered at specified time.


The core of this feature is a Flow, so let's start creating a flow containing the definition of a variable used to hold the status.
The core of this feature is a Flow, so let's start creating a Flow containing the definition of a variable used to hold the status.


[[file:flowdaynight1.png|400px]]
[[file:flowdaynight1.png|400px]]
This Flow, assigned the number 864, can be monitored with the BLF 864-DEVEL (DEVEL is the tenant code for the tenant used)
As you may have noticed, there is no destination for this Flow. Let's create a Custom Destination to toggle its status
[[file:toggleflowdaynight1.png|400px]]

Revision as of 08:40, 28 March 2017

Let's focus on a common need. A BLF key to change from Night to Day mode, so it can be toggle anytime, but also to be automatic triggered at specified time.

The core of this feature is a Flow, so let's start creating a Flow containing the definition of a variable used to hold the status.

Flowdaynight1.png

This Flow, assigned the number 864, can be monitored with the BLF 864-DEVEL (DEVEL is the tenant code for the tenant used)

As you may have noticed, there is no destination for this Flow. Let's create a Custom Destination to toggle its status

Toggleflowdaynight1.png