See the state of freeswitch mod_callcenter queues. This is a dynamic read-only interface to see the state of the queue. It uses Node.js and the modesl to provide real-time status of mod_callcenter.
- Install node.js server
sudo yum install nodejs npm
- cd /usr/share
- git clone git://github.com/khaefner/queue-view
- Install express
npm install --save express
- Copy queue_view to /etc/init.d
By default the webpage listens on port 3000 so you will need to make sure that 3000 is open in the firewall (there is a config below for cfengine to open this up on SIPX)
- Start the service /etc/init.d/queue-view or for debug node queue-view.js
- Point your browser to http://your-server:3000
If you run a firewall on sipx (and you should!) You'll need to open incoming connections to port 3000.
In the main folder of queue view you will find a file 00_queue_view.cf. Copy this file to /usr/share/sipxecs/cfinputs/plugin.d.
Then run sudo /etc/sipxsupervisor restart
When you run iptables -L you shoudl see this line: ACCEPT tcp -- anywhere anywhere tcp dpt:hbci state NEW,ESTABLISHED /* QueueView Web UI */