4.9.5 Decrement and Test Counter

Decrease 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 Decrement 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 decrement 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 248

IP Office Release 6

15-601063 Issue 22e (16 May 2010)

Page 248
Image 248
Avaya 6 manual Decrement and Test Counter, ∙ Value to test counter against