On Sun, Sep 25, 2011 at 8:26 AM, Mehmet Avcioglu <[email protected]> wrote:
>
> Actually it doesn't say "AGI(async:script)" it says "AGI(async:agi)" and than 
> continues further to setting up an AMI user so the script is executed through 
> the manager interface?? Than it says "AGI(agi:async)".?? Well most 
> importantly it says "Cons of async AGI: It is the most complex method of 
> using AGI to implement." ..:) I have been interested in Async AGI as well and 
> after reading your post looked into the link you provided, seems different 
> than what we immediately think, a background process.
>
> Perhaps just start the script normally "AGI(script.sh)" and than inside it 
> run your background process "background-script.sh > /dev/null 2>&1 < 
> /dev/null &" or fork a new process, detach, run in background, etc...
>
> Hopefully somebody else can point us towards the right direction in setting 
> up a real asterisk asynchronous AGI application.
>

Despite being some shameless self-promotion, I want to point out this
post I wrote several years ago explaining the basics:

http://www.moythreads.com/wordpress/2007/12/24/asterisk-asynchronous-agi/

Moises Silva
Senior Software Engineer, Software Development Manager
Sangoma Technologies Inc. | 100 Renfrew Drive, Suite 100, Markham ON
L3R 9R6 Canada
t. 1 905 474 1990 x128 | e. [email protected]

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to