[asterisk-users] AGI timeout option

Tech Support asterisk at voipbusiness.us
Fri Sep 14 09:57:41 CDT 2018


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 [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Patrick Wakano
Sent: Thursday, September 13, 2018 09:05 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users at lists.digium.com>
Subject: [asterisk-users] AGI timeout option

 

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 properly because it was waiting for the AGI to return... The application uses AGIspeedy to process the AGI calls, not sure if this can be affecting this situation somehow....

Due to this problem I started looking for some option to timeout the AGI call and return to the dialplan after XYZ seconds and so this would protect Asterisk preventing the dialplan to get stuck due to some external script problem that is actually outside of Asterisk control. Does Asterisk provide some control of this sort? I searched around and could not find any..... 

Any idea is appreciated!

 

Kind regards

Patrick Wakano

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20180914/e5639aa5/attachment.html>


More information about the asterisk-users mailing list