wormling / phparia-lyra
Sangoma Lyra AMD extension for phparia.
dev-master
2015-09-16 03:58 UTC
Requires
- php: >=5.4
- wormling/phparia: >=2.0
This package is not auto-updated.
Last update: 2024-11-13 10:13:53 UTC
README
phparia extension for Sangoma Lyra Answering Machine Detection for Asterisk.
Features
- Receive Lyra CPD-Result events in phparia applications.
Available via Composer
Just add the package "wormling/phparia-lyra":
{ "require": { "wormling/phparia-lyra": "dev-master" } }
Listening for AMD results
$phpariaLyra = new \phpariaLyra\Client\PhpariaLyra($phparia); $phpariaLyra->onCpdResult(function (CpdResult $cpdResult) { echo $cpdResult->getResult(); });
Examples
(https://github.com/wormling/phparia/tree/master/src/wormling/phparia-lyra/Examples)
License
Apache 2.0 (http://www.apache.org/licenses/LICENSE-2.0)