I don't know AGIspeedy, but I have some PHP scripts where I set a
connect timeout using streams.
Example using https, but should be easily adaptable to non-s http.:
$pbxsh_bin = @file_get_contents("https://blah.blah.blah;, FALSE,
@stream_context_create(array('https' => array('timeout' => 5,
On 9/13/2018 8:04 PM, Patrick Wakano wrote:
Hello list,
Hope you all doing well!
Recently, I had an issue with a FastAGI PHP script, which under some
specific situation would run into an infinity loop, consuming all CPU
resources. This also was preventing Asterisk to terminated the call
Hello;
I’ve been using AGISpeedy for Perl for years. I just works, and it works
really well. I’m a Perl programmer, not a PHP programmer, but it seems to me
that you need the PHP equivalent of Perl’s ‘alarm’ command. Just a thought.
Regards;
John V.
From: asterisk-users