This project provides a Docker Compose setup for:
- Asterisk built with JACK audio support (chan_jack)
- A Node.js Web UI to dial numbers via Asterisk AMI
- Exposes JACK audio ports for call audio monitoring
- Linux host with JACK server running (e.g., jackd, QJackCtl)
- Docker & Docker Compose
- Edit SIP provider credentials in asterisk/config/sip.conf.
- Update AMI credentials in asterisk/config/manager.conf and web/src/index.js (via environment variables).
-
Start services:
docker-compose up --build
docker-compose up -d --build
-
Access Web UI at http://localhost:3000.
-
(Optional) Test AMI connectivity:
- Via HTTP: curl:
You should get
curl http://localhost:3000/health
{ success: true, amiResponse: ... }. - Via Web UI: click the Check AMI Health button on the page and look for the
Health response:log in your browser console.
- Via HTTP: curl:
-
Enter a phone number and click Call.
-
Use a JACK client (e.g., QJackCtl, Carla) to connect to the 'asterisk' JACK port to listen to call audio.