I recently had a similar problem. I had a slow database lookup, and wanted a recording (actually, a SayDigits) to be played while that was happening.
My solution was to execute the "say digits" from within the AGI script, and not wait for the result code. The AGI script can then do the database lookup while asterisk is playing the digits. After the database lookup returns, I check the result from "say digits" and go on normally. ~ John Williams On Fri, 4 Aug 2006, Bromont - wrote: > I want to call a script and have it run in the background while > my dialplan continues execution. I've tried forking my perl script but > Asterisk still halts until the script returns. Is there any way to > call AGI and have the script run in the background? _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users