QUERY_AGENT_STATE_REQ

The QUERY_AGENT_STATE_REQ message, defined in the following tables, allows a client to retrieve the current state of an agent at a specified device.

QUERY_AGENT_STATE_REQ Field Name Message Body Format

Field name

Value

Data type

Byte size

InvokeID

A unique ID generated by the CTI client for each request message. This ID is returned in the corresponding confirmation message.

UINT

4

reserved

Set this value to 1.

UINT

4

reserved

Set this value to 1.

INT

4

reserved

Set this value to 0

INT

4

QUERY_AGENT_STATE_REQ Floating Part Message Body Format

Floating part

Field name

Value

Data type

Maximum size

AgentExtension[4]

The agent’s IP phone number.

STRING

16

AgentInstrument[6]

The agent’s IP phone number. At least one of AgentExtension, AgentID, or AgentInstrument must be provided.

STRING

64

AgentID[194]

The agent’s Unified CCX login ID.

STRING

129