[Home]

Summary:ASTERISK-04471: SayAlpha does not say "9" as a digit (from say.c)
Reporter:Andrew Lindh (andrew)Labels:
Date Opened:2005-06-23 14:35:09Date Closed:2011-06-07 14:10:37
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:SayAlpha(9); does not work. It trys to play a 9 as a letter, not a digit.

In the say.c code for sayalpha (say_character_str_full) the next statement
after the digits (0 to 8) in the switch (default) says "9 falls here".
Why??? Nine (9) is not a letter...it's a digit.

I say that say.c is missing a case statement for the number 9 at line 98:
case ('9'):
And the default statement should not say "9" falls there...

No matter what 9 realy is "SayAlpha(9)" should work.
Comments:By: Mark Spencer (markster) 2005-06-23 14:37:06

Fixed, how weird.

By: Russell Bryant (russell) 2005-06-24 16:55:28

this does not appear to be an issue in 1.0