This repository has call_and_play.php
script that demonstrates how to use AMI to
make a call and play a file in the call.
You must install dependencies (just PAMI):
composer install
To make a call use the following command:
php call_and_play.php
- Asterisk - https://www.asterisk.org/
- PAMI - https://github.com/marcelog/PAMI