[asterisk-commits] branch rizzo/base r9690 - /team/rizzo/base/configs/say.conf.sample

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Sun Feb 12 08:48:23 MST 2006


Author: rizzo
Date: Sun Feb 12 09:48:21 2006
New Revision: 9690

URL: http://svn.digium.com/view/asterisk?rev=9690&view=rev
Log:
add sample file for table-based number and date spelling


Added:
    team/rizzo/base/configs/say.conf.sample

Added: team/rizzo/base/configs/say.conf.sample
URL: http://svn.digium.com/view/asterisk/team/rizzo/base/configs/say.conf.sample?rev=9690&view=auto
==============================================================================
--- team/rizzo/base/configs/say.conf.sample (added)
+++ team/rizzo/base/configs/say.conf.sample Sun Feb 12 09:48:21 2006
@@ -1,0 +1,60 @@
+; say.conf
+;
+; language configuration
+
+[en-base](!)
+_0. => say:${SAY:1}
+_X => digits/${SAY}
+_1X => digits/${SAY}
+_[2-9]0 =>  digits/${SAY}
+_[2-9][1-9] =>  digits/${SAY:0:1}0, say:${SAY:1}
+_XXX => say:${SAY:0:1}, digits/hundred, say:${SAY:1}
+
+_XXXX => say:${SAY:0:1}, digits/thousand, say:${SAY:1}
+_XXXXX => say:${SAY:0:2}, digits/thousand, say:${SAY:2}
+_XXXXXX => say:${SAY:0:3}, digits/thousand, say:${SAY:3}
+
+_XXXXXXX => say:${SAY:0:1}, digits/million, say:${SAY:1}
+_XXXXXXXX => say:${SAY:0:2}, digits/million, say:${SAY:2}
+_XXXXXXXXX => say:${SAY:0:3}, digits/million, say:${SAY:3}
+
+_XXXXXXXXXX => say:${SAY:0:1}, digits/billion, say:${SAY:1}
+_XXXXXXXXXXX => say:${SAY:0:2}, digits/billion, say:${SAY:2}
+_XXXXXXXXXXXX => say:${SAY:0:3}, digits/billion, say:${SAY:3}
+
+; enumeration
+_enum:X => digits/h-${SAY}
+_enum:1X => digits/h-${SAY}
+_enum:[2-9]0 => digits/h-${SAY}
+_enum:[2-9][1-9] => say:${SAY:0:1}0, digits/h-${SAY:1}
+_enum:[1-9]XX => say:${SAY:0:1}, digits/hundred, say:enum:${SAY:1}
+
+[en](en-base)
+
+[it]
+_0. => say:${SAY:1}
+_X => digits/${SAY}
+_1X => digits/${SAY}
+_[2-9]0 =>  digits/${SAY}
+_[2-9][1-9] =>  digits/${SAY:0:1}0, say:${SAY:1}
+_1XX => digits/hundred, say:${SAY:1}
+_[2-9]1XX => say:${SAY:0:1}, digits/hundred, say:${SAY:1}
+
+_1XXX => digits/thousand, say:${SAY:1}
+_[2-9]XXX => say:${SAY:0:1}, digits/thousands, say:${SAY:1}
+_XXXXX => say:${SAY:0:2}, digits/thousands, say:${SAY:2}
+_XXXXXX => say:${SAY:0:3}, digits/thousands, say:${SAY:3}
+
+_1XXXXXX => say:${SAY:0:1}, digits/million, say:${SAY:1}
+_[2-9]XXXXXX => say:${SAY:0:1}, digits/millions, say:${SAY:1}
+_XXXXXXXX => say:${SAY:0:2}, digits/millions, say:${SAY:2}
+_XXXXXXXXX => say:${SAY:0:3}, digits/millions, say:${SAY:3}
+
+_XXXXXXXXXX => say:${SAY:0:1}, digits/billion, say:${SAY:1}
+_XXXXXXXXXXX => say:${SAY:0:2}, digits/billion, say:${SAY:2}
+_XXXXXXXXXXXX => say:${SAY:0:3}, digits/billion, say:${SAY:3}
+
+_data => say:%d, say:%m, say:%Y
+_d:. => say:${SAY}
+_m:. => digits/mon-${SAY}
+_Y:. => say:${SAY}



More information about the asterisk-commits mailing list