diff options
author | Leif Madsen <leif@leifmadsen.com> | 2010-08-31 19:01:12 +0000 |
---|---|---|
committer | Leif Madsen <leif@leifmadsen.com> | 2010-08-31 19:01:12 +0000 |
commit | ed02f865369564b7039da505ae2b7efb5dca4eed (patch) | |
tree | aa99500bc0d566fec1221de326ace587abc7eb3e /configs | |
parent | 7e718275a598c0718a791823d05bf24fe45721d9 (diff) |
Merged revisions 284318 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8
................
r284318 | lmadsen | 2010-08-31 14:00:15 -0500 (Tue, 31 Aug 2010) | 22 lines
Merged revisions 284317 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2
................
r284317 | lmadsen | 2010-08-31 13:59:31 -0500 (Tue, 31 Aug 2010) | 15 lines
Merged revisions 284316 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r284316 | lmadsen | 2010-08-31 13:57:59 -0500 (Tue, 31 Aug 2010) | 7 lines
Update say.conf.sample to match the rules in say.c
(closes issue #17835)
Reported by: RoadKill
Patches:
say.conf.sample.patch.rules uploaded by RoadKill (license 933)
Tested by: RoadKill
........
................
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@284319 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'configs')
-rw-r--r-- | configs/say.conf.sample | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/configs/say.conf.sample b/configs/say.conf.sample index 8148422f4..6285dbe1e 100644 --- a/configs/say.conf.sample +++ b/configs/say.conf.sample @@ -86,16 +86,23 @@ mode=old ; method for playing numbers and dates ; the 'SAY' variable contains YYYYMMDDHHmm.ss-dow-doy ; these rule map the strftime attributes. _date:Y:. => num:${SAY:0:4} ; year, 19xx - _date:[Bb]:. => digits/mon-$[${SAY:4:2}-1] ; month name, 0..11 + _date:[Bbh]:. => digits/mon-$[${SAY:4:2}-1] ; month name, 0..11 _date:[Aa]:. => digits/day-${SAY:16:1} ; day of week _date:[de]:. => num:${SAY:6:2} ; day of month - _date:[hH]:. => num:${SAY:8:2} ; hour + _date:[H]:. => digits/oh, num:${SAY:8:2} ; hour (oh one, oh two, ..., oh nine, ten, eleven, ..., twenty-three) _date:[I]:. => num:$[${SAY:8:2} % 12] ; hour 0-12 _date:[M]:. => num:${SAY:10:2} ; minute ; XXX too bad the '?' function does not remove the quotes ; _date:[pP]:. => digits/$[ ${SAY:10:2} > 12 ? "p-m" :: "a-m"] ; am pm _date:[pP]:. => digits/p-m ; am pm _date:[S]:. => num:${SAY:13:2} ; seconds + _date:[Ii]:. => num:$[${SAY:8:2} % 12] ; hour 0-12 + _date:[k]:. => num:${SAY:8:2} ; hour (one, two. three, ...,twenty three + _date:[m]:. => num:${SAY:4:2} ; month number + _date:[Q]:. => date:dby ;incompleat ; "today", "yesterday" or ABdY + _date:[q]:. => date:dby ;incompleat ; "" (for today), "yesterday", weekday, or ABdY + _date:[R]:. => date:HM${SAY} ; 24 hour time, including minute + _date:[T]:. => date:HMS${SAY} ; 24 hour, minure, seconds [en-base](!) _[n]um:0. => num:${SAY:1} |