Skip to content

wazo-platform/wazo-amid

Repository files navigation

wazo-amid

Build Status

wazo-amid is a daemon for interacting with Asterisk's AMI:

  • forward AMI events to RabbitMQ
  • expose HTTP JSON interface for AMI actions

Docker

The wazoplatform/wazo-ami image can be built using the following command:

docker build -t wazoplatform/wazo-amid .

Testing

wazo-amid contains unittests and integration tests

Running unit tests

apt-get install libpq-dev python3-dev libffi-dev libyaml-dev
pip install tox
tox --recreate -e py39

Running integration tests

You need Docker installed.

cd integration_tests
pip install -U -r test-requirements.txt
make test-setup
make test