[asterisk-commits] trunk r34664 - /trunk/say.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Sun Jun 18 14:26:48 MST 2006


Author: russell
Date: Sun Jun 18 16:26:48 2006
New Revision: 34664

URL: http://svn.digium.com/view/asterisk?rev=34664&view=rev
Log:
fix a polish voicemail bug with saying dates (issue #7389, supczinskib)

Modified:
    trunk/say.c

Modified: trunk/say.c
URL: http://svn.digium.com/view/asterisk/trunk/say.c?rev=34664&r1=34663&r2=34664&view=diff
==============================================================================
--- trunk/say.c (original)
+++ trunk/say.c Sun Jun 18 16:26:48 2006
@@ -4698,7 +4698,11 @@
 			case 'e':
 				/* First - Thirtyfirst */
 				remainder = tm.tm_mday;
-				if (tm.tm_mday > 20) {
+				if (tm.tm_mday > 30) {
+					res = wait_file(chan, ints, "digits/h-30", lang);
+					remainder -= 30;
+				}
+				if (tm.tm_mday > 20 && tm.tm_mday < 30) {
 					res = wait_file(chan, ints, "digits/h-20", lang);
 					remainder -= 20;
 				}



More information about the asterisk-commits mailing list