Allows attribute level monitors on the Interaction Center system.

Namespace: ININ.IceLib.Interactions
Assembly: ININ.IceLib.Interactions (in ININ.IceLib.Interactions.dll) Version: 0.0.0.0 (22.2.0.330)

Syntax

C#
public class InteractionAttributeMonitor
Visual Basic
Public Class InteractionAttributeMonitor

Remarks

Use this class to be notified of interactions that have an attribute set to a specific value. For ex. an application would like to know about attributes "Eic_State, Eic_CallId" on all interactions that have CallClassification attribute set to "Emergency". Please refer to ININ.People.UserDataSettings.AllowedClassificationList to get a list of call classifications that you have access to.

Examples

CallClassification attribute set to "Emergency" can be represented by AttributeMonitorId. InteractionAttributeMonitor should be used to
CopyC#
string attributeValue = "Emergency";

InteractionsManager manager = InteractionsManager.GetInstance(_Session);

AttributeMonitorId monitorId = new AttributeMonitorId(InteractionAttributeName.CallClassification, attributeValue);
InteractionAttributeMonitor monitor = new InteractionAttributeMonitor(manager, monitorId);

string[] attributes = new string[] { "Eic_State", "Eic_CallId" };

monitor.StartWatching(attributes);
The object "monitor" will start receiving notifications as long as CallClassification attribute is set to "Emergency" on any interactions. InteractionAttributesEventArgs contains the interactions that match AttributeMonitorId.

Note
When monitoring emergency calls, be sure to monitor the following attributes. These attributes contain originating station's (the station from which emergency call was made) emergency information.

Inheritance Hierarchy

System..::..Object
  ININ.IceLib.Interactions..::..InteractionAttributeMonitor

Version Information

Supported for IC Server version 2015 R1 and beyond.
For 4.0, supported for IC Server version 4.0 GA and beyond.
For 3.0, supported for IC Server version 3.0 SU 6 and beyond.

See Also