Agent screen

VICIdial: "Sorry, there are no available sessions"

By TrustanePublished Read from VICIdial svn r4031, r4037, r4038

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

  1. 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.
  2. Every conference on that server is in use. More agents are logged in on the server than it has rows.
  3. No rows under that server IP. The search is by the phone's Server IP. Conferences made under another address are never found.
  4. 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

  1. Read the second value in the message. That is the server the phone points to.
  2. 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.
  3. 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.
  4. Admin > Phones > the agent's phone. Its Server IP has to be a server that has rows.
  5. 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.

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.

  1. 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
  2. VICIdial svn r4037, www/agc/vicidial.php, lines 5519-5526: this message and the four values, printed when the session ID is empty
  3. VICIdial svn r4037, www/agc/vdc_db_query.php, lines 19029-19039: the logout emptying the row
  4. VICIdial svn r4031, bin/ADMIN_keepalive_ALL.pl, lines 1247-1325: rows with no live agent cleared at the Timeclock End Of Day time
  5. VICIdial svn r4031, www/vicidial/admin.php, line 44095: Conferencing Engine on the server screen
  6. VICIdial svn r4031, www/vicidial/admin.php, lines 44264-44315: the two lists of rows on the server screen
  7. VICIdial svn r4031, www/vicidial/admin.php, line 44336: the CLEAR ALL AGENT CONFERENCES link
  8. VICIdial svn r4031, www/vicidial/admin.php, lines 24165-24181: its confirmation link
  9. VICIdial svn r4031, www/vicidial/admin.php, lines 26375-26407: what it runs: every agent conference of the server, emptied
  10. VICIdial svn r4031, www/vicidial/admin.php, lines 51306-51330: the list of agent conferences with their server IP and extension
  11. VICIdial svn r4031, www/vicidial/admin.php, lines 13396-13412: the form that adds an agent conference
  12. VICIdial svn r4031, www/vicidial/admin.php, lines 46564-46585: Current Extension on an agent conference
  13. VICIdial svn r4031, www/vicidial/admin.php, lines 52761-52870: the server table of the Reports page and its AGNT column
  14. VICIdial svn r4038, www/vicidial/admin_header.php, line 2901: Show VICIDIAL Conferences and Add A New VICIDIAL Conference in the Conferences menu
  15. VICIdial svn r4038, www/vicidial/help_documentation.txt, line 1079: the help for Conferencing Engine and its default
  16. VICIdial svn r4038, www/vicidial/help_documentation.txt, line 1147: the help for Timeclock End Of Day
  17. Trustane console: the Capacity check that sets a server's agent conferences against the agents signed in

All VICIdial error messages

VICIdial is a registered trademark of Matthew L. Florell. Trustane is an independent host, not affiliated with or endorsed by the VICIdial Group.