Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 2.14 KB

README.md

File metadata and controls

43 lines (30 loc) · 2.14 KB

amiws_queue

Build Status codecov Codacy Badge GPL

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