PHPAGI is a PHP Class for writing AGI applications for use with the open source Asterisk PBX software.