Cisco Cisco Computer Telephony Integration OS 8.5 Developer's Guide

Page of 640
 
Chapter 4      Building Your Application
Building Supervisor Applications
4-94
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.0(0)
ready, the supervisor will receive a ButtonEnablementChange event.  The 
supervisor should not apply this event since the event does not apply to the 
supervisor’s state.
To determine if an event is monitored, check the payload of the event for the 
“Monitored” field.  If the field exists and is set to true, the event is a monitored 
event.
Requesting and Monitoring the Supervisor’s Team(s)
This section discusses steps 1 and 2 in the flow of a supervisor application.  The 
methods and events listed below are used to request and monitor the team.
Methods Called:
Agent.RequestAgentList(Arguments args)
 
Agent.StartMonitoringAgentTeams(Arguments args)
Events Processed:
eNewAgentTeamMember
 
eMonitoredAgentStateEvent
 
eMonitoredAgentInfoEvent
 
eSkillInfoEvent
The following diagram illustrates the flow of messages between the application 
and CTIOS Server when the supervisor application requests its team and then 
requests to monitor the team.  Since logging in a supervisor is the same as logging 
in an agent, this diagram picks up at the first AgentStateEvent after the agent has 
logged in.