Cisco Cisco Computer Telephony Integration OS 8.5 Developer's Guide

Page of 546
 
8-37
Cisco ICM Software CTI OS Developer’s Guide Release 6.0(0)
 
Chapter 8      Session Object
Notes On Message Filters
eMonitoredCallServiceInitiatedEvent 
eMonitoredCallQueuedEvent 
eMonitoredCallTranslationRouteEvent 
eMonitoredCallBeginEvent 
eMonitoredCallEndEvent 
eMonitoredCallDataUpdateEvent 
eMonitoredCallReachedNetworkEvent 
eMonitoredCallDequeuedEvent 
eMonitoredAgentPrecallEvent 
eMonitoredAgentPrecallAbortEvent 
To circumvent this restriction, use an equivalent message in the filter 
expression (for example, OnAgentStateEvent instead of 
OnMonitoredAgentStateEvent) and check in the message handler for the 
CTIOS_MONITORED parameter to be TRUE.
void CMyEventSink::OnAgentStateEvent(Arguments & argParams)
{
     if (argParams.IsValid(CTIOS_MONITORED) && 
argParams.GetValueBoolean(CTIOS_MONITORED))
    {
        //Do process the event
    }
}
Filtering Skillgroup Statistics 
One of the most common applications for a filter mode application is the 
processing of only skill group statistics. For this purpose, the specialized filter 
"FilterTarget=SkillGroupStats" is defined. When set, this filter indicates that the 
CTI OS server should forward skill group statistics to the client application, 
whether or not any agents are logged in.