[Home]

Summary:ASTERISK-03794: [patch] little fix with SAY NUMBER
Reporter:Clod Patry (junky)Labels:
Date Opened:2005-03-28 09:43:38.000-0600Date Closed:2008-01-15 15:30:47.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Resources/res_agi
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) agi_say_number.diff.txt
Description:When doing a SAY NUMBER 09 or SAY NUMBER 08, the say number announces 0 instead of 9 and 8.

That patch fixed this problem, like you can see;
before the patch:
AGI Rx << SAY NUMBER 09 ""
   -- Playing 'digits/0' (language 'en')
AGI Tx >> 200 result=0
AGI Rx << SAY NUMBER 08 ""
   -- Playing 'digits/0' (language 'en')

We can remark the SAY NUMBER 08/09 doesnt work well.


with the patch:
AGI Rx << SAY NUMBER 09 ""
   -- Playing 'digits/9' (language 'en')
AGI Tx >> 200 result=0
AGI Rx << SAY NUMBER 08 ""
   -- Playing 'digits/8' (language 'en')
AGI Tx >> 200 result=0

Now the SAY NUMBER 08/09 works well.



****** ADDITIONAL INFORMATION ******

Disclaimer on file.
Comments:By: Kevin P. Fleming (kpfleming) 2005-03-28 12:13:58.000-0600

This looks correct, there is no reason to support hex or octal conversions here.

By: Mark Spencer (markster) 2005-03-29 00:27:40.000-0600

Fixed in CVS head.

By: Russell Bryant (russell) 2005-04-05 05:24:58

fixed in 1.0

By: Digium Subversion (svnbot) 2008-01-15 15:29:14.000-0600

Repository: asterisk
Revision: 5298

U   trunk/res/res_agi.c

------------------------------------------------------------------------
r5298 | markster | 2008-01-15 15:29:14 -0600 (Tue, 15 Jan 2008) | 2 lines

Little say numer fix (bug ASTERISK-3794)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=5298

By: Digium Subversion (svnbot) 2008-01-15 15:30:47.000-0600

Repository: asterisk
Revision: 5406

U   branches/v1-0/CHANGES
U   branches/v1-0/res/res_agi.c

------------------------------------------------------------------------
r5406 | russell | 2008-01-15 15:30:46 -0600 (Tue, 15 Jan 2008) | 2 lines

fix say number with a leading zero (bug ASTERISK-3794)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=5406