Enumeration AGENT_EVENTS

Events emitted by the agent service for various state changes and actions

Remarks

Enumeration of all possible events that can be emitted by the agent service. These events can be used to track and respond to changes in agent state, login status, and other important agent-related activities.

Enumeration Members

AGENT_DN_REGISTERED: "agent:dnRegistered"

Emitted when an agent's directory number is successfully registered

AGENT_LOGOUT_FAILED: "agent:logoutFailed"

Emitted when logout attempt fails

AGENT_LOGOUT_SUCCESS: "agent:logoutSuccess"

Emitted when an agent successfully logs out

AGENT_MULTI_LOGIN: "agent:multiLogin"

Emitted when multiple logins are detected for the same agent

AGENT_RELOGIN_SUCCESS: "agent:reloginSuccess"

Emitted when an agent successfully re-authenticates

AGENT_STATE_CHANGE: "agent:stateChange"

Emitted when an agent's state changes (e.g., Available to Idle)

AGENT_STATE_CHANGE_FAILED: "agent:stateChangeFailed"

Emitted when agent state change attempt fails

AGENT_STATE_CHANGE_SUCCESS: "agent:stateChangeSuccess"

Emitted when agent state change is successful

AGENT_STATION_LOGIN_FAILED: "agent:stationLoginFailed"

Emitted when station login attempt fails

AGENT_STATION_LOGIN_SUCCESS: "agent:stationLoginSuccess"

Emitted when an agent successfully logs into their station