Posts

Showing posts with the label websocket

Asterisk Queues Realtime Dashboard with amiws and Vue

Image
Project "amiws_queue" is a small dashboard for Asterisk queues management and monitoring. It can work with multiple Asterisk servers and basically visualises AMI queue events from the servers. It is an open source project and can be found on github: https://github.com/staskobzar/amiws_queue Top panel provides information about all queues from all Asterisk servers: active and waiting callers abandoned and completed calls paused and active queue agents Search fields allows to filter by queue name. It accepts regex as well. Also dashboard can send AMI command to pause/unpause all agents in all filtered queues. Each queue card shows queue's settings and allows to pause/activate all queue's agents as well as open the list of agents and queue callers. Monitoring calls in queue. Agents list can sent remove from queue AMI message to Asterisk and allows to drag and drop agents to other queues. When there are calls in ...

amiws - AMI (Asterisk Manager Interface) to web-socket proxy

Image
This article is about simple networking utility that allows to connect multiple Asterisk PBX servers via AMI (Asterisk Management Interface), listen to Asterisk events and other message and convert them to JSON. Users can connect to the utility with HTTP protocol and get JSON messages via WebSocket.

Mongoose - small, fast and simply awesome network library

Recently, I have been looking for a C library which can provide handy API for web-socket protocol. While searching the Web for "websocket" I have found many popular and good libraries, but just when I was going to give a try one of them, I have suddenly saw the link to "mongoose" library. After reading some documentation and introduction , I had a feeling that this is exactly what I am looking for! Mongoose developers describe their library as a "embedded web server" and as a "multi-protocol network library". Web-socket is only the part of its functionality, there are several other protocols as well as pure TCP/UDP communication functions that can help to implement any other protocol you wish. Basically, all that you need to start developing with mongoose can be found in the brief documentation page or on the  github repository . It is amazingly easy to use! Just put files "mongoose.c" and "mongoose.h" in you project and ...