Cisco Cisco Unified Customer Voice Portal 10.5(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
 
 
 
 
 
 
 
98
There are two ways that a dynamic configuration can be delivered: by either a Java class using a 
Cisco-specified Java API or by an online process using a Cisco-specified API for sending XML 
data over HTTP. The Java API approach is a high performance solution because all actions are 
run by compiled Java code. The Java class that returns the element configuration must be 
specified in full (including package name). The XML-over-HTTP approach affords developers 
the ability to utilize any programming language for generating element configurations. The only 
requirement is the use of a system that can return XML based on an HTTP request made by 
Cisco Unified CVP VoiceXML Server. The URI to the online system that uses the XML API 
must be specified. 
A dynamic configuration does not have to generate the entire configuration, a fixed base 
configuration can be made in Builder for VoiceXML Studio that is then accessed by the dynamic 
configuration and modified to yield the final configuration. This way, an element with only a few 
dynamic configuration options can define all static content in Builder for VoiceXML Studio 
using the element configuration pane and write the dynamic configuration Java class or URI to 
add only those few options in addition to it. In this case, check the Create Base Configuration 
checkbox. There are, however, times when the configuration needs to be completely dynamic 
and a base configuration is not needed. In this case, Builder for VoiceXML Studio will not create 
a fixed configuration, regardless of what is entered in the element configuration pane. 
For more information on writing dynamic element configurations, see the VoiceXML Server 
User Guide for Cisco Unified Customer Voice Portal
 and Programming Guide for Cisco Unified 
Customer Voice Portal
Custom Logging 
Any element can add custom data to the log produced by Cisco Unified CVP VoiceXML Server. 
This data can be used for analysis purposes or for help during the development and debugging 
process. 
 
The text given in the name and value columns will be stored in the action and description 
columns of the application’s activity log, respectively. The value can also include a substitution 
string to allow for dynamic data to be inserted into the log. For each name/value pair, the 
designer can choose whether to add to the log before the element is entered or after the element 
has returned an exit state. This would be applicable only if the value used substitution that 
referred to element or session data created or modified by the element itself. 
See the VoiceXML Server User Guide for Cisco Unified Customer Voice Portal for more on 
logging with Cisco Unified CVP VoiceXML Server.