Skip to content

wazo-platform/wazo-agid

Folders and files

NameName
Last commit message
Last commit date
Nov 24, 2023
Jul 30, 2024
Jul 30, 2024
Nov 24, 2023
Feb 20, 2025
Feb 28, 2025
Jul 22, 2024
Dec 1, 2022
Nov 27, 2023
Mar 6, 2019
Oct 4, 2023
Jan 17, 2025
Jun 14, 2017
Nov 27, 2023
Aug 2, 2024
Sep 10, 2024
Sep 21, 2021
Nov 24, 2023
Dec 28, 2022
Oct 24, 2024
Apr 12, 2023

Repository files navigation

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