[asterisk-users] Running AGI in background

2006-08-04 Thread Bromont -
Hi all, 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? Thanks, Marc.

Re: [asterisk-users] Running AGI in background

2006-08-04 Thread John Williams
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