Decrease the values of a $COUNTER variable by 1 and then test whether its new value matches a target value.
The voicemail server provides counter variable $COUNTER1 to $COUNTER15. These can be used in the same way as other call variables. They can also be manipulated using Generic action commands for Set Counter , Clear Counter , Counter Decrement and Counter Increment.
They can also be used with the Decrement and Test Counter and Increment and Test Counter actions. By default the initial value of a counter variable is 0. The formats $COUNTERx or $COUNTER[x] are both supported.