These features were introduced with Active Call Center 2.6.1.
The LastTouchTone and AllTouchTones variables store touch tones pressed by the user. LastTouchTone stores the last touch tone pressed when Active Call Center was waiting for tone input. AllTouchTones stores all touch tones detected by Active Call Center.
LastTouchTone Variable
The LastTouchTone variable stores the last touch tone that was processed by Active Call Center. This variable is useful for implementing conditional processing in a variety of situations:
After using the LastTouchTone variable, you must reset it to blank to avoid the same value being erroneously used twice. For example:
If LastTouchTone = "*" Then
GotoNode = "Some Node"
' Reset LastTouchTone.
LastTouchTone = ""
End If
The LastTouchTone variable only changes when Active Call Center is looking for touch tone input. Random touch tone entry when Active Call Center is not looking for input have no effect on this value.
AllTouchTones Variable
The AllTouchTones variable stores up to the last 100 touch tones detected by Active Call Center. This variable is useful for implementing sophisticated variable-length menus and/or conditional processing.
You may reset AllTouchTones to avoid the same values being erroneously used twice. For example:
' Reset AllTouchTones.
AllTouchTones = ""
The AllTouchTones variable records any touch tones detected by Active Call Center at any time - even while VBScript Macros are executing.