|
The voice prompts of the top mailbox in the ACME application gives callers menu options to press 1 to leave a message in the company mailbox, 2 to listen to voice information of directions to ACME, or 3 to request a fax directions to the company.
Now that we have created and defined the top mailbox function, it is time to branch the tree structure to create and interconnect the child mailboxes that correspond to the top mailbox's voice menu options.
Adding New Child Mailboxes
There is more than one way to add a new mailbox. Earlier, we dragged and dropped a mailbox with DTMFMenu function from the tool bar to create the top mailbox. Here, we will simultaneously add 3 child mailboxes and their links to the top mailbox by using the Tones and Conditions Table in the Properties window.
Tones are valid touch-tone input choices that the caller can select. Conditions are result from evaluating a function.
In the Tones & Conditions table, tones and conditions are assigned to follow a mailbox, to hang up, or to go to the previous mailbox. Since tones and conditions connect parent mailboxes to their children, they define the branching in Tree Structure. Arranging the Tree Structure is the matter of adding and editing these tones and conditions.
How to Avoid An Infinite Loop For Your Application
Be careful to avoid an infinite loop situation when you create your application. This could happen if mailbox A has a default setting of going to mailbox B, which in turn has a default setting of going back to mailbox A. Test your application to ensure that it will terminate the call.
In this ACME application, we wil only allow 2 attempts for valid entry. If the caller enters invalid touch-tone twice, his call will be terminated.
|