Previous Topic

Next Topic

Book Contents

Book Index

Home Page

How to Convert Touch Tones to Specific Words

Some telephony applications will require the ability to accept freeform text input from the user with a high degree of accuracy. Active Call Center's speech recognition features are not useful for accepting freeform input, nor is speech recognition a very accurate means of accepting input.

To address this issue, we have developed a COM object that is capable of translating touch tone input to words by way of a translation table. The basic idea is that the caller enters pairs of touch tone sequences in which pairs of touch tones represent characters and letters. This type of technology is often used when doing touch-tone stock trading.

The COM object used to translate touch tones is called "ACCTools.TouchToneKeyboard". The object has one method (function):

Example

The sample code below illustrates the use of the touch tone converter. Replace the fixed value of the string "23218136216231366163827432#" with the Response variable to use this sample code in a Call Tree. Note that not all line breaks will appear in the correct places depending on the media on which the file is viewed.

' Define a variable for the keyboard object and
' one variable for the phrase.
Dim Keyboard, Phrase
' Create the Touch Tone Keyboard object.
Set Keyboard = _
CreateObject("ACCTools.TouchToneKeyboard")
' Use the object to get the phrase.
Phrase = _
Keyboard.Translate("C:\Program Files\Active Call Center\TouchToneDictionary.txt", _
"23218136216231366163827432#")
' Display the phrase
MsgBox Phrase

Using the default dictionary file that's shipped with Active Call Center, the macro above will translate the touch tones to read "CAT AND MOUSE".

See Also

Call Routing and Flow Control

How to Set the Number of Rings Before Answer

How to Perform Call Transfers / Forwarding

How to Implement Three Way Calling

How to Restrict Access with Passwords

How to Match Touch Tones to Words

How to Page an Operator at the Computer