AGI calls php file. if you use the AGI interface to call the php file, set the following parameters. (For reference only) ob_implicit_flush (false); & nbsp; to ensure that the output from AGI script to Asterisk is not buffered, set PHP output cache to false; set_time_limi AGI calls php file. some useful parameters of ini
If you use the AGI interface to call the php file, pay attention to setting the following parameters (for reference only)
Ob_implicit_flush (false); // Set the PHP output cache to false to ensure that the output from the AGI script to Asterisk is not buffered;
Set_time_limit (5); // set a definite time in the AGI script to ensure that the execution does not exceed a reasonable time; there is no exact method to verify an actual value. usually depends on the specific implementation. depends on your system and application, but it is generally recommended to make sure the script and ensure the maximum value to work is 30 seconds.
Error_log = finename; // useful for debugging purposes. a log file is usually created.
Error_reporting (E_NONE); // errors are not described as error_log;
Cheers!
Joe. Yeung
Www.voipevents.com