CALL_DIVERTED_EVENT

The moving of a call from one device or target to another can cause a CALL_DIVERTED_EVENT message, defined in the following tables, to be sent to the client. Examples of this are a call ringing at one agent and getting diverted to another. Another example is a call getting diverted out of queue to an agent.

CALL_DIVERTED_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

Application ID

The Application ID of the call.

UNIT

4

reserved

This value is set to 0xffffffff.

UNIT

4

DivertingDeviceType

The type of the device ID supplied in the DivertingDeviceID floating field. See DeviceType Values.

USHORT

2

CalledDeviceType

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

USHORT

2

LocalConnectionState

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

USHORT

2

EventCause

A reason or explanation for the occurrence of the event. See Call EventCause (CEC) Values.

USHORT

2

CALL_DIVERTED_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. In CTI Protocol Version 14, the general rules for the Primary.Actual Field Format will apply to this field.

STRING

64

DivertingDeviceID[44] (required)

The device ID of the device from which the call was diverted. 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 device ID of the device to which the call was diverted. In CTI Protocol Version 14, the general rules for the Primary.Actual Field Format will apply to this field.

STRING

64