[asterisk-dev] [svn-commits] tilghman: branch 1.4 r274417 - /branches/1.4/configs/say.conf.sample

Michael L. Young myoung at acsacc.com
Wed Jul 7 11:25:26 CDT 2010


----- Original Message -----
> From: "SVN commits to the Digium repositories" <svn-commits at lists.digium.com>
> To: asterisk-commits at lists.digium.com, svn-commits at lists.digium.com
> Sent: Wednesday, July 7, 2010 2:14:00 AM
> Subject: [svn-commits] tilghman: branch 1.4 r274417 - /branches/1.4/configs/say.conf.sample
> Author: tilghman
> Date: Wed Jul 7 01:13:54 2010
> New Revision: 274417
> 
> URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=274417
> Log:
> Correct how 100, 200, 300, etc. is said. Also add the crazy British
> numbers.
> 
> (closes issue #16102)
> Reported by: Delvar
> Patches:
> say.conf.fix.patch uploaded by Delvar (license 908)
> (plus a few additional fixes and simplifications by me)
> 
> Modified:
> branches/1.4/configs/say.conf.sample
> 
> Modified: branches/1.4/configs/say.conf.sample
> URL:
> http://svnview.digium.com/svn/asterisk/branches/1.4/configs/say.conf.sample?view=diff&rev=274417&r1=274416&r2=274417
> ==============================================================================
> --- branches/1.4/configs/say.conf.sample (original)
> +++ branches/1.4/configs/say.conf.sample Wed Jul 7 01:13:54 2010
> @@ -98,6 +98,7 @@
> _[n]um:1X => digits/${SAY}
> _[n]um:[2-9]0 => digits/${SAY}
> _[n]um:[2-9][1-9] => digits/${SAY:0:1}0, num:${SAY:1}
> + _[n]um:X00 => num:${SAY:0:1}, digits/hundred
> _[n]um:XXX => num:${SAY:0:1}, digits/hundred, num:${SAY:1}
> 
> _[n]um:XXXX => num:${SAY:0:1}, digits/thousand, num:${SAY:1}
> @@ -119,13 +120,18 @@
> _e[n]um:[2-9][1-9] => num:${SAY:0:1}0, digits/h-${SAY:1}
> _e[n]um:[1-9]XX => num:${SAY:0:1}, digits/hundred, enum:${SAY:1}
> 
> +[en_GB](date-base,digit-base,en-base)
> + _[n]um:XXX => num:${SAY:0:1}, digits/hundred, vm-and, num:${SAY:1}
> +
> [it](digit-base,date-base)

Just a quick observation, maybe I am wrong.  I think Delvar had "and" for thousand and million as well.  I see the patch was trimmed down to just hundred if I understand properly how say.conf works.

Michael
(elguero)



More information about the asterisk-dev mailing list