phparia extension for Sangoma Lyra Answering Machine Detection for Asterisk.
- Receive Lyra CPD-Result events in phparia applications.
Just add the package "wormling/phparia-lyra":
{
"require": {
"wormling/phparia-lyra": "dev-master"
}
}
$phpariaLyra = new \phpariaLyra\Client\PhpariaLyra($phparia);
$phpariaLyra->onCpdResult(function (CpdResult $cpdResult) {
echo $cpdResult->getResult();
});
(https://github.com/wormling/phparia/tree/master/src/wormling/phparia-lyra/Examples)
Apache 2.0 (http://www.apache.org/licenses/LICENSE-2.0)