Avaya DXX-1015-01 manual Example ADU.Assign loginid=Joe & ts.1.s=wrapup

Page 30

Chapter 3 Event Monitoring

Example: ADU.Assign "loginid=Joe & ts.1.s=wrapup"

In the above example, the client has assigned to the ADU Server, asking it to watch for any ADU that contains the following two values:

“Joe” in the field loginid

￿“wrapup” in the ts.1.s field.

In other words, notify the client every time Joe is in the wrapup state.

An example of a selection criteria string when making an ADU monitor request:

//[ADU.Monitor("adu_id=387cdde0000100000a6403b81f450002 ( type=per & name=jonathan & connectrate=* ) ( type=queue & name=phone_queue & idletime=* )")]

Note the spaces between the parentheses and the type designation.

You can construct complex statements that evaluate multiple conditions by grouping expressions together with parentheses to control the order of evaluation.

A single * character has a special meaning when used as a monitor criteria. It causes all local ADUs (those in the local ADU Server) to be watched. This is used by the IC Manager and should generally be avoided by other applications, as it generates a very large amount of event traffic.

Setting the monitor criteria to a null value (“”) stops monitoring.

The Assign method does not accept special tokens !, +, or the null token in container names. These tokens have specific meanings for a particular ADU and vary from ADU to ADU. The Assign method has no provision for names that do not have ADU-independent meaning.

The Assign and Monitor methods contain criteria strings that allow you to use additional syntax. At the end of the string is a list of fields, called a projection list, enclosed in curly brackets where you can specify filter criteria. The list is comma separated with no spaces between the fields.

For example, {specification,specification...}

You can specify the type of field name in three ways:

1A simple fieldname, such as a, b, or c.

2A wildcard container name, such as a.* or a.*.d. The wildcard designation (*) can be used after a dot (.), at either end of the specification, or followed by a dot (.) in the specification.

3A request to retrieve all of the fields below a specified point in a container tree, as in “a.b?”. This format collects all of the field names below the specified point in container tree. It does not collect field names at its own level or higher on the tree.

Example: +vdu_id> "" {call?,data.*,loginid}

Note: Spaces are optional after the selection criteria and before the projection list. The projection list itself is optional, but no filtering is done without one. If a projection list is used, it cannot be empty.

30 Agent Data Unit Server Programmer’s Guide

Image 30
Contents Avaya Interaction Center Acknowledgment Contents Contents Agent Data Unit Server Programmer’s GuideContacting Technical Support Before YOU BeginTypographical Conventions Font Type MeaningProduct Documentation Readme FileElectronic Documentation Issue 1.0 June 2002 Educational ServicesEducational Services Printed DocumentationAgent Data Unit Server Programmer’s Guide Start-up Procedures Chapter ADU ServerOverview Cooperation of ADU Servers ADU ServerADU Lifecycle Chapter Agent Data UnitDefinition of an ADU ADU CreationListing Active ADUs ADU TerminationAgent Data Unit ADU Data Table Bytes Example Description ContentsAduid AduidADU Contents ADU Contents Core ADU FieldsField Name Description Set By Agent ADU Fields Description Set BySheet 1 Sheet 2 Sheet 3 Voice Data Containers Sheet 4Value Explanation Queue ADU Fields Following ADU fields are used by queues on Avaya ICContainers ContainersContainer Names and Special Tokens Containername .!loginid Limitations of Container SyntaxADU.Update VDU.Update Container ConfigurationsParameter Type Default Description ADU.Create VDU.CreateEDU Values written if tscon is set to true Agent Data Unit Chapter Event Monitoring ADU Event MonitoringDescription Message Starting and Stopping Event Monitoring Event MonitoringSetting Event Monitoring Criteria Setting Event Monitoring CriteriaMonitoring Criteria Syntax Example ADU.Assign loginid=Joe & ts.1.s=wrapup Symbol Definition Description Relational OperatorsBoolean Operators Monitoring Criteria WildcardsWildcard Definition Example Monitoring Criteria Examples Criteria Example DescriptionEvent Monitoring Agent Data Unit Server Programmer’s Guide Chapter Alarms Priority Description Cause/Recommended ActionAlarms System Considerations Chapter ADU Server ConfigurationConfiguration Parameters ADU Server Alias NameADU Server Configuration Configuration Parameters Sheet 4 Set them on the Config tab of the ADU Server Editor dialog Name DescriptionADU Server Configuration Chapter IDL Specification IDL Specification Chapter ADU Server Methods Method ObjectivesException Information Routing Requests Method OverviewADU Server Methods Method Overview Methods ADU.AssignADU.Create ADU.Deassign ADU.DeleteOneValueADU.Deassign ADU.DeleteSubTree ADU.DeleteValuesADU.EventsIn ADU.FindADU.EventsIn ADU.FindByKey Locate an ADU having a key containingADU.ForwardEvent ADU.FindOrCreateADU.ForceTerminate ADU.FindOrCreateADU.GetActive ADU.GetOneValueADU.GetSomeValues ADU.GetSubTreeADU.GetSomeValues ADU.GetValues ADU.GetValueHistoryADU.GetValuesHistory ADU.GetValuesHistoryFirst value that was set was truth ADU.IncrValue ADU.MonitorADU.IncrValue ADU.RemoteWatcher ADU.SetAndTerminateADU.SetDefaultHistoryFilter ADU.SetAndTransferADU.SetAndTransfer ADU.SetHistoryFilter Hsnostart Hsnochange Hsnotransfer Hsnouser HsnodeleteADU.SetOneValue ADU.SetOneValueADU.SetValues ADU.SetValuesExtendedADU.Suspend ADU.TerminateADU.Suspend ADU.TerminateMine ADU.TouchADU.Transfer ADU.TransferADU Server Methods Agent Data Unit Server Programmer’s Guide Symbols IndexIndex AduidIssue 1.0 June 2002 Index Index Index Agent Data Unit Server Programmer’s Guide