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) {

_______________________________________________
Asterisk-Cvs mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-cvs

Reply via email to