[asterisk-users] Execute AGI, Then Continue

Danny Nicholas danny at debsinc.com
Fri May 7 12:25:51 CDT 2010


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: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Randall Degges
Sent: Friday, May 07, 2010 12:17 PM
To: asterisk-users at lists.digium.com
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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100507/d5277d16/attachment.htm 


More information about the asterisk-users mailing list