[asterisk-users] HP DL360 G5 better than HP DL360 G7 ?

Steve Edwards asterisk.org at sedwards.com
Sun Jun 3 23:15:48 CDT 2012


On Sun, 3 Jun 2012, Tom Browning wrote:

> AGI script has exit handler that connects and updates an external 
> database upon BYE from either side.
>
> I know that if exit handler hangs around too long, Bad Things (tm) will 
> happen.

One of the systems I coded uses an AGI at call completion to update the 
database, convert the accumulated WAV files to WMA, and upload the WMA to 
a web server running on an over-subscribed Godaddy host*.

This AGI (which should only take about 20 seconds) occasionally takes a 
minute or 3 to complete, but it does complete. What kinds of problems are 
you seeing when your AGI takes too long?

*) If I get a chance to re-code it, I'd just write a database record and 
then cobble up a daemon or cron job to do the heavy (and time consuming) 
lifting.

-- 
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards       sedwards at sedwards.com      Voice: +1-760-468-3867 PST
Newline                                              Fax: +1-760-731-3000



More information about the asterisk-users mailing list