Cisco Cisco Customer Voice Portal 8.0(1) 릴리스 노트
C
HAPTER
3:
A
DMINISTRATION
U
SER
G
UIDE FOR
C
ISCO
U
NIFIED
CVP
VXML
S
ERVER
AND
C
ISCO
U
NIFIED
C
ALL
S
TUDIO
78
administrator to view the contents of these variables, change their values, and even create new
variables.
variables.
This functionality provides an administrator direct access to live data that is being created on the
system and can provide them some control of how applications operate. This is only possible
when the application designers design that functionality into the applications. For example, an
application designer for a utility company can build their application to look for the existence of
a global data variable reporting a power outage. The administrator then creates the global data
variable when a power outage occurs and automatically the applications will start reporting the
power outage to callers. The administrator can then delete the global data variable to signify the
power has been restored. While this same functionality could be achieved with a database, this is
a simpler approach to handle predictable situations without the need to use a database.
system and can provide them some control of how applications operate. This is only possible
when the application designers design that functionality into the applications. For example, an
application designer for a utility company can build their application to look for the existence of
a global data variable reporting a power outage. The administrator then creates the global data
variable when a power outage occurs and automatically the applications will start reporting the
power outage to callers. The administrator can then delete the global data variable to signify the
power has been restored. While this same functionality could be achieved with a database, this is
a simpler approach to handle predictable situations without the need to use a database.
Global Data Access
To access global data using the JMX interface, navigate to the
Global/Data
MBean. The
Attributes tab lists all the global data variable names in an attribute named
“AllGlobalDataNames” (the value may need to be expanded in order to see all the global data
names). The Operations tab lists four functions that can be executed by the administrator for
global data:
“AllGlobalDataNames” (the value may need to be expanded in order to see all the global data
names). The Operations tab lists four functions that can be executed by the administrator for
global data:
•
setGlobalData
– This function allows the administrator to create a new global data variable.
The function takes two inputs, the first being the name of the variable and the second being
the value. Click on the button to set the global data and the result will appear in a dialog box.
Note that if there exists global data with the same name it will be overridden.
the value. Click on the button to set the global data and the result will appear in a dialog box.
Note that if there exists global data with the same name it will be overridden.
•
removeGlobalData
– This function allows the administrator to delete a global data variable.
The function takes one input: the name of the global data variable to delete. Click on the
button to remove the global data and the result will appear in the dialog box.
button to remove the global data and the result will appear in the dialog box.
•
removeAllGlobalData
– This function allows the administrator to delete all global data,
whether it was created by the administrator or applications. Click on the button to remove all
global data and the result will appear in the dialog box. Be careful when using this function
as it could affect the performance of applications that rely on global data.
global data and the result will appear in the dialog box. Be careful when using this function
as it could affect the performance of applications that rely on global data.
•
getGlobalData
– This function allows the administrator to retrieve the value of a global data
variable. The function takes one input: the name of the global data variable to retrieve. Click
on the button to display a dialog box showing the value of the global data.
on the button to display a dialog box showing the value of the global data.
Application Data Access
To access application data using the JMX interface, navigate to the
VoiceApplication/APPNAME/Data
MBean, where
APPNAME
is the name of the application
whose application data is to be accessed. The Attributes tab lists all the application data variable
names in an attribute named “AllApplicationDataNames” (the value may need to be expanded in
order to see all the application data names). The Operations tab lists four functions that can be
executed by the administrator for application data:
names in an attribute named “AllApplicationDataNames” (the value may need to be expanded in
order to see all the application data names). The Operations tab lists four functions that can be
executed by the administrator for application data: