VICIdial: "Sorry, there are no available sessions"
As VICIdial prints it
Sorry, there are no available sessions
Where it appears. On the agent screen, after the user, the campaign and the phone are all accepted. Four values follow the message between bars: the session, the server IP, the phone extension and the SIP user.
To the point
The login found no free agent conference on the server the phone belongs to. Free the conferences left behind by sessions that never logged out, or add more for that server.
What it means
Every agent session runs inside a conference of its own on a dialer. At login the agent screen looks for a conference row on the phone's server whose extension is empty, writes the phone into that row, and takes the conference number as the session ID. The rows live in the agent conferences table, or in the ConfBridge table when the server's Conferencing Engine is CONFBRIDGE.
The message is printed when the login ends with no session ID. The four values after it are, in order: the session ID, empty in this case, then the server IP that was searched, the phone extension and the SIP user.
A phone that still holds a row from an earlier login is given that same row back. An agent is never shut out by their own leftover session.
Causes
- Rows held by sessions that never logged out. A normal logout empties the row. A session that ends any other way leaves its row reserved until the keepalive script clears the rows no live agent is using, which it does once a day at the Timeclock End Of Day time.
- Every conference on that server is in use. More agents are logged in on the server than it has rows.
- No rows under that server IP. The search is by the phone's Server IP. Conferences made under another address are never found.
- Rows in the other table. A server set to CONFBRIDGE reads ConfBridge rows only. A server on the default, MEETME, reads agent conferences only.
Checks
- Read the second value in the message. That is the server the phone points to.
- Admin > Servers > that server. Note Conferencing Engine. Lower on the same screen, AGENT CONFERENCES WITHIN THIS SERVER and AGENT CONFBRIDGES WITHIN THIS SERVER list each row beside its EXTENSION. A row with no extension is free.
- Admin > Conferences > Show VICIDIAL Conferences. The list gives CONFERENCE, SERVER IP and EXTENSION for every agent conference on the system. Look for rows under the IP from step 1.
- Admin > Phones > the agent's phone. Its Server IP has to be a server that has rows.
- Reports. The server table at the foot of the page has an AGNT column, the agents logged in on each server. Set it against the number of rows.
Fix
- One stuck row: open it from the server screen, empty Current Extension and submit.
- All of them: on the server screen, CLEAR ALL AGENT CONFERENCES, then "Click here to clear agent conferences". It empties the extension of every agent conference on that server without looking for live agents, so use it when nobody is logged in there. It leaves ConfBridge rows alone.
- Too few rows: Admin > Conferences > Add A New VICIDIAL Conference, with a Conference Number in digits and the Server IP.
- Wrong IP: add conferences under the server IP the phones use, or change Server IP on the phones.
On a Trustane server
On a server that uses MeetMe, the console's Capacity page counts its agent conferences against the agents signed in, and warns once nine in ten are taken.
Related messages
- No one is in your session: the session exists and the phone is not in it.
- Sorry, your phone login and password are not active in this system: the step before this one.
- Your session has been disabled: a session taken away after the login.
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 4923-4967: how a session ID is chosen: the phone's earlier row, else a row with an empty extension on the phone's server
- VICIdial svn r4037, www/agc/vicidial.php, lines 5519-5526: this message and the four values, printed when the session ID is empty
- VICIdial svn r4037, www/agc/vdc_db_query.php, lines 19029-19039: the logout emptying the row
- VICIdial svn r4031, bin/ADMIN_keepalive_ALL.pl, lines 1247-1325: rows with no live agent cleared at the Timeclock End Of Day time
- VICIdial svn r4031, www/vicidial/admin.php, line 44095: Conferencing Engine on the server screen
- VICIdial svn r4031, www/vicidial/admin.php, lines 44264-44315: the two lists of rows on the server screen
- VICIdial svn r4031, www/vicidial/admin.php, line 44336: the CLEAR ALL AGENT CONFERENCES link
- VICIdial svn r4031, www/vicidial/admin.php, lines 24165-24181: its confirmation link
- VICIdial svn r4031, www/vicidial/admin.php, lines 26375-26407: what it runs: every agent conference of the server, emptied
- VICIdial svn r4031, www/vicidial/admin.php, lines 51306-51330: the list of agent conferences with their server IP and extension
- VICIdial svn r4031, www/vicidial/admin.php, lines 13396-13412: the form that adds an agent conference
- VICIdial svn r4031, www/vicidial/admin.php, lines 46564-46585: Current Extension on an agent conference
- VICIdial svn r4031, www/vicidial/admin.php, lines 52761-52870: the server table of the Reports page and its AGNT column
- VICIdial svn r4038, www/vicidial/admin_header.php, line 2901: Show VICIDIAL Conferences and Add A New VICIDIAL Conference in the Conferences menu
- VICIdial svn r4038, www/vicidial/help_documentation.txt, line 1079: the help for Conferencing Engine and its default
- VICIdial svn r4038, www/vicidial/help_documentation.txt, line 1147: the help for Timeclock End Of Day
- Trustane console: the Capacity check that sets a server's agent conferences against the agents signed in