/asterisk-zmq-manager

An asterisk manager that speaks json and it's based on zmq.

Primary LanguageC

ZMQ Manager
Author: Flavio [FlaPer87] Percoco Premoli <flaper87@flaper87.org>

INFO:

This module aims to replicate asterisk manager actions using zmq and json. Right now it just handles the originate
command. This makes possible to execute MANY calls at the same time. I don't know wheter to extend this module handling
more calls functionalities or adding more manager's actions. Thoughts?

It would be nice to be able to execute as many calls as possible using a highly scalable socket/protocol and manage them. This would be useful for prediction algorithms.

IMHO, Most of the management actions could be implemented and others that are not in the current manager. Something to think about is the credentials management whether it's useful or not. Thoughts?

DEPENDENCIES:
 * zmq
 * jansson

BUILDING

1-) cd asterisk-zmq/ && make

INSTALLING

1-) cp build/zmq_manager.so ASTERISK_INSTALL_PATH/lib/asterisk/modules/

USAGE

1-) Create a config file. See samples/zmq_manager.conf
2-) Add: load => zmq_manager.so to the modules.conf file

TODO:
* Valgrind tests

LICENSING

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License v2 as published
by the Free Software Foundation.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.