wazo-platform / wazo-agid

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

wazo-agid

Build Status

wazo-agid is a server used by Wazo to serve AGI requests coming from Asterisk.

The AGI protocol is documented in the Asterisk wiki.

Running unit tests

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

Linting / Type checking with Pre-commit

pip install pre-commit
# To automatically run on commit:
pre-commit install
# or run manually
pre-commit run --all-files

Integration tests

To add feature to AGI mock server:

  • On wazo host: tcpdump -i lo -w /tmp/agi.pcap
  • Execute the real agi
  • scp <wazo>:/tmp/agi.pcap .
  • Open agi.pcap with Wireshark
  • Apply filter tcp.port == 4573

About

License:GNU General Public License v3.0


Languages

Language:Python 99.5%Language:Dockerfile 0.3%Language:Makefile 0.2%Language:Shell 0.0%