Displaying 1 result from an estimated 1 matches for "asterisk_environment_variables".
2005 Mar 24
0
AGI commands STDOUT problem
...s:
 
 <?php
include_once '/var/www/localhost/htdocs/ivsadmin/apps/pavoz/classes/AgiTest.php';
$agi = new AgiTest();
die();
?>
i guess the code before doesnt say anything :p , the class AgiTest code is:
<?php
class AgiTest
{
	private $read_bytes                     = 80;
	private $asterisk_environment_variables = array();
	private $log_stream                     = null;
	
	public function __construct()
	{
		$this->log_stream = fopen('/var/log/pavoz/asterisk','w');
		//reading asterisk initial variables and writing them to log
		$this->ReceiveAsteriskEnvironmentVariables();
		
		//now...