Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1008 Bytes

README.md

File metadata and controls

36 lines (27 loc) · 1008 Bytes

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