<div dir="ltr">This might be a question more suited at asterisk-users.<div><br></div><div>I believe the 2nd example is what should work but I don't know what you exactly mean by "nothing happens".</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 22, 2016 at 6:03 PM, Salvatore Franco <span dir="ltr"><<a href="mailto:s.franco@fast-auto.it" target="_blank">s.franco@fast-auto.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="font:normal 13px Arial;color:rgb(0,0,0)">Hi, <br>I'm trying to answer a call that is in Queue through AMI, launching AGI command ANSWER.<br>I read about putting AGI(agi:async) in extensions.conf dialplan but if i set in this order:<br><br>exten=> 1000,1,Queue(queuename)<br>same=>        ,n,AGI(agi:async)<br><br>and try to answer using AMI the response is : failed to add agi command to channel XXX queue.<br><br>Else if i set the dial plan in this order:<br> <br> <br>exten=>1000,1,AGI(agi:async)<br>same=>       ,n,Queue(queuename)<br><br> the phone doesn't ring and the command execute successful, but nothing happens. Isn't agi:async "really" async but stops execution of the dialplan?<br><br>Any suggestions?<br><br> <br>Thanks<br><br>Best Regards <span class="HOEnZb"><font color="#888888"><br><br><p class="MsoNormal"><b><span>Salvatore
Franco</span></b><span><u></u><u></u></span></p>

<p class="MsoNormal"><br></p></font></span></div><br>--<br>
______________________________<wbr>______________________________<wbr>_________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-dev mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" rel="noreferrer" target="_blank">http://lists.digium.com/<wbr>mailman/listinfo/asterisk-dev</a><br></blockquote></div><br></div>