dev-master
9999999-devWehup Asterisk AMI
MIT
The Requires
- php >=5.3.3
- guzzle/http 3.7.*
voip asterisk ami telephony
Wallogit.com
2017 © Pedro Peláez
Wehup Asterisk AMI
PHP 5.3 abstraction of Asterisk 1.6 AMI, (*1)
Add to your composer.json:, (*2)
{"require":{
"wehup/asterisk-ami": "dev-master"
}}
Run:, (*3)
composer install
// Create the LoginRequest
$loginRequest = new \Wehup\AMI\Request\LoginRequest('username', 'password');
// Create the Manager
$manager = new \Wehup\AMI\Manager('127.0.0.1', 8088, 'asterisk', $loginRequest);
// Create the request
$request = new \Wehup\AMI\Request\PingRequest();
// Send request
$response = $manager->send($request);
Are you missing support to an useful command? Open an issue, so we can add it., (*4)
Wehup Asterisk AMI
MIT
voip asterisk ami telephony