Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 508
   
9-13
CTI OS Developer’s Guide for Cisco Unified ICM/Contact Center Enterprise & Hosted
Release 8.0(1)
Chapter 9      Agent Object
Methods
EnableAgentStatistics
The EnableAgentStatistics method is sent by an agent to request that real-time statistics be sent to that 
agent. 
Syntax
C++:
int EnableAgentStatistics(Arguments& reserved_args)
COM:
HRESULT EnableAgentStatistics (/*[in]*/  IArguments* reserved_args, /* [out, 
retval]*/ int * errorcode)
VB:
EnableAgentStatistics (reserved_args As CTIOSCLIENTLib.IArguments) As Long
Java:
int EnableAgentStatistics(Arguments args)
.NET:
CilError EnableAgentStatistics(Arguments args)
Parameters
reserved_args
Not currently used, reserved for future use.
Java/.NET:args
Not currently used, reserved for future use.
errorcode
An output parameter (return parameter in VB) that contains an error code from 
 in 
Return Value
Default CTI OS return values. See 
Remarks
The CTI OS server sends agent statistics in an OnAgentStatistics event. See the
 
section in 
for an explanation of the PollingIntervalSec and 
PollForAgentStatsAtEndCall registry settings and how these settings affect the refresh rate of agent 
statistics.
EnableSkillGroupStatistics
The EnableSkillGroupStatistics method is sent by an agent to request that real-time statistics be sent to 
that agent. If the argument array is empty, then statistics for all skillgroups are sent. 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++:
int EnableSkillGroupStatistics (Arguments& optional_args)
COM:
HRESULT EnableSkillGroupStatistics (/*[in]*/  IArguments * optional_args, /* [out, 
retval]*/ int * errorcode)