VICIdial: "Your session has been disabled"
As VICIdial prints it
Your session has been disabled
Where it appears. On the agent screen after login, as a box over the whole page with one link under it: CLICK HERE TO RESET YOUR SESSION.
To the point
The server no longer has a live agent record, or a session record, for this browser window. Something other than the agent's own logout removed it. Click the reset link and log in again.
What it means
Every second the agent screen calls the web server and reads back a status line. That line says DEAD_VLA when one of two records is missing: the agent's row in the live agents table for that server, or the session row that was written for this exact browser login. On DEAD_VLA the screen covers itself with this box and stops its once-a-second checks.
The link in the box, CLICK HERE TO RESET YOUR SESSION, runs the screen's logout. The agent then logs in again from the start.
The box is shown while the system setting Agent Disable Display is LIVE_AGENT or ALL. With NOT_ACTIVE or EXTERNAL the agent is not told.
Causes
- The same user logged in somewhere else. A new login deletes the user's live agent row and session row and writes fresh ones for the new browser. The first window is left without its session row. The new window is told "Another live agent session was open using your user ID. It has been disabled."
- A manager logged the campaign out. On the campaign screen, LOG ALL AGENTS OUT OF THIS CAMPAIGN deletes the live agent row of every agent in it. VICIdial's help names a force logout and an emergency logout as what the LIVE_AGENT setting is for.
- The campaign was deleted. Deleting a campaign removes its live agents with it.
- A login left open for a day. At the Timeclock End Of Day time, the keepalive script deletes session rows whose login is almost a day old. With the system setting Agents Calls Reset on, it also deletes live agent rows whose last change of state is almost a day old.
An agent marked LAGGED is paused, not removed, and does not get this box.
Checks
- Ask the agent whether they opened the agent screen on another computer or in another tab. The newer window got the "Another live agent session" notice.
- Reports > Real-Time Main Report. An agent who is missing from it was removed. One who still shows as logged in may have a second window holding the session, or kept the live agent row because Agents Calls Reset is off.
- Ask who used LOG ALL AGENTS OUT OF THIS CAMPAIGN, or deleted a campaign, at that minute.
- Admin > System Settings. Read Agent Disable Display, Timeclock End Of Day and Agents Calls Reset.
Fix
- The agent clicks CLICK HERE TO RESET YOUR SESSION and logs in again.
- One window for one user. Close the other login first, and give two people who share an ID a user each.
- A logout a manager meant needs no repair.
- Agents log out at the end of a shift, so no session is a day old when the end-of-day cleanup runs.
On a Trustane server
The agent check in the console says whether an agent is signed in. For one who is not, it shows the last event the server logged for them and its time.
Related messages
- LAGGED: a pause by the dialer, with the session left in place.
- No one is in your session: the session is there and the phone is not in it.
- There is a time synchronization problem with your system: the other box raised by the same status answer.
Sources
Every statement above about VICIdial was read from its own source code at the revision given. An installed server can run another revision: compare before you rely on a line number.
- VICIdial svn r4037, www/agc/vicidial.php, lines 25200-25203: this message and its reset link
- VICIdial svn r4037, www/agc/vicidial.php, lines 8471-8484: the box opened on DEAD_VLA under LIVE_AGENT or ALL, and the checks stopped
- VICIdial svn r4037, www/agc/conf_exten_check.php, lines 419-431: the two records counted: the live agent row and the session row of this login
- VICIdial svn r4037, www/agc/conf_exten_check.php, lines 1386-1387: DEAD_VLA when either count is zero
- VICIdial svn r4037, www/agc/vicidial.php, lines 4985-4990: a new login deleting the user's live agent row
- VICIdial svn r4037, www/agc/vicidial.php, lines 5292-5297: a new login replacing the user's session row
- VICIdial svn r4037, www/agc/vicidial.php, lines 25948-25950: the notice given to the newer window
- VICIdial svn r4037, www/vicidial/AST_timeonVDADall.php, line 3607: the Real-Time Main Report listing the live agent rows
- VICIdial svn r4031, www/vicidial/admin.php, line 32659: the LOG ALL AGENTS OUT OF THIS CAMPAIGN link
- VICIdial svn r4031, www/vicidial/admin.php, lines 24757-24890: what it runs: each live agent row of the campaign, deleted
- VICIdial svn r4031, www/vicidial/admin.php, lines 24661-24672: deleting a campaign deletes its live agents
- VICIdial svn r4031, www/vicidial/admin.php, lines 47063-47069: Agent Disable Display in System Settings
- VICIdial svn r4031, bin/ADMIN_keepalive_ALL.pl, lines 235-244: the cutoff of the end-of-day cleanup: almost one day old
- VICIdial svn r4031, bin/ADMIN_keepalive_ALL.pl, lines 1658-1670: old live agent rows deleted when Agents Calls Reset is on
- VICIdial svn r4031, bin/ADMIN_keepalive_ALL.pl, lines 1754-1757: old session rows deleted whatever Agents Calls Reset says
- VICIdial svn r4031, bin/ADMIN_keepalive_ALL.pl, line 1754: old session rows deleted
- VICIdial svn r4037, bin/AST_VDauto_dial.pl, line 3718: a lagged agent set to PAUSED, the row kept
- VICIdial svn r4038, www/vicidial/help_documentation.txt, line 1133: the help for Agent Disable Display
- VICIdial svn r4038, www/vicidial/help_documentation.txt, lines 1147-1150: the help for Timeclock End Of Day and Agents Calls Reset
- Trustane console: the agent check: signed in or not, and the last event logged