[Asterisk-cvs] asterisk ChangeLog, 1.74.2.28, 1.74.2.29 say.c, 1.38.2.3, 1.38.2.4

russell at lists.digium.com russell at lists.digium.com
Sun Mar 27 23:46:21 CST 2005


Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv473

Modified Files:
      Tag: v1-0
	ChangeLog say.c 
Log Message:
fix saying the date in spanish (bug #3642)


Index: ChangeLog
===================================================================
RCS file: /usr/cvsroot/asterisk/ChangeLog,v
retrieving revision 1.74.2.28
retrieving revision 1.74.2.29
diff -u -d -r1.74.2.28 -r1.74.2.29
--- ChangeLog	18 Mar 2005 17:30:05 -0000	1.74.2.28
+++ ChangeLog	28 Mar 2005 05:40:13 -0000	1.74.2.29
@@ -4,6 +4,13 @@
        is available through the Asterisk-CVS mailing list hosted
        at http://lists.digium.com.
 
+ -- chan_zap
+    -- Asterisk will now also look in the regular context for the fax extension while
+       executing a macro.  Previously, for this to work, the fax extension would have
+       to be included in the macro definition.
+ -- general
+    -- A problem has been fixed with saying the date in Spanish.
+
 Asterisk 1.0.7
 
  -- chan_sip

Index: say.c
===================================================================
RCS file: /usr/cvsroot/asterisk/say.c,v
retrieving revision 1.38.2.3
retrieving revision 1.38.2.4
diff -u -d -r1.38.2.3 -r1.38.2.4
--- say.c	22 Dec 2004 06:18:32 -0000	1.38.2.3
+++ say.c	28 Mar 2005 05:40:13 -0000	1.38.2.4
@@ -2976,20 +2976,7 @@
 			case 'H':
 			case 'k':
 				/* 24-Hour */
-				res = ast_say_number(chan, -tm.tm_hour, ints, lang, NULL);
-				if (!res) {
-					if (tm.tm_hour != 0) {
-						int remainder = tm.tm_hour;
-						if (tm.tm_hour > 20) {
-							res = wait_file(chan,ints, "digits/20",lang);
-							remainder -= 20;
-						}
-						if (!res) {
-							snprintf(nextmsg,sizeof(nextmsg), "digits/%d", remainder);
-							res = wait_file(chan,ints,nextmsg,lang);
-						}
-					}
-				}
+				res = ast_say_number(chan, tm.tm_hour, ints, lang, NULL);
 				break;
 			case 'M':
 				/* Minute */




More information about the svn-commits mailing list