Cisco Cisco Customer Voice Portal 8.0(1)

Page of 208
Step 11
Place the call to the customhelloworld application: 7005557777 for the comprehensive exercise,
7005551234 for the standalone exercises.
Process User Input
Prerequisites: complete the custom media file exercise. Refer to 
.
The following exercise asks a user to press either 1 or 2, then processes the response (including
any error input) and responds with one of several custom media files you create.
The exercise requires you to create the following custom media files to prompt or respond to
the user:
ChoicesChoices.wav - Tells the user to press either "1" or "2".
YouPressedOne.wav - Confirms the user choice was "1".
TwoIsBetter.wav - Confirms the user choice was "2".
JustDontGetIt.wav - Indicates that the user pressed something other than "1" or "2".
holdmusic.wav - This is a preexisting file. Use it to indicate that the user did not press
anything, even after a second prompt.
To create the custom media files, refer to the topics in 
. Place the files in
C:\Cisco\CVP\VXMLServer\Tomcat\webapps\en-us\app.
Note: For the file holdmusic.wav, just copy it from
C:\Cisco\CVP\OPSConsoleServer\GWDownloads to
C:\Cisco\CVP\VXMLServer\Tomcat\webapps\en-us\app.
After you create and add the preceding files, complete the steps in the next task to modify the
customhelloworld script to prompt the user, accept the user input, and play the proper choice
media file.
Modify customhelloworld for User Input
In this exercise you modify the customhelloworld voice application to accept a user input (a
number) and provide audio feedback based on the number key the user pressed. The following
task assumes you completed the tasks in 
.
Step 1
Access the all-in-one-box server using a program such as VNC Viewer.
Getting Started with Cisco Unified Customer Voice Portal Release 8.0(1)
144
Chapter 11: Expand the Initial Exercises
Process User Input