Why not do System(blah) instead of AGI(blah) unless there is some AGI
specific item you need. To quote Steve Edwards, "Do your AGI in C so it will
run 100 times faster" and don't worry about when it comes back.

 

  _____  

From: [email protected]
[mailto:[email protected]] On Behalf Of Randall Degges
Sent: Friday, May 07, 2010 12:17 PM
To: [email protected]
Subject: [asterisk-users] Execute AGI, Then Continue

 

Hi all,

 

I'm running Asterisk 1.6.2.7 using the following pseudo-dialplan (not actual
dialplan, because of complexity):

 

[something]

exten => s,1,Answer()

exten => s,n,AGI(blah,arg1,arg2)

exten => s,n,Playback(blah)

exten => s,n,DoMoreStuff()

exten => s,n,Hangup()

 

What I'd like to do, is have Asterisk launch my AGI script and continue
executing dialplan without waiting for the AGI to finish executing. I'm
aware that I can do this manually in my AGI by forking, but I'd like to
avoid doing it that way if possible.

 

I remember reading something a long time ago saying that there was a way to
do this, but I can't seem to find that documentation again. Am I crazy, or
is this possible to do without modifying my code?

 

Thanks for all help.

 

-Randall

-- 
_____________________________________________________________________
-- 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