
Voicemail Pro Actions: Condition Actions
4.9.6 Increment and Test Counter
Increase the values of a $COUNTER variable by 1 and then test whether its new value matches a target value.
Voicemail Pro 5.0+ provides counter variable $COUNTER1 to $COUNTER15. These can be used in the same way as other variables. They can also be manipulated using Generic 184 action commands for Set Counter 194 , Clear Counter 190 , Counter Decrement 191 and Counter Increment 192 . They can also be used with the Decrement and Test Counter 248 and Increment and Test Counter 249 actions. By default the initial value of a counter variable is 0. The
formats $COUNTERx or $COUNTER[x] are both supported.
Settings
1.Click the
Conditions Actions icon and select
Increment and Test Counter.
2.The General 176 , Entry Prompts 177 , Reporting 182 and Results 183 tabs are standard tabs available to all actions.
3.The following controls are available on the Specific tab:
∙Select Counter
Select the $COUNTER variable to increment and then test. $COUNTER1 to $COUNTER15 can be selected by entering 1 to 15 respectively.
∙Value to test counter against
This can be a number or another call variable. When the counter matches the value the True result connection is used, otherwise the False result connection is used.
Results
This action has the following results which can be connected to further actions:
∙True
This result connection is used if the counter value matches the test value.
∙False
This result connection is used if the counter value does not match the test value.
Voicemail Pro Installation and Maintenance | Page 249 |
IP Office Release 6 |