Flow & Variables: Difference between revisions
Jump to navigation
Jump to search
(Created page with "thumb|400px A flow is a predefined set of destinations that can be used in other Configuration directive. It is like a Macro, allowing to use the s...") |
No edit summary |
||
Line 6: | Line 6: | ||
[[File:flowvariablenightswitch.png|400px]] | [[File:flowvariablenightswitch.png|400px]] | ||
If the value for the variable is changed, the state is changed accordingly. If the state is changed, the variable value is changed accordingly. |
Revision as of 21:57, 24 April 2016
A flow is a predefined set of destinations that can be used in other Configuration directive. It is like a Macro, allowing to use the same steps of destinations in several place and maintain in a single location. It has been joined with a "Variable", a real asterisk variable holding a value. When the Flow/Variable is assigned to a number, it can be monitored with a BLF. The variable or the state of the assigned extension can be changed using feature codes and used in conditions.
A very clever usage of the Flow and Variable is to create a Night/Day Switch as following
If the value for the variable is changed, the state is changed accordingly. If the state is changed, the variable value is changed accordingly.