CALL_QUEUED_EVENT

The placing of a call in a queue pending the availability of some resource causes a CALL_QUEUED_EVENT message, defined in the following tables, to be sent to the client.

Clients with Client Events Service can receive this message when an outbound call is queued waiting for a resource. Clients with All Events Service can also receive this message when inbound calls are queued.

CALL_QUEUED_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[77]

The Application ID of the call.

UINT

4

reserved

This value is set to 0xffffffff.

UINT

4

QueueDeviceType

Indicates the device ID type supplied in the Queue DeviceID floating field. See DeviceType Values.

USHORT

2

CallingDeviceType

Indicates the device ID type supplied in the CallingDeviceID floating field. See DeviceType Values.

USHORT

2

CalledDeviceType

Indicates the device ID type supplied in the CalledDeviceID floating field. See DeviceType Values.

USHORT

2

LastRedirectDeviceType

Indicates the device ID type supplied in the LastRedirect DeviceID floating field. See DeviceType Values.

USHORT

2

reserved

This value is set to zero.

USHORT

2

NumCSQs

The number of CSQs to which the call has queued, up to a maximum of 20.

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_QUEUED_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. This is the CTI Port that the call is on. In CTI Protocol Version 14, the general rules for the Primary.Actual Field Format will apply to this field.

STRING

64

QueuedDeviceID [45] (required)

The ID of the queuing device. In CTI Protocol Version 14, the general rules for the Primary.Actual Field Format will apply to this field.

STRING

64

CallingDeviceID[27] (optional)

The calling line ID (if any). In CTI Protocol Version 14, the general rules for the Primary.Actual Field Format will apply to this field.

STRING

64

CalledDeviceID[28] (required)

The DN of the Route point that was called. In CTI Protocol Version 14, the general rules for the Primary.Actual Field Format will apply to this field.

STRING

64

LastRedirectDeviceID[29] (optional)

The device ID of the redirecting device. In CTI Protocol Version 14, the general rules for the Primary.Actual Field Format will apply to this field.

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