Vicidial No Available sessions
Topic: Vicidial agent screen Sorry, there are no available sessions
Introduction:Vicidial
Vicidial is an enterprise class, open source, contact center suite in use by many large call centers around the world. VICIdial has a full featured predictive dialer. It is capable of inbound, outbound, and blended phone call handling.
Overview: Sorry there are no available sessions
In vicidial while logging into agent portal ,the agent might receive the below error or alert
Sorry, there are no available sessions
Major Cause : vicidial no available sessions
1. vicidial database crashed
2. vicidial background scripts not running
3.The vicidial is using the MeetMe conference module for the agent sessions,These MeetMe conference module requires timing resources like DAHDI, ZAPTEL, or hardware based module like sangoma USB timer , if they are not installed or loaded properly this alert will be displayed
4.Forget to update the new ipaddress in the vicidial database
5.Wrong ip set in DB even after ip updated using the vicidial script
6.MeetMe conference sessions are not created or deleted accidently
How to solve vicidial no available sessions
Troubleshoot 1: Vicidial Database crashed
It is often the vicidial database got crashed due to variable reasons like overload,improper shutdown, lack of disk space due to this vicidial scripts failed to update the session details while agent logs in, follow the below mentioned article to repair crashed vicidial database and tables.
Troubleshoot 2 : Vicidial Screens/Background scripts
Make sure the vicidial Screen and background scripts are running properly
There are screens on:2307.ASTVDauto (Detached)2147.astshell20140626063212 (Detached)2105.ASTVDadapt (Detached)2304.ASTlisten (Detached)2301.ASTsend (Detached)2153.asterisk (Detached)2109.ASTconf3way (Detached)2107.ASTfastlog (Detached)2310.ASTVDremote (Detached)2298.ASTupdate (Detached)
If some sockets missing or No Sockets found in screen -list command output
Make sure crontab entries are there by typing crontab -e, if its empty copy paste the default vicidial cronjobs from the below link
also the vicidial startup scripts enabled in below file.
vi /etc/rc.d/rc.local
Troubleshoot 3 : Dahdi driver issue
Make sure the dahdi driver is installed properly by running the below command in the linux shell
dahdi_cfg -v
DAHDI Version: 2.6
Echo Canceller(s): HWEC
Configuration
======================
Channel map:
0 channels to configure.
If the above command displays error like dahdi not found error
then reinstall the latest dahdi driver,follow the below link for the reinstalling the dahdi
Once latest dadhi reinstalled then run the below commands to load the dahdi drivers
modprobe dahdi_dummydahdi_cfg -vvvvasterisk -rx "module unload chan_dahdi.so"asterisk -rx "module load chan_dahdi.so"reboot
Now login as agent and check whether the problem arises, if not follow other troubleshoots
Troubleshoot 4: update the server IP in database
Once you have changed the server ip addressl you need to update the same ip in the vicidial database, run the below command to update ip in vicidial db
/usr/share/astguiclient/ADMIN_update_server_ip.pl
Troubleshoot 5: Force update the IP in DB
/usr/share/astguiclient/ADMIN_update_server_ip.pl --old-server_ip=oldipaddress
/usr/share/astguiclient/ADMIN_update_server_ip.pl --old-server_ip=127.0.0.1:mask2
Troubleshoot 6: update ip with mysql commands
Sometimes in vicidial the new IP address will not updated properly for Phonse,conferences and server , you can use the mysql commands to update the ip, below are the commands and tables to be udpated with new ip
mysql -p
mysql -u cron -p 1234
mysql>use asteriskmysql>UPDATE conferences SET server_ip='newip' where server_ip='oldip'mysql>UPDATE vicidial_conferences SET server_ip='newip' where server_ip='oldip'mysql>UPDATE servers SET server_ip='newip' where server_ip='oldip'mysql>UPDATE phones SET server_ip='newip' where server_ip='oldip'myql>quit
Troubleshoot 7: vicidial meetme Conference missing
cd /usr/srcsvn checkout svn://svn.eflo.net/agc_2-X/trunkcd /usr/src/trunkmysql -u crong -p 1234mysql>use asteriskmysql>\. /usr/src/trunk/first_server_install.sqlmysql>quit/usr/share/astguiclient/ADMIN_update_server_ip.pl --old-server_ip=10.10.10.15reboot
once rebooted and login as agent and check whether your issue resolved.
if problem still arises, kindly post in the vicidial or goautodial forums or ping me in my skype striker24x7