[asterisk-users] Why does it take several seconds to interpret DTMF-input ?
Eric Wieling
EWieling at nyigc.com
Tue Jun 11 09:54:20 CDT 2013
No. When you dial "1" the PBX does not know if it needs to match _X or _X.
-----Original Message-----
From: Jonas Kellens [mailto:jonas.kellens at telenet.be]
Sent: Tuesday, June 11, 2013 10:53 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Cc: Eric Wieling
Subject: Re: [asterisk-users] Why does it take several seconds to interpret DTMF-input ?
On 06/11/2013 04:46 PM, Eric Wieling wrote:
The only way to resolve this is to redesign your dialplan so you do not have ambiguous matching, This is not an Asterisk issue, this is an issue with the way you designed your dialplan and would apply to any IVR on any system.
I understand that I need to re-design my dialplan logic.
I gave an example of my re-design in my last post. Would that have been a good re-design ?? Or is it still ambiguous ?
I will post it again :
[my-context]
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 => ivradvanced,1,NoOp()
exten => ivradvanced,n(restartprompt),Background(/var/lib/asterisk/sounds/vprompts/${KNUMMER}/${ASTPROMPT})
exten => ivradvanced,n,NoOp(${BACKGROUNDSTATUS})
exten => ivradvanced,n,WaitExten(15)
exten => ivradvanced,n,GoTo(restartprompt)
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
[another-context]
...
...
Kind regards,
Jonas.
More information about the asterisk-users
mailing list