Cisco Cisco Computer Telephony Integration OS 8.5 Developer's Guide

Page of 546
 
4-61
Cisco ICM Software CTI OS Developer’s Guide Release 6.0(0)
 
Chapter 4      Building Your Application
Working with Skill Group Statistics
b.
Set values in the Arguments instance. You must provide the skill group 
number and the peripheral number for each skill group for which you want to 
receive statistics. Use the SetValue(keyword, int) method signature. 
For example: use SetValue(CTIOS_SKILLGROUPNUMBER, sgNumber) 
where sgNumber is an integer for the skill group for which you want to 
receive statistics, and SetValue(CTIOS_PERIPHERALID, 
peripheralNumber) where sgNumber is an integer for the skill group for 
which you want to receive statistics.
Caution
The application must be aware of the Skill Group ID, and the skill 
group’s Peripheral ID, for any skill group to monitor; the 
application cannot dynamically get these values from CTI OS 
Server.
c.
Use the Arguments instance as a parameter for the session’s 
EnableSkillGroupStatistics() method.
d.
Repeat steps b and c for each skill group for which you want to receive 
events. 
Step 7
When the desktop application no longer requires the statistics for a certain skill 
group, the application can disable those statistics. 
a.
Create an instance of the Arguments class.
b.
Set values in the Arguments instance. You must provide the skill group 
number and the peripheral number for each skill group for which you want to 
receive statistics. Use the SetValue(keyword, int) method signature. 
For example: use SetValue(CTIOS_SKILLGROUPNUMBER, sgNumber) 
where sgNumber is an integer for the skill group for which you want to 
receive statistics, and SetValue(CTIOS_PERIPHERALID, sgNumber) where 
sgNumber is an integer for the skill group for which you want to stop 
receiving statistics.
c.
Use the Arguments instance as a parameter for the session’s 
DisableSkillGroupStatistics() method.