<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jun 11, 2013 at 9:29 AM, Jonas Kellens <span dir="ltr">&lt;<a href="mailto:jonas.kellens@telenet.be" target="_blank">jonas.kellens@telenet.be</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000"><div class="im">
    On 06/11/2013 04:12 PM, Matthew J. Roth wrote:<br>
    <blockquote type="cite">
      <pre>Jonas Kellens wrote:
</pre>
      <blockquote type="cite">
        <pre>I notice that it takes 4 to 6 seconds between someone pressing a cipher and
Asterisk continuing inside the dialplan. How come ???

...

Why doesn&#39;t Asterisk continue immediately inside the dialplan after having
</pre></blockquote></blockquote></div></div></blockquote><div></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000">
<div class="im"><blockquote type="cite"><blockquote type="cite"><pre>received the DTMF-input ?
</pre>
      </blockquote></blockquote></div><font face="Helvetica, Arial, sans-serif"></font></div></blockquote><div>&lt;snip&gt; <br></div><div><br></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"><font face="Helvetica, Arial, sans-serif">
      Dialplan :<br>
      <br>
      exten =&gt; ivr,1,NoOp()<br>
      exten =&gt;
ivr,n(restartprompt),Background(/var/lib/asterisk/sounds/vprompts/${KNUMMER}/${ASTPROMPT})<br>
      exten =&gt; ivr,n,NoOp(${BACKGROUNDSTATUS})<br>
      exten =&gt; ivr,n,WaitExten(15)<br>
      exten =&gt; ivr,n,GoTo(restartprompt)<br>
      <br>
      exten =&gt; _X,1,Set(choice=${EXTEN})<br>
      exten =&gt; _X,n,System(echo
      &quot;&#39;${klantID}&#39;,&#39;IVR&#39;,&#39;${choice}&#39;,&#39;&#39;,&#39;${CHANNEL:4}&#39;,&#39;$(date +%s)&#39;&quot;
      &gt;&gt; /var/log/asterisk/loggingAST/${CHANNEL:4}.csv)<br>
      exten =&gt; _X,n,other_stuff_I_do<br>
      <br>
      exten =&gt; _X.,1,Set(choice=${EXTEN})<br>
      exten =&gt; _X.,n,System(echo
      &quot;&#39;${klantID}&#39;,&#39;IVR&#39;,&#39;${keuzeID}&#39;,&#39;&#39;,&#39;${CHANNEL:4}&#39;,&#39;$(date +%s)&#39;&quot;
      &gt;&gt; /var/log/asterisk/loggingAST/${CHANNEL:4}.csv)<br>
      exten =&gt; _X.,n,other_stuff_I_do</font></div></blockquote><div><br></div><div>It is waiting for more digits because you have asked it for a possible multi-digit exten and it needs to distinguish between the _X and _X. patterns.<br>
<br></div><div>Richard<br></div></div></div></div>