[Freeswitch-svn] [commit] r13099 - freeswitch/trunk/src/mod/say/mod_say_en

FreeSWITCH SVN anthm at freeswitch.org
Tue Apr 21 06:23:39 PDT 2009


Author: anthm
Date: Tue Apr 21 08:23:38 2009
New Revision: 13099

Log:
MODAPP-263

Modified:
   freeswitch/trunk/src/mod/say/mod_say_en/mod_say_en.c

Modified: freeswitch/trunk/src/mod/say/mod_say_en/mod_say_en.c
==============================================================================
--- freeswitch/trunk/src/mod/say/mod_say_en/mod_say_en.c	(original)
+++ freeswitch/trunk/src/mod/say/mod_say_en/mod_say_en.c	Tue Apr 21 08:23:38 2009
@@ -101,7 +101,11 @@
 
 	if (b) {
 		if (b > 1) {
-			say_file("digits/%d0.wav", b);
+		   if ((c==0) && (method == SSM_COUNTED)) {
+		     say_file("digits/h-%d0.wav", b);
+		   } else {
+		     say_file("digits/%d0.wav", b);
+		   }
 		} else {
 			say_file("digits/%d%d.wav", b, c);
 			c = 0;
@@ -439,6 +443,10 @@
 	if (say_time) {
 		int32_t hour = tm.tm_hour, pm = 0;
 
+		 if (say_date) {
+		   say_file("time/at.wav");
+		 }
+
 		if (hour > 12) {
 			hour -= 12;
 			pm = 1;



More information about the Freeswitch-svn mailing list