[Asterisk-Users] Background() ignoring digits A-D (Was: RE: How do I match a "D"?)

David Brodbeck DavidB at mail.interclean.com
Wed Feb 9 09:49:28 MST 2005


> -----Original Message-----
> From: Steven Critchfield [mailto:critch at basesys.com]

> On Wed, 2005-02-09 at 09:15 -0700, Kevin P. Fleming wrote:
> > David Brodbeck wrote:
> > 
> > > Anyway, I figured it out.  The extension was working, but 
> Background()
> > > ignores the tones A through D by default.  I didn't 
> realize this because I
> > > wasn't waiting for message playback to finish.
> > 
> > Please enter a bug in Mantis for this; it should very likely be 
> > corrected, as I don't see any reason to ignore A-D in Background().
> 
> 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.

At very least it should be documented.  It was very confusing to see the
digits come up in the debug output without provoking any response from *.

Ideally, I suppose, Background() would ignore *any* invalid digits, but that
would require it to understand the dialplan, which is probably impractical.
It would minimize the chances of talk-off, though.  (Why are people talking
during the menus, anyhow? ;) )



More information about the asterisk-users mailing list