-
Notifications
You must be signed in to change notification settings - Fork 12
PHPAGI
Barry O'Donovan edited this page Nov 19, 2012
·
1 revision
PHPAGI is a library to accessing Asterisk via the AGI and AMI interfaces.
There is a trait, OSS_Controller_Action_Trait_AsteriskMI
, which provides a PHPAGI AMI object from a call to $this->getAsteriskMU( $server )
where $server
refers to a configuration block:
ondemand_resources.ami.$server.host = 'www.example.com'
ondemand_resources.ami.$server.username = 'username'
ondemand_resources.ami.$server.secret = 'secret'
The class AGI_AsteriskManager
must exist or the PHPAGI file phpagi-asmanager.php
must be in your path.