Cisco Cisco Customer Voice Portal 8.0(1) Developer's Guide

Page of 122
Logger Events
The mechanism by which information is passed to a logger is through an event object. This
object will encapsulate information about what just occurred, including a timestamp. Event
objects are created by VXML Server in many different situations that belong to three levels:
related to global activities, related to an application and related to a call session. The event
object will contain all the information accessible to the logger for the particular event as well
as information about the environment. For global level events, the environment varies. For some
events the environment consists of HTTP information about the request such as parameters and
headers. Other events were activated internally and so do not define any environment information.
For application-level events such as an administration event, the environment consists of
application data and global data (not call data since this event is not affiliated with a call). For
call-level events such as a call start event, the environment consists of information about the
call such as the ANI, element and session data, default audio path, etc. Since the purpose of a
logger is to report information, loggers are limited to obtaining environment information and
cannot change any value. Loggers may still need to store session-related information for its
purposes so to accommodate this VXML Server provides loggers scratch data that is stored in
the session and will be available to the logger only for those events associated with the session.
The following figure shows the class hierarchy for all events both global and application.
Programming Guide for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 8.0(1)
82
Chapter 13: Loggers
VXML Server Logging Design