Cisco Cisco Computer Telephony Integration OS 8.5 Guida Dello Sviluppatore
8-31
CTI OS Developer’s Guide for Cisco Unified ICM/Contact Center Enterprise & Hosted
Release 8.0(1)
Chapter 8 Session Object
Notes On Message Filters
Filtering for Specific Events
One of the most powerful types of event filters for custom applications are filters that work on specific
events.
events.
An example of such an application would be an “all agents” real time display, listing the agent states of
all known agents at the call center, using the eAgentStateEvent to receive agent updates. To request
specific events, use the MessageID keyword, and the numeric value for the event ID that you wish to
receive:
all known agents at the call center, using the eAgentStateEvent to receive agent updates. To request
specific events, use the MessageID keyword, and the numeric value for the event ID that you wish to
receive:
‘ register for all eAgentStateEvents
sFilterExpression = “MessageID = 30”
It is also possible to obtain multiple specific events. For example, consider an all calls real-time display
application, using eCallBeginEvent and eCallEndEvent to add or remove calls from a view:
application, using eCallBeginEvent and eCallEndEvent to add or remove calls from a view:
‘ register for all eCallBeginEvents, eCallEndEvents
sFilterExpression = “MessageID = 23, 24”
Events Not Allowed In Filter Expressions
The following events cannot be used in filter expressions:
•
ePreLogoutEvent
•
ePostLogoutEvent
•
eOnConnection
•
eOnConnectionClosed
•
eOnConnectionFailure
•
eOnHeartbeat
•
eOnMissingHeartbeat
•
eOnCurrentCallChanged
•
eOnCurrentAgentReset
•
Events that are part of the IMonitoredAgentEvents interface or the IMonitoredCallsInterface. This
includes the following events:
includes the following events:
–
eOnMonitoredAgentStateChange
–
OnMonitoredAgentInfoEvent
–
OnMonitoredCallDeliveredEvent
–
OnMonitoredCallEstablishedEvent
–
OnMonitoredCallHeldEvent
–
OnMonitoredCallRetrievedEvent
–
OnMonitoredCallClearedEvent
–
OnMonitoredCallConnectionClearedEvent
–
OnMonitoredCallOriginatedEvent
–
OnMonitoredCallFailedEvent
–
OnMonitoredCallConferencedEvent
–
OnMonitoredCallTransferredEvent