The PlayTouchTones variable offers a simple method of sending touch tone data on TAPI devices that support this capability. This feature is useful for making calling card calls, sending numeric pages, activating PBX features, or for testing other IVR systems. Unlike SendModemCommands, PlayTouchTones will not forcibly disconnect the call and is designed to work with telephony devices other than voice modems (in fact, PlayTouchTones will probably not work with a voice modem).
Using the PlayTouchTones variable is simple: simply set the variable to the tones to play. For example:
PlayTouchTones = "1234#"
Will instruct the device to play 1 2 3 4 followed by the pound sign.
Note that the PlayTouchTones variable, like all Active Call Center variables, is processed after the script has finished executing. PlayTouchTones is the first variable processed after the script has finished - it is processed before even the Speak Variables and Record Variables.
Some customers have pointed out that 3-way calling or conference calling could be accomplished by using the PlayTouchTones feature. One customer indicated that he was able to do conference calling with his Brooktrout card by including flash characters in the PlayTouchTones string. We will not provide technical support for this type of conference calling should you choose to pursue it.
The PlayTouchTones variable does not work well with all hardware. As an alternate means of sending touch tones, we have included in the Examples folder wave audio files of all the various touch tones (DTMF*.wav). Using the audio tools included with Active Call Center and/or the SpeakWave variables, these files can also be used to send simple touch tone (DTMF) data.