Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide

Page of 500
   
8-11
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions
Cisco CTI OS Release 7.2(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 requests that sending real-time statistics to the session object be 
started. 
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 
Remarks
C++ code example:
Arguments & argsStatBroadcast = Arguments::CreateInstance();