Release Note для Cisco Cisco Customer Voice Portal 8.0(1)

Скачать
Страница из 152
C
HAPTER 
2:
 
Unified CVP
 
C
OMPONENTS IN 
D
ETAIL
 
 
U
SER 
G
UIDE FOR 
C
ISCO 
U
NIFIED 
CVP
 
VXML
 
S
ERVER 
 
 
 
AND 
C
ISCO 
U
NIFIED 
C
ALL 
S
TUDIO
 
 
 
 
36 
desired with them. Typically the logger will store that information somewhere such as a log file, 
database or reporting system.  
VXML Server includes default loggers that store the information obtained from logging events 
to parse-able text log files. A need may exist, however, for a logger with functionality not 
available in the default installation or a logger that takes the same data and stores it using a 
different mechanism. 
To satisfy these concerns, a developer can construct custom loggers that listen for logger events 
and report them in their own way. The developer can design the logger to use a configuration to 
customize how the logger functions, depending on how flexible it needs to be.  Due to the level 
of integration with the Unified CVP software required, only the Java API provides the means for 
building loggers.  
Refer to Chapter 5: VXML Server Logging in the section entitled Application Loggers for 
descriptions of the loggers included with VXML Server. Refer to the Programming Guide for 
Cisco Unified CVP VXML Server and Cisco Unified Call Studio for a description of the process 
of building custom loggers. 
On Error Notification 
When errors occur on the VXML Server, the application-specific error voice element will handle 
how to handle the caller. If specified, the on error notification Java class can be configured to be 
activated when an error occurs. The class is given information about the application and some 
basic call information to allow the developer to specify the action accordingly. The developer 
can write this class to perform whatever they wish. 
The most common purpose for the on error notification class is to perform some custom 
notification, something to indicate at runtime that an error occurred. This could involve paging 
an administrator or integrating with a third-party trouble ticket and notification process. Since the 
notification usually involves an administrator whose responsibility is the entire VXML Server, 
the Java class, once specified, will apply to any error that prematurely ends a call on any Unified 
CVP application. 
Note that this class is used for notification purposes; it does not allow the call to recover from the 
error. Note also that there is no XML API equivalent for the on error notification; if done at all, it 
must be written in Java. 
Unified CVP XML Decisions in Detail 
Many commercial applications with decisions driven by business logic utilize an external rules 
engine to codify the definition of rules. These rules engines help describe the definition of a rule 
and then manage the process of making decisions based on the criteria at hand. VXML Server 
bundles a rule engine in the standard installation and provides an XML data format for defining