Desktop Presence and Forced Logout
The Finesse server subscribes to the presence of the XMPP users of the Finesse desktop to monitor the health of the connection between the server and desktop.
Under certain conditions, Finesse sends a forced logout with a reason code of 255 to the CTI server.
In a Unified CCE deployment, the actual behavior of the desktop under these conditions depends on the setting for Logout on Agent Disconnect (LOAD).
In a Unified CCX deployment, the agent is logged out.
Note | Finesse takes up to 120 seconds to detect when an agent closes the browser or the browser crashes and Finesse waits 60 seconds before sending a forced logout request to the CTI server. Under these conditions, Finesse can take up to 180 seconds to sign out the agent. |
The following table lists the conditions under which Finesse sends a forced logout to the CTI server:
Scenario |
Desktop Behavior |
Server Action |
Race Conditions |
The client closes, the browser crashes, or the agent clicks the Back button on the browser. | When you close the browser or navigate away from the Finesse desktop, the Finesse desktop makes a best-effort attempt to notify the server. |
Finesse receives a presence notification of Unavailable from the client. Finesse waits 60 seconds, and then sends a forced logout request to the CTI server. |
|
The client refreshes the browser |
— |
Finesse receives a presence notification of Unavailable from the client. Finesse waits 60 seconds before sending a forced logout request to the CTI server to allow the browser to reconnect after the refresh. |
— |
The client encounters a network glitch (Finesse is in service) |
Because the connection to the Finesse server temporarily goes down, the client fails over to the secondary Finesse server. |
The primary Finesse server receives a presence notification of Unavailable from the client. Because Finesse is in service, it sends a forced logout request to the CTI server for the agent. |
A situation can occur where the forced logout does not happen before the client signs in to the secondary Finesse server. If the agent is on a call, the primary Finesse server sends the forced logout request after the call ends. In a Unified CCE deployment, the agent is signed out or put into Not Ready state when the call ends, even though the client is already signed in to the secondary Finesse server. In a Unified CCX deployment, the agent is signed out. |
In a Unified CCE deployment, when Refresh Token has expired |
Finesse desktop sends a forced logout request to the CTI server. |
The Finesse server forwards the forced logout request to the CTI server. |
Load parameter = 0
Load parameter = 1
|