Cisco Cisco Customer Voice Portal Downloads 用户指南
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
55
Configurable Elements
Configurable elements are pre-built, pre-tested elements that are designed for reusability. In
order to make an element reusable, it must have a mechanism to modify its behavior according to
the wishes of the application designer. This is done via a configuration. Each element defines its
own configuration and that configuration is available to the designer via the Element
Configuration pane, which is displayed when the element is selected in the workspace.
Configurable Element Types
Configurable elements come in three flavors; Voice elements, Action elements, and Decision
elements. There are four parts to an element’s configuration:
elements. There are four parts to an element’s configuration:
Settings
Audio groups
VoiceXML properties
Data
Voice elements use all four parts while Action and Decision elements use only Settings and
Data. Refer to the following sections for a more complete description.
Data. Refer to the following sections for a more complete description.
Configurable Action Elements
Definition
Many voice applications require actions to occur “behind the scenes” at some point in the call. In
these cases, the action does not produce VoiceXML. Instead, an Action element makes a
calculation, interfaces with a back-end system such as a database or legacy system, stores data to
a file or notifies an outside system of a specific event. All of these potentialities are built into
Action elements.
these cases, the action does not produce VoiceXML. Instead, an Action element makes a
calculation, interfaces with a back-end system such as a database or legacy system, stores data to
a file or notifies an outside system of a specific event. All of these potentialities are built into
Action elements.
Action Element
Encapsulates business logic and performs tasks which do
not branch the call flow.
not branch the call flow.
An Action element can be thought of as a way to insert custom code directly in the call flow. For
example, an Action element could retrieve and store a current stock price or serve as a mortgage
rate calculator, storing the rate after using information entered by the caller.
example, an Action element could retrieve and store a current stock price or serve as a mortgage
rate calculator, storing the rate after using information entered by the caller.
Since Action elements do not affect the call flow, they will always have a single exit state.
The configuration for a configurable Action element contains two components: settings and
variables.
variables.