Agent Authentication Without Agent State Change

Typically, to authenticate an agent, the agent ID, password, and the agent's extension are required, and the agent state is changed.

However, if an agent has to be authenticated using just the agent ID and password without changing the agent state, the client must send a SET_AGENT_STATE_REQ with the value of the ForcedFlag field set to 2 and AgentInstrument set to Unknown. The SET_AGENT_STATE_CONF message confirms successful completion of the request.

Table 1 shows the values that must be set in the SET_AGENT_STATE_REQ message to allow for agent authentication without providing an extension.

Example Values in a SET_AGENT_STATE_REQ Message

Field

Value

reserved

1

AgentState

AGENT_STATE_LOGIN (0)

reserved

0

reserved

0

EventReasonCode

0

ForcedFlag

2

AgentExtension

"unknown"

AgentID

"agentid" // Enter the agent ID.

AgentPassword

"password" // Enter the agent password.