wazo-agid is a server used by Wazo to serve AGI requests coming from Asterisk.
The AGI protocol is documented in the Asterisk wiki.
apt-get install libpq-dev python3-dev libffi-dev libyaml-dev
pip install tox
tox --recreate -e py311pip install pre-commit
# To automatically run on commit:
pre-commit install
# or run manually
pre-commit run --all-filesTo 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.pcapwith Wireshark - Apply filter
tcp.port == 4573