[Asterisk-cvs] asterisk say.c,1.63,1.64
kpfleming at lists.digium.com
kpfleming at lists.digium.com
Mon Jul 11 22:28:39 CDT 2005
Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv13109
Modified Files:
say.c
Log Message:
support military-style time announcing ('hundred' instead of 'o-clock') (bug #4605)
Index: say.c
===================================================================
RCS file: /usr/cvsroot/asterisk/say.c,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -d -r1.63 -r1.64
--- say.c 24 Jun 2005 17:19:26 -0000 1.63
+++ say.c 12 Jul 2005 02:36:53 -0000 1.64
@@ -2815,9 +2815,14 @@
}
break;
case 'M':
+ case 'N':
/* Minute */
if (tm.tm_min == 0) {
- res = wait_file(chan,ints, "digits/oclock",lang);
+ if (format[offset] == 'M') {
+ res = wait_file(chan, ints, "digits/oclock", lang);
+ } else {
+ res = wait_file(chan, ints, "digits/hundred", lang);
+ }
} else if (tm.tm_min < 10) {
res = wait_file(chan,ints, "digits/oh",lang);
if (!res) {
More information about the svn-commits
mailing list