How do I match a "D"? (Was: RE: [Asterisk-Users] In-band disc onn ect problem (legacy PBX) - asterisk doesn't hear the touchtone?)

Steven Critchfield critch at basesys.com
Wed Feb 9 10:52:03 MST 2005


On Wed, 2005-02-09 at 09:42 -0700, Kevin P. Fleming wrote:
> Steven Critchfield wrote:
> 
> > I would suggest that that be added as a optional switch to background to
> > get the extra digits. While I do not know if A-D are easy to hit with
> > Talk-Off, it is 4 more potential digits to hit. Also it would be less
> > surprise to a user to be required a flag to Background() to get those
> > than it would be to diagnose why you occasionally get dumped in an
> > invalid extension.
> 
> Unless I'm mistaken, if you don't have a "D" extension defined in the 
> context, Background() is going to ignore the "D" keypress anyway.

You should end up with invalid just like if you pressed a 1 without a
extension or pattern matching the 1.
-- 
Steven Critchfield <critch at basesys.com>




More information about the asterisk-users mailing list