CALL_DEQUEUED_EVENT

The explicit removal of a call from a queue causes a CALL_DEQUEUED_EVENT message, defined in the following tables, to be sent to the client.

Note that this event is not reported when calls leave a queue "normally" (that is, due to resource availability, call termination, and so on). In those cases, a DIVERTED event is expected. It is not currently anticipated that Unified CCX will need to send this event. One possible exception would be if a call is queued to multiple queues and then a script or some mechanism on Unified CCX dequeues the call from less than all the queues.

CALL_DEQUEUED_EVENT Fixed Part Message Body Format

Fixed part

Field name

Value

Data type

Byte size

reserved

This value is set to 0.

UINT

4

reserved

This value is set to 1.

UINT

4

reserved

This value is set to 21.

USHORT

2

ConnectionDeviceType

The type of device ID supplied in the ConnectionDeviceID floating field. See ConnectionDeviceType Values.

USHORT

2

CallID

The Call ID value assigned to this call by Unified CCX.

UINT

4

ApplicationID

The Application ID of the call.

UINT

4

reserved

This value is set to 0xffffffff.

UINT

4

QueueDeviceType

Indicates the type of device supplied in the QueueDeviceID floating field.

USHORT

2

NumQueued

The number of calls remaining in the queue for this service.

USHORT

2

NumCSQs

The number of CSQs that the call has been removed from, up to a maximum of 20. A zero value indicates that the call has been implicitly removed from all queues.

USHORT

2

LocalConnectionState

The local end state of the connection. For more information, see LocalConnectionState (LCS) Values.

USHORT

2

EventCause

Indicates a reason or explanation for the event occurrence. See Call EventCause (CEC) Values.

USHORT

2

CALL_DEQUEUED_EVENT Floating Part Message Body Format

Floating part

Field name

Value

Data type

Maximum size

ConnectionDeviceID[25] (required)

The device ID between the call and the device.

STRING

64

QueueDeviceID[45] (required)

The device ID of the queuing device.

For Unified CCX this is "".

STRING

64

CSQID[62] (required)

The Contact Service Queue ID of the call.

UINT

4

reserved[63]

This value is set to 0xffffffff.

UINT

4

reserved[64]

This value is set to 0.

USHORT

2