staskobzar / amiws_queue

Asterisk Queues Dashboard with amiws

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

amiws_queue

Build Status codecov Codacy Badge GPL

Warning

This project is outdated and I do not have time to support it so you can use it on your own risk. vuejs used in the project is very old and probably will not work with new node versions

Asterisk Queues Realtime Manager

Web realtime dashboard for Asterisk Queues. It is using another project, amiws, as a Back-End for AMI traffic to web-socket conversion. More screenshots here.

amiws_queue screenshot

Build Setup

Refere to amiws documentation to learn how to install and setup Back-End.

This project uses VueJS with webpack and it requires NodeJS. Setup and build it as following:

git clone https://github.com/staskobzar/amiws_queue.git
cd amiws_queue
npm install
WS_URL="'ws://10.20.30.01:8000'" npm run build

Use an IP and port of the server where amiws is running when defining shell variable WS_URL. Note, when defining WS_URL usage of double and single quotes : "'ws://IPADDR:PORT'".

After successful build files are stored in "dist" folder. Simply copy files from "dist" folder to the server with "amiws" Back-End, to the folder defined in parameter "web_root" of "amiws" config file.

Asterisk configuration

This dashboard was tested with Asterisk 11 and 13. Should work with other versions too (AMI v2 and before). Asterisk queues additional events MUST be enabled per queue.

In configuration file (Asterisk version older 12):

eventmemberstatus = yes
eventwhencalled = yes

When using realtime with DB this values must equal "1": eventmemberstatus = 1, eventwhencalled = 1

About

Asterisk Queues Dashboard with amiws

License:GNU General Public License v3.0


Languages

Language:JavaScript 68.2%Language:Vue 31.5%Language:HTML 0.3%