Advanced IVR Tutorial Lesson 2: Integrate with a Relational Database
Lesson 1 shows a generic Java action which can be used to do almost anything from an IVR application. This lesson shows a special Java action that is used to access and modify a relational database. There is nothing special about database Java actions. To IVR Studio, they are the same type of Java actions. However, since IVR applications and relational databases are so closely tied most customers use them in their own environment. For this reason, lesson 2 is dedicated to this topic.
The first part of this lesson uses a Java program for database access.
The second part uses the built-in Database action. By using this feature accessing and updating a relational database from your IVR application is much simpler. You no longer need to write a single line of code in order to access and update a relational database.
This lesson shows:
- Learn more about relational database
- Java Class using JDBC
- Create a Java action to check an entered password
- Use the result to determine which transition to take
- Get more information from the database
- Learn to use a Database Action
The first step of this sample: IVR database Integration is included in IVR Studio. You can access it from the Library program menu. A typical interaction is listed below:
- The sample IVR application answers a call
- Plays a welcome message, asking the caller to enter his/her account number
- Caller enters account number
- System asks caller to enter password
- System checks account number and password against data saved in a relational database. If the password is incorrect, go back to step 2. If the caller has tried more than 3 times, hang up the call
- Plays protected information using Text-to-Speech