David Brodbeck
2005-Feb-08 12:15 UTC
[Asterisk-Users] Bug? Background() doesn't recognize D tone.
I finally figured out my extension D issue. The extension works fine as long as Background() has finished playing. But during playback, the "D" tone is not recognized. Is there any way to configure this? Is this a bug?
David Brodbeck
2005-Feb-08 13:05 UTC
[Asterisk-Users] Bug? Background() doesn't recognize D tone.
> -----Original Message----- > From: David Brodbeck [mailto:DavidB@mail.interclean.com]> I finally figured out my extension D issue. The extension > works fine as > long as Background() has finished playing. But during > playback, the "D" > tone is not recognized. Is there any way to configure this? > Is this a bug?Sorry to keep responding to myself, but I figured it out. Background uses AST_DIGIT_ANY as a list of digits to look for. In /usr/src/asterisk/include/asterisk/file.h, we find this line: #define AST_DIGIT_ANY "0123456789#*" Changing it to #define AST_DIGIT_ANY "0123456789#*ABCD" gave me the behavior I expected. I suppose, technically, A, B, C, and D are not digits...but then, neither are # and *. ;)
Possibly Parallel Threads
- using pam_winbind to authenticate PPP?
- PDF printing problem - can't find Samba's file?
- How do I match a "D"? (Was: RE: In-band disconn ect problem (legacy PBX) - asterisk doesn't hear the touchtone?)
- Setting MWI on legacy PBX
- Some users can't log in -- server shows username as "nobody"