Newer Version Available
Handling Missed Calls and Call Errors
In order to close the conversation, the call.reason has to be set to either ended or error.
When the call is ending due to another reason—for example, if the call is missed, declined, or has any error state—the connector should fire a HANGUP event with call.reason set to error and call.closeCallOnError set to true in the publishEvent() method.
In this error scenario, for an inbound or callback voice call, when the call is missed, failed, or declined by the agent, set call.agentStatus to MissedCallAgent, FailedConnectAgent, or DeclinedByAgent. When the call is missed by a customer or has failed due to any reason that is unrelated to the agent, set call.agentStatus to MissedCallStatus, FailedConnectCustomer, or another reason.
To set the agent’s status automatically when the call is declined, go to , and choose a presence status for when the agent declines a work item.
To set the agent’s status automatically when the call is missed or if there’s any error that isn’t due to call declined, go to and choose a presence status.