This is an update the this post (http://sysadminman.net/blog/2012/asterisk-elastix-queue-and-agent-wallboard-3604) which had some code for a basic wallboard. This version is updated a little with better handling of some of the output from Asterisk. It also uses Twitter Bootstrap to make the wall board a little prettier. Here is an example screenshot of the new version –
Before we get started there are a few things you need
- This wall board was written against Asterisk 1.8 – it may work with other version
- A part of the code assumes FreePBX is installed on the machine so gets the queue names from ‘/etc/asterisk/queues_additional.conf’. If it isn’t you should adjust this
- ‘/etc/asterisk/phpagi.conf’ should be configured correctly for your system. You should ensure it contains lines like this, where the asmanager settings match those in /etc/asterisk/manager.conf –
First we need to decide where to install the wallbaord. This will depend on your system but if you are running FreePBX then in the ‘admin’ folder is probably a good idea –
Next grab the most recent version of Twitter Bootstrap and install it –
Next get phpagi and install it (this is used to connect to Asterisk and is why we needed to configure the phpagi.conf file list in prerequisites above)
tar xvfz phpagi-2.20.tgz
ln -s phpagi-2.20 phpagi
and finally download the wallboard files and extract them –
tar xvfz astwb-1.0.tar.gz
Finally you need to edit ‘cdr.php’ and set the database connection details so that it can connect to MySQL for the call detail records. You should be able to find the settings in /etc/amportal.conf if you are running FreePBX –
And now if you point your web browser to the URL you install the wall board to – http://AsteriskIP/admin/wallboard.
Please post any questions or comments in teh comments below.