File/phpagi.php

Description

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

$Id: phpagi.php,v 2.20 2010/09/30 02:21:00 masham Exp $

Copyright (c) 2003 - 2010 Matthew Asham <matthew@ochrelabs.com>, David Eder <david@eder.us> and others 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 41)
AST_CONFIG_DIR = '/etc/asterisk/' (line 34)
AST_DIGIT_ANY = '0123456789#*' (line 39)
AST_SPOOL_DIR = '/var/spool/asterisk/' (line 35)
AST_STATE_BUSY = 7 (line 50)
AST_STATE_DIALING = 3 (line 46)
AST_STATE_DIALING_OFFHOOK = 8 (line 51)
AST_STATE_DOWN = 0 (line 43)
AST_STATE_OFFHOOK = 2 (line 45)
AST_STATE_PRERING = 9 (line 52)
AST_STATE_RESERVED = 1 (line 44)
AST_STATE_RING = 4 (line 47)
AST_STATE_RINGING = 5 (line 48)
AST_STATE_UP = 6 (line 49)
AST_TMP_DIR = AST_SPOOL_DIR.'/tmp/' (line 36)
AUDIO_FILENO = 3 (line 54)
DEFAULT_PHPAGI_CONFIG = AST_CONFIG_DIR.'/phpagi.conf' (line 37)
Functions
phpagi_error_handler (line 1742)

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 Thu, 30 Sep 2010 02:21:49 -0700 by phpDocumentor 1.4.2