<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 06/11/2013 04:12 PM, Matthew J. Roth wrote:<br>
    <blockquote
      cite="mid:1982738663.3722832.1370959927715.JavaMail.root@imminc.com"
      type="cite">
      <pre wrap="">Jonas Kellens wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">
I notice that it takes 4 to 6 seconds between someone pressing a cipher and
Asterisk continuing inside the dialplan. How come ???

...

Why doesn't Asterisk continue immediately inside the dialplan after having
received the DTMF-input ?
</pre>
      </blockquote>
      <pre wrap="">

Jonas,

Please provide the version of Asterisk you are using and the part of the dialplan
that receives the DTMF input.

Regards,

Matthew Roth
</pre>
    </blockquote>
    <font face="Helvetica, Arial, sans-serif"><br>
      <br>
      Hello,<br>
      <br>
      using Asterisk 1.8.12.2.<br>
      <br>
      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
      "'${klantID}','IVR','${choice}','','${CHANNEL:4}','$(date +%s)'"
      &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
      "'${klantID}','IVR','${keuzeID}','','${CHANNEL:4}','$(date +%s)'"
      &gt;&gt; /var/log/asterisk/loggingAST/${CHANNEL:4}.csv)<br>
      exten =&gt; _X.,n,other_stuff_I_do<br>
      <br>
      <br>
      <br>
      <br>
      <br>
      Kind regards,<br>
      <br>
      Jonas.<br>
      <br>
    </font><br>
  </body>
</html>