Cisco Cisco Computer Telephony Integration OS 8.5 Developer's Guide

Page of 500
   
4-72
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions
Cisco CTI OS Release 7.2(1)
Chapter 4      Building Your Application
Building Supervisor Applications
Please refer to CtiOsDataGrid.AgentSelectGridHelper as an example of handling the 
OnNewAgentTeamMember event.
Column
Event
Field
Name
OnNewAgentTeamMember
OnMonitoredAgentStateChange
OnMonitoredAgentInfoEvent
Enum_CtiOs.CTIOS_AGENTFIRST
 
NAME
Enum_CtiOs.CTIOS_AGENTLAST
 
NAME
Login Name
OnMonitoredAgentStateChange
OnMonitoredAgentInfoEvent
Enum_CtiOs.CTIOS_LOGINNAME
Agent ID
OnNewAgentTeamMember
OnMonitoredAgentStateChange
OnMonitoredAgentInfoEvent
Enum_CtiOs.CTIOS_AGENTID
Agent State
OnNewAgentTeamMember
OnMonitoredAgentStateChange
Enum_CtiOs.CTIOS_STATE
Time in State OnMonitoredAgentStateChange See the section 
.
Skill Group
OnMonitoredAgentStateChange Enum_CtiOs.CTIOS_NUMSKILL
 
GROUPS
Skill Name
OnSkillInfoEvent
See the section 
.
Available for 
Call
OnNewAgentTeamMember
Enum_CtiOs.CTIOS_AGENT
 
AVAILABILITYSTATUS
Note
The Skill Group column lists the field from the Arguments object as CTIOS_NUMSKILLGROUPS.  
This field tells the developer how many skill groups the agent belongs to.  To obtain information about 
each of the agent’s skill groups the developer should construct the following loop to get information 
about each of the agent’s skill groups (code taken from the sample source file 
CtiOsDataGrid\AgentSelectGridHelper.cs).
// Check to see if the event carries an array of skillgroups
// (OnNewAgentTeamMember)
//
int numGroups ;
if ( args.GetValueInt(Enum_CtiOs.CTIOS_NUMSKILLGROUPS, out numGroups) )
{
    CtiOsDataGrid.Trace(
        Logger.TRACE_MASK_METHOD_AVG_LOGIC,
        methodName,
        "Found skillgroup numbers") ;
    m_skillGroupNumbers.Clear() ;
    for ( int j = 1 ; j <= numGroups ; j++ )
    {
        CtiOsDataGrid.Trace(