/phpagi.php

Description

phpagi.php : PHP AGI Functions for Asterisk Website: http://phpagi.sourceforge.net/

$Id: phpagi.php,v 2.14 2005/05/25 20:30:46 pinhole Exp $

Copyright (c) 2003, 2004, 2005 Matthew Asham <matthewa@bcwireless.net>, David Eder <david@eder.us> All Rights Reserved.

This software is released under the terms of the GNU Lesser General Public License v2.1 A copy of which is available from http://www.gnu.org/copyleft/lesser.html

We would be happy to list your phpagi based application on the phpagi website. Drop me an Email if you'd like us to list your program.

Written for PHP 4.3.4, should work with older PHP 4.x versions.

Please submit bug reports, patches, etc to http://sourceforge.net/projects/phpagi/ Gracias. :)

Classes
Class Description
AGI AGI class
Includes
Constants
AGIRES_OK = 200 (line 50)
AST_CONFIG_DIR = '/etc/asterisk/' (line 43)
AST_DIGIT_ANY = '0123456789#*' (line 48)
AST_SPOOL_DIR = '/var/spool/asterisk/' (line 44)
AST_STATE_BUSY = 7 (line 59)
AST_STATE_DIALING = 3 (line 55)
AST_STATE_DIALING_OFFHOOK = 8 (line 60)
AST_STATE_DOWN = (line 52)
AST_STATE_OFFHOOK = 2 (line 54)
AST_STATE_PRERING = 9 (line 61)
AST_STATE_RESERVED = 1 (line 53)
AST_STATE_RING = 4 (line 56)
AST_STATE_RINGING = 5 (line 57)
AST_STATE_UP = 6 (line 58)
AST_TMP_DIR = AST_SPOOL_DIR.'/tmp/' (line 45)
AUDIO_FILENO = 3 (line 63)
DEFAULT_PHPAGI_CONFIG = AST_CONFIG_DIR.'/phpagi.conf' (line 46)
Functions
phpagi_error_handler (line 1663)

error handler for phpagi.

void phpagi_error_handler (integer $level, string $message, string $file, integer $line, array $context)
  • integer $level: PHP error level
  • string $message: error message
  • string $file: path to file
  • integer $line: line number of error
  • array $context: variables in the current scope

Documentation generated on Wed, 20 Jul 2005 15:21:23 +0000 by phpDocumentor 1.2.3