Cisco Cisco Computer Telephony Integration OS 8.5 Guia Do Programador

Página de 500
   
6-13
CTI OS Developer’s Guide for Cisco Unified ICM/Contact Center Enterprise & Hosted
Release 7.5(1)
Chapter 6      Event Interfaces and Events
ISessionEvents Interface
ScreenPreferences – Arguments array that contains the information configured in the CTI OS 
server registry’s ScreenPreferences/Name subtree. The ScreenPreferences array contains an 
element MainScreen, which is an Arguments array that contains the following key-value pairs:
You can add custom keys to the CTI OS registry in the ScreenPreferences subtree at the same 
level as the “MainScreen” key. The ScreenPreferences Arguments array within this event will 
contain items corresponding to these custom keys. Any custom key that you add must follow 
the same hierarchy in the registry as that used by the existing top level keys.
Registry values added to the MainScreen registry key on the CTI OS server are passed to the 
client in the OnGlobalSettingsDownloadConf event. Subkeys added to the MainScreen registry 
key are not passed in this event. 
The format of the ScreenPreferences Arguments array follows.
SoundPreferences – Arguments array that contains information configured on the CTI OS 
server in the SoundPreferences/Name subtree. This array includes a nested Arguments array 
that includes a setting for each sound, including .wav files to be played, and whether or not each 
one is mute. It may also include custom name/value pairs for a custom application. 
Keyword
Value
AgentStatisticsIntervalSec integer
BringToFrontOnCall
boolean
FlashOnCall
boolean
RecordingEnabled
boolean
“ScreenPreferences”, <Arguments array>
“MainScreen”, <Arguments array>
“BringToFrontOnCall”, 1
“FlashOnCall”, 0
“CustomName”, “CustomValue”
...
“CustomScreen”, <Arguments array>
“BringToFrontOnCall”, 1
...
“CustomName”, “CustomValue”