Many events (e.g., agentStatus, previewObCallRinging, atxferStart) include:
state: coarse-grained agent state
stateAction: fine-grained action/cause that led to the state transition
You can use them to:
- Drive UI state (button enable/disable, labels, timers)
- Prevent invalid operations (e.g., disallow Hold when not on a call)
- Build replayable / observable call-flow logs
agentStatus
previewObCallRinging
previewObCallBridge
atxferStart
atxferLink
atxferEnded
atxferError
threewayAtxferResult
atxferThreewayUnlink
completeAtxferResult
| state | Description |
|---|
| offline | Offline (not logged in) |
| invalid | Invalid/unavailable (e.g., endpoint binding issue) |
| idle | Idle |
| busy | Busy |
| calling | Dialing |
| ringing | Ringing |
| talking | Talking |
| wrapup | Wrap-up |
| stateAction | Description |
|---|
| idle | Set idle |
| ringingNoAnswerIb | No answer on inbound |
| ringingAgentNoAnswerOb | Agent no answer on outbound |
| ringingCustomerNoAnswerOb | Customer no answer on outbound |
| ringingConsultNoAnswer | No answer on consult |
| ringingTransferNoAnswer | No answer on transfer |
| ringingMonitorNoAnswer | No answer on monitoring |
| hangup | Hang up |
| stateAction | Description |
|---|
| pause | Set busy |
| ringingNoAnswerIb | No answer on inbound |
| ringingAgentNoAnswerOb | Agent no answer on outbound |
| ringingCustomerNoAnswerOb | Customer no answer on outbound |
| ringingConsultNoAnswer | No answer on consult |
| ringingTransferNoAnswer | No answer on transfer |
| ringingMonitorNoAnswer | No answer on monitoring |
| hangup | Hang up |
| stateAction | Description |
|---|
| calling | Dialing |
| stateAction | Description |
|---|
| ringingIb | Inbound ringing |
| ringingAgentOb | Agent ringing for outbound |
| ringingConsult | Consult ringing |
| ringingTransfer | Transfer ringing |
| ringingInteract | IVR interaction ringing |
| ringingMonitor | Monitoring ringing |
| stateAction | Description | Common source event |
|---|
| busyIb | Inbound talking | agentStatus |
| ringingCustomerOb | Customer ringing on outbound | previewObCallRinging |
| busyAgentOb | Agent answered, dialing customer | agentStatus |
| busyOb | Outbound bridged | previewObCallBridge |
| busyConsult | In consult call | agentStatus |
| busyTransfer | In transfer call | agentStatus |
| busyMonitor | Monitoring in progress | agentStatus |
| hold | Hold | agentStatus |
| unhold | Retrieve from hold | agentStatus |
| atxferStart | Consult started | atxferStart |
| atxferLink | Consult connected | atxferLink |
| atxferError | Consult failed | atxferError |
| threewayAtxferResult | Consult three-way | threewayAtxferResult |
| atxferThreewayUnlink | Consult three-way ended | atxferThreewayUnlink |
| completeAtxferResult | Consult transfer completed | completeAtxferResult |
| atxferEnded | Consult ended/resumed/cancelled | atxferEnded |
| stateAction | Description |
|---|
| wrapup | In wrap-up |