<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"><<a href="mailto:jonas.kellens@telenet.be" target="_blank">jonas.kellens@telenet.be</a>></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'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><snip> <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 => ivr,1,NoOp()<br>
exten =>
ivr,n(restartprompt),Background(/var/lib/asterisk/sounds/vprompts/${KNUMMER}/${ASTPROMPT})<br>
exten => ivr,n,NoOp(${BACKGROUNDSTATUS})<br>
exten => ivr,n,WaitExten(15)<br>
exten => ivr,n,GoTo(restartprompt)<br>
<br>
exten => _X,1,Set(choice=${EXTEN})<br>
exten => _X,n,System(echo
"'${klantID}','IVR','${choice}','','${CHANNEL:4}','$(date +%s)'"
>> /var/log/asterisk/loggingAST/${CHANNEL:4}.csv)<br>
exten => _X,n,other_stuff_I_do<br>
<br>
exten => _X.,1,Set(choice=${EXTEN})<br>
exten => _X.,n,System(echo
"'${klantID}','IVR','${keuzeID}','','${CHANNEL:4}','$(date +%s)'"
>> /var/log/asterisk/loggingAST/${CHANNEL:4}.csv)<br>
exten => _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>