I've noticed that when i pass a wait in an exten => that it doesn't allow for dtmf tone input. Also on another note i've noticed that when using gotoif it will also cut the dtmf tones and drop the first part if the gotoif is hit in the middle of input. Anybody else seen this or have this problem?
On Wed, 2004-05-26 at 09:33, Maveric wrote:> I've noticed that when i pass a wait in an exten => that it doesn't allow > for dtmf tone input. Also on another note i've noticed that when using > gotoif it will also cut the dtmf tones and drop the first part if the > gotoif is hit in the middle of input. Anybody else seen this or have this > problem?Wait() shouldn't take dtmf. It does seem odd till you realize that that is why there is timeouts and a timeout extension. Basically, if you are awaiting information from a user, just end your current priority and allow the timeout in your context to work. As for gotoif(), if you are processing dtmf and you start into a extension, asterisk has determined a match existed and is following your instructions. Only when you hit a point where you aren't telling asterisk what to do should it start listening for DTMF again. -- Steven Critchfield <critch@basesys.com>
On Wed, 26 May 2004, Maveric waxed:> I've noticed that when i pass a wait in an exten => that it doesn't allowAre you talking about the Wait() application ? 'show application wait'> for dtmf tone input. Also on another note i've noticed that when usingBackground() is what you want if you want to *wait* for DTMF.> gotoif it will also cut the dtmf tones and drop the first part if the > gotoif is hit in the middle of input. Anybody else seen this or have this > problem?GotoIf should execute a lot faster than your fingers can push buttons to send DTMF. Can you post the relevant section(s) of your extensions.conf ? --Chris -- Chris Maj, Rochester cmaj_at_freedomcorpse_dot_com Pronunciation Guide: Maj == May
At 7:33 AM -0700 on 5/26/04, Maveric wrote:>I've noticed that when i pass a wait in an exten => that it doesn't >allow for dtmf tone input. Also on another note i've noticed that >when using gotoif it will also cut the dtmf tones and drop the first >part if the gotoif is hit in the middle of input. Anybody else seen >this or have this problem?[catching up on >800 -user posts - sorry for delay] Nobody on the list suggested this method that I saw: Use the "Background" application, but play silence. You'll notice in the asterisk-sounds directory (the additional package) there is a directory called "silence" which contains 10 files ranging from 1 to 10 seconds of silence. Works the same as Wait from the user's perspective (they hear nothing) but lets the user type keys. That's why I made those files; it's only a slightly ugly hack, and it works quite well. :-) JT