Cisco Cisco Unified Customer Voice Portal 10.0(1) User Guide

Page of 122
C
HAPTER 
3:
 
C
ISCO 
U
NIFIED 
CVP
 
W
ORKSPACE
 
 
V
OICE
XML
 
S
TUDIO 
U
SER 
G
UIDE 
 
 
 
FOR 
C
ISCO 
U
NIFIED 
C
USTOMER 
V
OICE 
P
ORTAL
 
 
 
 
 
 
 
65
VoiceXML Insert Elements 
Definition 
There are certain situations in a voice application where a developer may wish to include pre-
written VoiceXML into their Cisco Unified CVP voice application. The developer may desire 
fine-level control over a specific voice function at the VoiceXML tag level without having to get 
involved with constructing a custom configurable element in Java. Additionally, the developer 
may wish to integrate VoiceXML content that has already been created and tested into a Cisco 
Unified CVP voice application. These situations are handled by a VoiceXML Insert element. 
 
VoiceXML 
Insert Element 
A custom element, built in VoiceXML, providing direct 
control of lower-level voice dialog at the price of 
decreased flexibility. 
 
VoiceXML Insert elements contain VoiceXML code that the developer makes available as the 
content of a VoiceXML <subdialog>. The content can be in the form of static VoiceXML 
files, JSP templates, or even dynamically generated by a separate application server. A 
framework is provided to allow seamless integration of VoiceXML Insert elements with the rest 
of the call flow. 
 
The use of VoiceXML Insert elements has its consequences such as the loss of being able to 
seamlessly switch between different voice browsers, some greater processing overhead involved 
with integration with the rest of the call flow, as well as the added complexity of dealing with 
VoiceXML itself rather than creating an application with easy to use configurable elements. 
VoiceXML Insert elements can have as many exit states as the developer requires, with a 
minimum of one. 
VoiceXML Insert elements can have as many exit states as required, with a minimum of one. 
 
A VoiceXML Insert element is rendered as a page shape.