Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 500
   
8-11
CTI OS Developer’s Guide for Cisco Unified ICM/Contact Center Enterprise & Hosted
Release 7.5(1)
Chapter 8      Session Object
Methods
Java:
int Disconnect(Arguments args)
.NET:
C
ilError Disconnect(Arguments rArgs)
Parameters
args
An optional arguments array containing the CTIOS_FORCEDDISCONNECT keyword, which 
forces a disconnect even if the Session object rejects the disconnect. This keyword should be added 
to the array if the session mode has not yet been set by SetAgent or SetSessionMode at the time of 
the disconnect.
errorcode
An output parameter (return parameter in VB) that contains an error code from 
 in 
.
Return Values
Default CTI OS return values. See 
DumpProperties
See 
 for a description of the DumpProperties method.
EnableSkillGroupStatistics (C++, Java, and .NET)
The EnableSkillGroupStatistics method starts sending real-time statistics to the session object. If the 
argument array is empty, then statistics for all skillgroups are enabled. This is useful when a monitoring 
application needs to view all statistics without having to enumerate and loop over each statistic to enable 
it.
Syntax
C++/Java:
int EnableSkillGroupStatistics(Arguments & args) 
.NET:
CilError EnableSkillGroupStatistics(Arguments rArgs)
Parameters
args
This parameter has two required values for PeripheralId and SkillGroupNumber. See the Remarks 
section for a code example.
Return Value
Default CTI OS return values. See