[Asterisk-cvs] asterisk say.c,1.53,1.54

kpfleming at lists.digium.com kpfleming at lists.digium.com
Mon Apr 4 23:34:10 CDT 2005


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

Modified Files:
	say.c 
Log Message:
correct french pronounciation of years between 1900 and 1999 (bug #3949)


Index: say.c
===================================================================
RCS file: /usr/cvsroot/asterisk/say.c,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -d -r1.53 -r1.54
--- say.c	4 Apr 2005 16:10:09 -0000	1.53
+++ say.c	5 Apr 2005 04:26:59 -0000	1.54
@@ -3724,8 +3724,10 @@
 						/* I'm not going to handle 1900 and prior */
 						/* We'll just be silent on the year, instead of bombing out. */
 					} else {
-						res = wait_file(chan,ints, "digits/19",lang);
+						res = wait_file(chan,ints, "digits/thousand",lang);
 						if (!res) {
+							wait_file(chan,ints, "digits/9",lang);
+							wait_file(chan,ints, "digits/hundred",lang);
 							res = ast_say_number(chan, tm.tm_year, ints, lang, (char * ) NULL);
 						}
 					}




More information about the svn-commits mailing list