Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide
4-73
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
Logger.TRACE_MASK_METHOD_AVG_LOGIC,
methodName,
string.Format("Looking for skillgroup at position {0}", j)) ;
string unknownStr = string.Format(
AgentSelectGridHelper.STRING_UNKNOWN_SG_FORMAT, j) ;
// Keys for individual skillgroups are formatted as SkillGroup[{index}]
//
string sgKey = string.Format(
AgentSelectGridHelper.STRING_SKILLGROUP_FORMAT, j) ;
// Each element of the array is an argument containing
// skillgroup information.
//
Arguments sgInfo ;
if ( !args.GetValueArray(sgKey, out sgInfo) )
{
CtiOsDataGrid.Trace(
Logger.TRACE_MASK_WARNING,
methodName,
string.Format("No skillgroup info at position {0}", j)) ;
m_skillGroupNumbers.Add(unknownStr) ;
}
else
{
string sgStr ;
if ( sgInfo.GetValueString(
Enum_CtiOs.CTIOS_SKILLGROUPNUMBER,
out sgStr) )
{
CtiOsDataGrid.Trace(
Logger.TRACE_MASK_METHOD_AVG_LOGIC,
methodName,
string.Format(
"Found skillgroup number {0} at poisition {1}", sgStr, j)) ;
m_skillGroupNumbers.Add(sgStr) ;
}
else
{
CtiOsDataGrid.Trace(
Logger.TRACE_MASK_WARNING,
methodName,
string.Format("No skillgroup number at poisition {0}", j)) ;
m_skillGroupNumbers.Add(unknownStr) ;
}
}
}
}
Monitoring Agents
This section discusses step 3 in the flow of a supervisor application. The methods and events listed
below are used to monitor an agent.
below are used to monitor an agent.
Methods Called:
Agent.StartMonitoringAgent(Arguments args)