Cisco Cisco Unified Customer Voice Portal 10.5(1)

Page of 210
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 their choice (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 — Tell the user to press either "1" or "2"
YouPressedOne.wav — Confirm the user's choice was "1"
TwoIsBetter.wav — Confirm the user's choice was "2"
JustDontGetIt.wav — Indicate that the user pressed something other than "1" or "2"
holdmusic.wav — This is a preexisting file. Use it to indicates 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 above files, complete the steps in the next task to modify the
customhelloworld script to prompt the user, accept the user's 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's input (a
number) and provide audio feedback based on the number key the user pressed. The task below
assumes you completed the tasks in 
.
Step 1
Access the CVP all-in-one-box server using a program such as VNC Viewer.
Getting Started with Cisco Unified Customer Voice Portal Release 8.0(0)
150
Chapter 10: Expand the Initial Exercises
Process User Input