Releases: ofbeaton/phpami
phpcs
Composer Update
Updated composer.json syntax
Timeouts
Event Filtering
The events
filter method can now take true
and false
on top of the default Asterisk string values for convenience. The connect
method now takes an optional 4th parameter which can directly modify the event filtering.
Split Method
New $arrayData = $ami->split($string);
method. It should make parsing the data
key of commands easier.
Log Levels
Added logging levels so error_log does not always spam the screen with unhandled events on v13+
Use $ami->setLogLevel(Ami::LOG_TRACE);
for the most info.
waitResponse fix
Fixed some problems in waitResponse() introduced when making the code stricter.
Modernization
Removed all non AMI files, renamed classes and added Namespace. Conforms to PSR-4, PSR-2 and the Granite Code Style. Methods have been renamed, but they should still be a 1:1 mapping. Now requires PHP 5.5. Added composer and packagist support.
PHPAGI 2.20 Initial Fork
This is the reference checkin of the PHPAGI 2.20 for PHP 4.4 release we are forking. It used to be available from http://phpagi.sourceforge.net/ however downloads are no longer active on sourceforge. The SVN is down. The last release was 2.20 on 2010-09-30
Following this release we will pear down the features to only AMI and update it for PHP 5.5 with arrays and Composer support.