Skip to content

staskobzar/libamip

Repository files navigation

libamip: Asterisk Manager Interface Library

Simple library for manipulating and parsing AMI (Asterisk Manager Interface) written with C and re2c for parsing. It does not provide any network capabilities. Can be used with other network libraries like APR or in extenstions for Ruby or Python.

Current Travis CI Build Status:

Build Status

Install

./configure
make
sudo make install

Development

Using cmocka for UnitTest developement.

To run tests:

make check

Docs

Run make and check "doc/html/index.html".

See example in "example" directory.

There is a wiki with some breif description: https://github.com/staskobzar/libamip/wiki/

Example

To compile example, first run "make" to build library. Than change to "example" directory and make example.

make
cd example
make -f example.mk
./ami_example