Lesson 8.
Integrate with IVR Applications
From lesson 4 to lesson 7, some methods of software integration
are used. For example, lesson 4 shows launching an external
program from an IVR application; lesson 5 shows invoking a Windows
batch file; and lesson 6 shows submitting a form or uploading a
file to a web server. But these examples all showing one
direction: i.e., launching program from an IVR application. No
data is send 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
Video: IVR Java Integration
The Sample
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 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, press 1 to continue and 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.
The rest of the section covers:
|