Agents
Synopsis
Response event in a series to the Agents AMI action containing information about a defined agent.
Description
The channel snapshot is present if the Status value is AGENT_IDLE or AGENT_ONCALL.
Syntax
Action: Agent: <value> Name: <value> Status: <value> TalkingToChan: <value> CallStarted: <value> LoggedInTime: <value> Channel: <value> ChannelState: <value> ChannelStateDesc: <value> CallerIDNum: <value> CallerIDName: <value> ConnectedLineNum: <value> ConnectedLineName: <value> AccountCode: <value> Context: <value> Exten: <value> Priority: <value> Uniqueid: <value> ActionID: <value>
Arguments
Agent- Agent ID of the agent.Name- User friendly name of the agent.Status- Current status of the agent.
The valid values are:AGENT_LOGGEDOFFAGENT_IDLEAGENT_ONCALL
TalkingToChan- BRIDGEPEER value on agent channel.
Present if Status value isAGENT_ONCALL.CallStarted- Epoche time when the agent started talking with the caller.
Present if Status value isAGENT_ONCALL.LoggedInTime- Epoche time when the agent logged in.
Present if Status value isAGENT_IDLEorAGENT_ONCALL.ChannelChannelState- A numeric code for the channel's current state, related to ChannelStateDescChannelStateDescDownRsrvdOffHookDialingRingRingingUpBusyDialing OffhookPre-ringUnknown
CallerIDNumCallerIDNameConnectedLineNumConnectedLineNameAccountCodeContextExtenPriorityUniqueidActionID- ActionID for this transaction. Will be returned.
See Also
Import Version
This documentation was imported from Asterisk Version Unknown