Download IC Cookbook - Intervoice

Transcript
Recipe 4: Personalization and Databases
Approximate time: 35 minutes, depending on prior experience
What you will learn with this recipe:
•
Obtaining a Caller’s Phone Number Automatically
•
Passing Variables between Domains Using a Name List
•
Using a Database for Persistent Storage
•
Using an If Statement
•
Using TTS to play the content of a Variable
•
Using Built-in grammars
Overview of the Personalization Recipe
With this recipe, you will build a Personalization application project. Personalization means that this application
will try to identify the caller and then tailor the subsequent dialog to that particular caller. This is a very simple
personalized application, but it provides the framework for a large variety of personalization applications.
In the web world, websites are personalized by requiring a user to log in to the website, thus identifying the
user. Once logged in, the user can set various preferences for the site, including the language used, site
layout, and much more. When the user returns to that site on subsequent visits and logs in, the user’s
preferences are stored so that the application can implement them.
The telephone system has a caller ID feature that presents the caller’s phone number and/or the caller’s name
to the called party during the ringing or alerting process. In many automated applications, this caller ID is
sufficient to identify the user to the application, though more secure applications can require a PIN or other
identification from the caller before accessing sensitive information. Caller ID allows telephone applications to
immediately recognize who is calling without making the caller type in logon information.
IVR applications can take advantage of the caller ID capability to simplify and personalize applications.
Personalized preferences and interactions such as presentation language, task sequences, reminders, and
immediate access to non-sensitive information, can be driven from the caller’s ID, which greatly simplifies
regular users’ experiences.
New caller— For a new caller or someone calling from a new phone, the caller’s phone number is not in the
database. If the application’s database query doesn’t return a match for the phone number, the application will
assume that the caller is new.
•
The system will prompt for a four-digit account number, play it back to the caller, and then store the
account number in the database along with the caller’s phone number.
•
When the system adds the caller’s phone and account numbers to the database, it creates a record in
the database for that caller. Both should be stored in the same database record.
Existing caller—When the call is received, the Personalization application captures the caller’s ID (phone
number) and then uses that phone number to query the database. The phone number is the “key” to that user’s
record, and the account number is just another field in the caller’s database record.
•
If there is a match for the caller’s phone number in the database, the database returns the record.
•
The application extracts the account number and therefore does not prompt the caller for it. Instead,
the application simply confirms to the caller: “Your account number is XXXX.” The TTS engine renders
the account number to the caller.
•
The caller’s record can contain any other personal information that you elect to store in the database.
September 2013
Copyright © 2013 Convergys. All rights reserved.
43