PHP Classes

PHP AGI: Control an Asterisk VOIP instance

Recommend this page to a friend!
  Info   View files Example   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 536 This week: 1All time: 5,550 This week: 429Up
Version License PHP version Categories
php-agi 2.20GNU Lesser Genera...5.2Networking, PHP 5, Audio
Description Author

This package can be used to control an Asterisk VOIP instance.

It can connect to the network interface of an Asterisk instance running on a given IP address and port and send commands to control Asterisk.

Currently it can send commands to control options such as the hangup timeout, set the monitoring file of a channel, monitor a channel, control the events to be sent to the instance, get the state of extensions, get channel variables, hangup a channel, list IAX peers, check the message mailbox, original calls, list parked calls, manage queues, redirect channels, manage the zap channel, list available commands, send arbitrary commands, etc..


Asterisk Manager Interface
Looking for a class to manage Asterisk from web

Picture of Matthew Asham
Name: Matthew Asham <contact>
Classes: 1 package by
Country: Canada Canada
Age: ???
All time rank: 315468 in Canada Canada
Week rank: 369 Up7 in Canada Canada Up

 $Id: README,v 1.4 2005/05/19 13:19:37 pinhole Exp $

Welcome to PHPAGI. 

phpagi is a set of PHP classes for use in developing applications with
the Asterisk Gateway Interface, and is licensed under the GNU Lesser
General Public License (see COPYING for terms).

This release (version 2) of the phpagi classes is a significant overhaul
from the old version 1 library.  API functions have been renamed and 

Version 1 of phpagi is no longer supported, but will continue to be
available for historical purposes.  We strongly encourage you to migrate
to this new version.

If you have developed software based around phpagi, we'd like to hear from 
you!  Drop us a note, and indicate whether you'd like us to list your 
application on our website.

 phpagi.php           - The main phpagi class.
 phpagi-asmanager.php - The Asterisk Manager class.
 phpagi-fastagi.php   - FastAGI class.
 phpagi_1.php         - Compatability class for 1.12 release

 docs/                - README files for the classes.
 api-docs/            - API Documentation (html)

 README.phpagi           - The main phpagi README
 README.phpagi-asmanager - The phpagi asterisk manager README
 README.phpagi-fastagi   - phpagi fastagi README
 CHANGELOG               - Change Log.

 phpagi.conf             - An example configuration file for phpagi.
 fastagi.xinetd          - xinetd.conf sample configuration for fastagi


Support for phpagi is available from the project website. 


  Files folder image Files  
File Role Description
Plain text file phpagi-asmanager.php Class asterisk manager interface
Accessible without login Plain text file phpagi-fastagi.php Example fastagi interface
Plain text file phpagi.php Class Main phpagi class
Accessible without login Plain text file README Doc. README

 Version Control Unique User Downloads Download Rankings  
This week:1
All time:5,550
This week:429Up
For more information send a message to info at phpclasses dot org.