The patch submitted by Diego Toro, however would fix the actual
pronunciation of currency and dates  from 20th - 29th which are not working
with the "english" implementation of mod_say_es.c

In regards the dates pronunciation for voicemail for example we used the
following changes to mod_say_es.c

372,375c412,427
-               say_file("time/day-%d.wav", tm.tm_wday);
-               say_file("time/mon-%d.wav", tm.tm_mon);
-               say_num(tm.tm_mday, SSM_COUNTED);
-               say_num(tm.tm_year + 1900, SSM_PRONOUNCED);
---
+               if (tm.tm_mday == 1) {
+                       say_file("time/day-%d.wav", tm.tm_wday);
+                       say_num(tm.tm_mday, SSM_COUNTED);
+                       say_file("time/de.wav");
+                       say_file("time/mon-%d.wav", tm.tm_mon);
+                       say_file("time/de.wav");
+                       say_num(tm.tm_year + 1900, SSM_PRONOUNCED);
+
+               } else {
+                       say_file("time/day-%d.wav", tm.tm_wday);
+                       say_num(tm.tm_mday, SSM_PRONOUNCED);
+                       say_file("time/de.wav");
+                       say_file("time/mon-%d.wav", tm.tm_mon);
+                       say_file("time/de.wav");
+                       say_num(tm.tm_year + 1900, SSM_PRONOUNCED);
+               }
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to