File/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
 class AGI AGI class
Includes
Constants
AGIRES_OK = 200 (line 44)
AST_CONFIG_DIR = '/etc/asterisk/' (line 37)
AST_DIGIT_ANY = '0123456789#*' (line 42)
AST_SPOOL_DIR = '/var/spool/asterisk/' (line 38)
AST_STATE_BUSY = 7 (line 53)
AST_STATE_DIALING = 3 (line 49)
AST_STATE_DIALING_OFFHOOK = 8 (line 54)
AST_STATE_DOWN = (line 46)
AST_STATE_OFFHOOK = 2 (line 48)
AST_STATE_PRERING = 9 (line 55)
AST_STATE_RESERVED = 1 (line 47)
AST_STATE_RING = 4 (line 50)
AST_STATE_RINGING = 5 (line 51)
AST_STATE_UP = 6 (line 52)
AST_TMP_DIR = AST_SPOOL_DIR.'/tmp/' (line 39)
AUDIO_FILENO = 3 (line 57)
DEFAULT_PHPAGI_CONFIG = AST_CONFIG_DIR.'/phpagi.conf' (line 40)
Functions
phpagi_error_handler (line 1691)

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, 16 Nov 2005 12:49:04 -0700 by phpDocumentor 1.3.0RC3