Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide

Page of 490
   
8-11
CTI OS Developer’s Guide for Cisco Unified Contact Center Enterprise
Release 8.5(3)
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. Add this keyword to the array 
if the session mode is not 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