<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On Sep 10, 2012, at 11:16 AM, Pavel Siderov wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">Danny as I mentioned in the first message the dialplan execution stops after AGI(agi:async). So the provided example doesn't help. <div><br></div><div>Regards,</div><div>Pavel</div></span></blockquote></div><br><div>Pavel,</div><div><br></div><div>This may be due to the asynchronous nature of Async AGI. The AGI(agi:async) command will continue to run until the channel is hung up, the 'asyncagi break' command is sent over AMI, or some sort of fatal error is encountered.</div><div><br></div><div>When a call comes in, the AGI(agi:async) command sill send out a start event over AMI. But if Adhearsion isn't there to hear it, it's also not there to tell Asterisk what to do with the channel. So it will sit there, waiting for a break or hangup.</div><div><br></div><div>I'm sure the Adhearsion guys have run into this sort of thing before. You may want to ask on their forum[1] for how they handle the situation.</div><div><br></div> [1]: <a href="https://groups.google.com/forum/?fromgroups=#!forum/adhearsion">https://groups.google.com/forum/?fromgroups=#!forum/adhearsion</a><br><br><div>-- </div><div><div apple-content-edited="true"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>David M. Lee<br>Digium, Inc. | Software Developer<br>445 Jan Davis Drive NW - Huntsville, AL 35806 - USA<br>Check us out at: <a href="http://www.digium.com/">www.digium.com</a> & <a href="http://www.asterisk.org/">www.asterisk.org</a></div></div></span></div>
</div>
<br></div></body></html>