<div>Hi Danny, </div><div><br></div><div>I am running it asynchronously because adhearsion needs it. </div><div><br></div><div>Regards,</div><div>Pavel</div><div><br></div><div><br></div><div> </div><div>Date: Wed, 5 Sep 2012 11:28:46 -0500</div>
<div>From: "Danny Nicholas" <<a href="mailto:danny@debsinc.com">danny@debsinc.com</a>></div><div>Subject: Re: [asterisk-users] Async AGI</div><div>To: "'Asterisk Users Mailing List - Non-Commercial Discussion'"</div>
<div> <<a href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</a>></div><div>Message-ID: <00cd01cd8b83$862a05d0$927e1170$@<a href="http://debsinc.com">debsinc.com</a>></div><div>
Content-Type: text/plain; charset="us-ascii"</div><div><br></div><div>As I understand it, when the AGI is asynchronous, you lose the control of</div><div>checking for completion, etc. Since you are running prior to answer(), why</div>
<div>run it asynchronously.</div><div><br></div><div><br></div><div><br></div><div>From: <a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a></div><div>[mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a>] On Behalf Of Pavel Siderov</div>
<div>Sent: Wednesday, September 05, 2012 11:26 AM</div><div>To: <a href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</a></div><div>Subject: [asterisk-users] Async AGI</div><div><br></div><div><br>
</div><div><br></div><div>Hi,</div><div><br></div><div><br></div><div><br></div><div>Is there a way to execute next priority in the dialplan if you have called</div><div>agi:async? I want to play warning message if adhearsion is down. Currently I</div>
<div>wasn't able to make it work. The dialplan execution ends after the first</div><div>priority.</div><div><br></div><div><br></div><div><br></div><div>[incomming]</div><div><br></div><div>exten => _X.,1,AGI(agi:async)</div>
<div><br></div><div>exten => _X.,2,Answer</div><div><br></div><div>exten => _X.,3,Playback(some-message)</div><div><br></div><div>exten => _X.,4,Hangup</div><div><br></div><div><br></div><div><br></div><div>Regards,</div>
<div><br></div><div>Pavel</div>