Cisco Cisco Computer Telephony Integration OS 8.5 Guía Del Desarrollador
Chapter 9 Agent Object
Methods
9-46
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.0(0)
Parameters
args
Arguments array that contains the constant CTIOS_AGENTREFERENCE set
to the string value of the UniqueObjectID of the agent to be monitored.
to the string value of the UniqueObjectID of the agent to be monitored.
errorcode
An output parameter (return parameter in VB) that contains an error code
from
from
in
Return Value
Default CTI OS return values. See
Remarks
This request is specific to the Supervisor feature and should only be used on
switches or configurations that have the necessary support (currently, Cisco IPCC
only).
switches or configurations that have the necessary support (currently, Cisco IPCC
only).
The following code snippet gets the unique object ID string for an agent, then uses
uses the SetValue method to store the agent object id and string constant
CTIOS_AGENTREFERENCE in an arguments array.
uses the SetValue method to store the agent object id and string constant
CTIOS_AGENTREFERENCE in an arguments array.
String StrUID = agent.GetValueString(CTIOS_UNIQUEOBJECTID Id);
arg.SetValue(CTIOS_AGENTREFERENCE, StrUID);
StartMonitoringAgentTeam
The StartMonitoringAgentTeam method allows the client, which must be a
supervisor, to start monitoring the specified agent team. A client supervisor uses
this method to receive all of the OnMonitorAgentStateChange events for every
agent on the specified team.
supervisor, to start monitoring the specified agent team. A client supervisor uses
this method to receive all of the OnMonitorAgentStateChange events for every
agent on the specified team.
Syntax
C++:
int StartMonitoringAgentTeam (Arguments& args)
COM:
HRESULT StartMonitoringAgentTeam (/*[in]*/ IArguments args,
/*[out,retval]*/ int * errorcode)