UPDATED VERSION HERE – http://sysadminman.net/blog/2013/asterisk-freepbx-queue-and-agent-wallboard-4933
I had a customer recently that was using the Elastix call centre module. This uses Asterisk queues to provide a call centre solution. Part of the call centre module is reports to monitor the status of the queue. However, the two reports that the customers wanted to run to generate a wallboard created quite a load on the server. They were running several complex MySQL queries against pretty large tables.
So I wrote a small PHP wallboard application. This shows the current status of the queue and the call agents that are signed in to it. It parses the output of the Asterisk command ‘queue show’ to generate these statistics. By default it’s set to refresh every 5 seconds. Now, I’m no programmer so the code is not pretty, but I thought I’d share it here in case it helped anyone else.
It generates buttons at the top of the page so that you can select the relevant queue. The code below is not designed to be a finished ‘solution’ but might hopefully help you set up your own wallboard.
You will also need a crontab entry like this to reset the call stats every night –
The three icons used are the same as those in the Elastix call centre reports –