CALL_ESTABLISHED_EVENT

The answering of a call on an IP phone on Unified CCX creates a new call connection and generates a CALL_ESTABLISHED_EVENT message to the client. This is defined in the following tables.

The CallID identifies the call, and the ConnectionDeviceType and ConnectionDeviceID uniquely identify the new call connection that was created. When more than one call with the same CallID value exists, the connection being created by this CALL_ESTABLISHED_EVENT shall apply to the call that does not yet have a destination connection established.

CALL_ESTABLISHED_EVENT Fixed Field Name Message Body Format

Fixed 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

reserved

This value is set to 0xffff.

USHORT

2

lineType (Version 14 and later)

The type of line that helps to identify a business call or a non-business call. This value is set to 3 for a business call and 10 for a non-business call.

USHORT

2

ApplicationID

The Application ID of the call.

UINT

4

reserved

This value is set to 0xffffffff.

UINT

4

CSQID

The Contact Service Queue ID of the call.

UINT

4

reserved

This value is set to 0xffffffff.

UINT

4

reserved

This value is set to 0.

USHORT

2

AnsweringDeviceType

Indicates the type of the device ID supplied in the AnsweringDeviceID 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 CallingDeviceID floating field. See DeviceType Values.

USHORT

2

LastRedirectDeviceType

Indicates the type of the device ID supplied in the LastRedirectDeviceID 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

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

USHORT

2

CALL_ESTABLISHED_EVENT Floating Part Message Body Format

Floating part

Field name

Value

Data type

Maximum size

ConnectionDeviceID[25] (required)

The ID of the connection 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

AnsweringDeviceID[30] (required)

The device ID of the device that answered the call. 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 device ID of the calling device. 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 originally called device. 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 previously alerted device. In CTI Protocol Version 14, the general rules for the Primary.Actual Field Format will apply to this field.

STRING

64