Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 500
   
8-3
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions
Cisco CTI OS Release 7.2(1)
Chapter 8      Session Object
Methods
Methods
 lists the available session object methods.
TryingServer
STRING
Contains the name or TCP/IP address of the server where a 
connection is being attempted. The value is blank if no 
connection is being attempted (see CurrentServer). The name of 
the server should be the name of CTI OS server A or B. 
TryingSince
INT
Time of day in milliseconds when try began.
Table 8-1
Session Properties (continued)
Keyword
Type
Description
Table 8-2
Session Object Methods 
Method
Description
AddEventListener
Subscribes a  .NET IGenericEvents object as a listener on a particular 
subscriber list.
AddListener methods
Registers the subscriber for an event listener.
Connect
Establishes a connection to a CTI OS server.
CreateSilentMonitorManager Creates a SilentMonitorManager object instance.
CreateWaitObject
Creates and returns the pointer to a new CWaitObject.
DestroySilentMonitor 
Manager
Deletes a SilentMonitorManager object instance.
DestroyWaitObject
Destroys the specified wait object
Disconnect
Closes the connection to the CTI OS server.
DumpProperties
See 
GetAllAgents
Returns a collection of all the agents in the session.
GetAllCalls
Returns a collection of all the calls in the session.
GetAllProperties
See 
GetAllSkillGroups
Returns a collection of all the skill groups in the session.
GetCurrentAgent
Returns the currently selected agent.
GetCurrentCall
Returns the currently selected call.
GetCurrentSilentMonitor
Returns a pointer to the SilentMonitorManager object instance that is 
set as the current manager in the CTI OS session object.
GetElement
See 
GetNumProperties
See 
GetObjectFromObjectID
Returns a Call, Agent, or SkillGroup, given the object’s 
UniqueObjectID.
GetPropertyName
See 
GetPropertyType
See 
GetValue
See