<div dir="ltr">I am calling a few numbers at once and running AMD on each one. If AMD detects a human I want to connect the two if not I want to keep calling over and over. The issue I have is that if one of the called numbers connects even if it's a machine and I call Hangup or Congestion it will stop the other calls and go back to s,2. I want Asterisk to keep trying the other legs as well and run AMD on them too.<div><br></div><div><br></div><div> </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 13, 2018 at 10:09 AM, Antony Stone <span dir="ltr"><<a href="mailto:Antony.Stone@asterisk.open.source.it" target="_blank">Antony.Stone@asterisk.open.source.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Friday 13 July 2018 at 15:53:47, Dovid Bender wrote:<br>
<br>
> Hi,<br>
> <br>
> Is there any way of telling Asteirsk to withhold answer subversion on a<br>
> call till I call Answer.<br>
<br>
</span>Please could you express differently what you are trying to do?<br>
<br>
I do not understand the above question.<br>
<span class=""><br>
> My DP looks like this:<br>
> <br>
> [incoming]<br>
> Exten => 18005551212,1,Noop()<br>
>  same => n,Answer<br>
>  same => n,Mset(__uid=${SIPCALLID})<br>
>  same => n,MixMonitor(/tmp/FROM_CALLER_<wbr>${uid}-${START}.WAV)<br>
>  same => n,Dial(Local/1@dial_call_<wbr>center/n&Local/2@dial_call_<wbr>center<br>
> /n&Local/3@dial_call_center/n&<wbr>Local/4@dial_call_center<br>
> /n&Local/5@dial_call_center/n,<wbr>,gm)<br>
>  same => n,Goto(2)<br>
> <br>
> [dial_call_center]<br>
> Exten => _X,1,Set(CALLERID(num)=<wbr>18005551212)<br>
>  same => n,Wait(${RAND(0,1)}.${RAND(10,<wbr>99)})<br>
>  same => n,Set(__uid=${MD5(${SIPCALLID}<wbr>_${UNIQUEID}_${CHANNEL})})<br>
>  same => n,Dial(SIP/${<a href="http://CLIENT}@1.1.1.1:5080" rel="noreferrer" target="_blank">CLIENT}@1.1.1.1:<wbr>5080</a>,,gU(verify_human))<br>
> <br>
> [verify_human]<br>
> Exten => s,1,Noop()<br>
>  same => n,MixMonitor(/tmp/TO_CALL_<wbr>CENTER_${uid}-${EPOCH}_SECOND.<wbr>WAV)<br>
>  same => n,AMD<br>
>  same => n,ExecIf($["${AMDSTATUS}" != "FOUND"]?Hangup(16)))<br>
>  same => n,DumpChan()<br>
<br>
</span>Regards,<br>
<br>
Antony.<br>
<span class="HOEnZb"><font color="#888888"><br>
-- <br>
"The problem with television is that the people must sit and keep their eyes <br>
glued on a screen; the average American family hasn't time for it."<br>
<br>
 - New York Times, following a demonstration at the 1939 World's Fair.<br>
<br>
                                                   Please reply to the list;<br>
                                                         please *don't* CC me.<br>
<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>
Check out the new Asterisk community forum at: <a href="https://community.asterisk.org/" rel="noreferrer" target="_blank">https://community.asterisk.<wbr>org/</a><br>
<br>
New to Asterisk? Start here:<br>
      <a href="https://wiki.asterisk.org/wiki/display/AST/Getting+Started" rel="noreferrer" target="_blank">https://wiki.asterisk.org/<wbr>wiki/display/AST/Getting+<wbr>Started</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" rel="noreferrer" target="_blank">http://lists.digium.com/<wbr>mailman/listinfo/asterisk-<wbr>users</a></font></span></blockquote></div><br></div>