Cisco Cisco Customer Voice Portal 8.0(1) Betriebsanweisung

Seite von 157
Element and Session Data
Much like variables in programming, elements in a voice application share data with each other.
Some elements capture data and require storage for this data. Other elements act upon the data
or modify it. These variables are the mechanism for elements to communicate with each other.
The data comes in two forms: element data and session data.
Element data are variables that exist only within the element itself, can be accessed by other
elements, but can only be changed by the element that created them.
Session data are variables that can be created and changed by any element as well as some
other non-element components.
Exit States
Each element in an application's call flow can be considered a black box that accepts an input
and performs an action. There may be multiple results to the actions taken by the element. In
order to retain the modularity of the system, the consequences of these results are external to
the element. Like a flowchart, each action result is linked to another element by the application
designer. The results are called exit states. Each element must have at least one exit state and
frequently has many. The use of multiple exit states creates a branched call flow.
Customizability
Most elements require some manner of customization to perform specific tasks in a complex
voice application. Customization is accomplished through three different mechanisms supported
by Unified CVP: a fixed configuration for the element, a Java API to dynamically configure
pre-built elements or to define new ones, and an API accessed via XML-data delivered over
http to do the same.
The fixed configuration approach provides a static file containing the element configuration
so that each time the element is visited in the call flow it acts the same. Even in dynamic
voice applications, not every component need be dynamic; many parts actually do not need
to change.
The Java API approach is used for dynamic customization and is a high performance solution
because all actions are run by compiled Java code. The one drawback to this approach is that
it requires developers to have at least some Java knowledge, though the Java required for
interfacing with the API is basic.
The XML-over-HTTP (or XML API for short) approach affords developers the ability to
utilize any programming language for the customization of elements. The only requirement
is the use of a system that can return XML based on an HTTP request made by VXML Server.
The advantages of this approach include: a larger array of programming language choices,
the ability to physically isolate business logic and data from the voice presentation layer and
the use of XML, which is commonly used and easy to learn. The main disadvantage of this
approach is the potential for HTTP connection problems, such as slow or lost connections.
Additionally, the performance of this approach does not typically perform as well as compiled
Java because XML must be parsed at runtime in both VXML Server and the external system.
Note: HTTPs is not supported with XML-over-HTTP.
User Guide for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 8.0(1)
14
Chapter 1: Introduction
The Unified CVP Solution