Cisco Cisco Customer Voice Portal 8.0(1)

Page of 573
Example of Using the Dynamic Prompt
To use the dynamic prompt, do the following:
In the Set node in a Unified ICME script, set the value of ToExtVXML[0] to:
prompt=http://152.217.34.252/en-us/app/Welcome.wav
In the external VoiceXML file specify the following configuration:
<?xml version="1.0"?>
<vxml version="2.0">
<form id="BilingualMenu" scope="dialog">
<var name="prompt"/>
<field name="caller_input">
<prompt bargein="true" timeout="3s">
<audio expr="prompt"/>
</prompt>
Note: A specific hostname, wav filename, form ID, et cetera, was used for the purpose of this
example. Replace these elements with your own configuration settings.
Notes
If you do not specify a file extension for the file name in the Call.PeripheralVariable, the
default media file extension is applied.
If you set the second VRU script parameter to a value prefixed with a dash and don’t specify
a file name in the corresponding Call.PeripheralVariable, the IVR Service creates a VoiceXML
that does not contain a media prompt.
If you set the second VRU Script Parameter to a value prefixed with a dash and set the “App
Media Library” to V, signifying external VoiceXML, you must specify a VoiceXML file in
the corresponding Call.PeripheralVariable. If you do not, an “Invalid VRU Script Name”
error is returned to ICM. If the specified VoiceXML filename does not contain an extension,
and user.microapp.UseVXMLParams is not set to N, the default extension of .vxml is
automatically added.
You can only specify the name of a single file in the Peripheral Variable. You cannot set this
value to a name/value pair.
For more information, refer to the sections on individual micro-applications in this chapter.
Capture (CAP) Micro-Application
The Capture (CAP) micro-application allows you to trigger the storage of current call data at
multiple points in the ICM routing script. The CAP micro-application must be configured as a
VRU script, and it is executed using a RunExternalScript node, just as with any other Unified
Configuration and Administration Guide for Cisco Unified Customer Voice Portal Release 8.0(1)
155
Chapter 3: Writing Scripts for Unified CVP
Using Unified CVP Micro-Applications