Cisco Cisco Computer Telephony Integration OS 8.5 Developer's Guide
4-77
CTI OS Developer’s Guide for Cisco Unified ICM/Contact Center Enterprise & Hosted
Release 7.5(1)
Chapter 4 Building Your Application
Building Supervisor Applications
•
Enable barge-in on agent
•
Enable intercept call
The application uses the bitmask carried by this event, to enable or disable the functionality listed above.
The ProcessSupervisorButtonChange() method in SupervisorUIManager illustrates how to process this
event.
The ProcessSupervisorButtonChange() method in SupervisorUIManager illustrates how to process this
event.
Monitored Call Events
Note that the majority of events listed with StartMonitoringAgent() are monitored call events. These
events inform the supervisor of monitored agent’s calls beginning, ending, and changing. The combo
desktop uses these events to populate its monitored calls grid.
events inform the supervisor of monitored agent’s calls beginning, ending, and changing. The combo
desktop uses these events to populate its monitored calls grid.
Making Agents Ready and Logging Agents Out
When StartMonitoringAgent() is called for a given agent, the supervisor application will begin receiving
SupervisorButtonChange events. This event may indicate that the monitored agent is in a state where
the supervisor can make the agent ready or log the agent out. The following paragraphs describe how a
supervisor application can make an agent on the supervisor’s team ready or log the agent out.
SupervisorButtonChange events. This event may indicate that the monitored agent is in a state where
the supervisor can make the agent ready or log the agent out. The following paragraphs describe how a
supervisor application can make an agent on the supervisor’s team ready or log the agent out.
To make an agent ready, the desktop calls the method Agent.SetAgentState(). When calling this method,
the agent object representing the monitored agent is used as the target of the method. The parameter is
an Arguments object populated with the following key/value pairs.
the agent object representing the monitored agent is used as the target of the method. The parameter is
an Arguments object populated with the following key/value pairs.
To logout an agent, the desktop calls the method Agent.SetAgentState(). When calling this method, the
agent object representing the monitored agent is used as the target of the method. The parameter is an
Arguments object populated with the following key/value pairs.
agent object representing the monitored agent is used as the target of the method. The parameter is an
Arguments object populated with the following key/value pairs.
Key
Value
SupervisorID
The ID of the supervisor who is making the agent
ready. This value is the value of the AgentID key
associated with the current agent (the current agent
is the agent passed into the call to
Session.SetAgent() when first logging in the agent).
ready. This value is the value of the AgentID key
associated with the current agent (the current agent
is the agent passed into the call to
Session.SetAgent() when first logging in the agent).
AgentState
The state to which to set the agent. In this case, the
state is ready (integer with value 3).
state is ready (integer with value 3).
Key
Value
SupervisorID
The ID of the supervisor who is
making the agent ready. This value is
the value of the AgentID key
associated with the current agent (the
current agent is the agent passed into
the call to Session.SetAgent() when
first logging in the agent).
making the agent ready. This value is
the value of the AgentID key
associated with the current agent (the
current agent is the agent passed into
the call to Session.SetAgent() when
first logging in the agent).