[asterisk-users] Why does it take several seconds to interpret DTMF-input ?
Richard Mudgett
rmudgett at digium.com
Tue Jun 11 09:39:15 CDT 2013
On Tue, Jun 11, 2013 at 9:29 AM, Jonas Kellens <jonas.kellens at telenet.be>wrote:
> On 06/11/2013 04:12 PM, Matthew J. Roth wrote:
>
> Jonas Kellens wrote:
>
> 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 ?
>
> <snip>
Dialplan :
>
> exten => ivr,1,NoOp()
> exten =>
> ivr,n(restartprompt),Background(/var/lib/asterisk/sounds/vprompts/${KNUMMER}/${ASTPROMPT})
> exten => ivr,n,NoOp(${BACKGROUNDSTATUS})
> exten => ivr,n,WaitExten(15)
> exten => ivr,n,GoTo(restartprompt)
>
> exten => _X,1,Set(choice=${EXTEN})
> exten => _X,n,System(echo
> "'${klantID}','IVR','${choice}','','${CHANNEL:4}','$(date +%s)'" >>
> /var/log/asterisk/loggingAST/${CHANNEL:4}.csv)
> exten => _X,n,other_stuff_I_do
>
> exten => _X.,1,Set(choice=${EXTEN})
> exten => _X.,n,System(echo
> "'${klantID}','IVR','${keuzeID}','','${CHANNEL:4}','$(date +%s)'" >>
> /var/log/asterisk/loggingAST/${CHANNEL:4}.csv)
> exten => _X.,n,other_stuff_I_do
>
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.
Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130611/9a49f844/attachment.htm>
More information about the asterisk-users
mailing list