How to Perform Conditional Call Processing
Conditional call processing means altering the call flow based on the user's responses. There are two fundamental techniques for accomplishing conditional branching; both are described below. The techniques may be used together or separately.
- First technique: Do built-in conditional processing by setting responses on the Responses tab of the Edit Node window. Step 4 of the Quick-Start Tutorial shows how to branch a call to either Bill or Mary's mailbox using settings on the Responses tab. More discussion on this topic is also located in the chapter on Nodes, and particularly in the section on the Responses Tab.
- Second technique: Perform conditional processing in the VBScript using If-Then or Select-Case statements and set the GotoNode variable appropriately. The macro shown in Step 4 of the Quick-Start Tutorial uses this technique to check for invalid responses and route such calls back to the Answer_Phone Node. More discussion on this technique can be found in the section on the GotoNode variable.
Examples
The Quick-Start Tutorial shows how to build a Call Tree that performs elementary conditional processing.
Another example is given in the section on How to Restrict Access with Passwords.