Advanced IVR Tutorial Lesson 1: Overview
From lesson 4 to lesson 7, some methods of software integration are utilized. For example, lesson 4 shows launching an external program from an IVR application. Lesson 5 demonstrates invoking a Windows batch file and lesson 6 demonstrates submitting a form or uploading a file to a web server. But these examples all showing one direction: launching a program from an IVR application. No data is sent back to the IVR application for processing.
This lesson shows how to:
- write a Java class for the IVR Java action
- get and use the information returned from a Java or HTTP action
The complete sample is listed below. Compared with the sample used in Part I, step 6 and 7 are new. In these steps, the caller is asked to select from a list of call list files.
- The sample IVR application answers a call
- Plays a welcome message, asking the caller to enter the password
- If the password is incorrect, go back to step 2. If the caller has tried more than 3 times, log the caller ID and hang up the call
- Asks the caller to record a voice message
- Asks the caller to listen to the recorded voice message then press 1 to continue or press 2 to record again
- Asks the caller to select a call list for the broadcast
- Start Voicent BroadcastByPhone with the recorded message and call list
- Hang up the phone
In this lesson a Java program is used to obtain a list of available call list files.