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

Freeswitch SVN mikej at freeswitch.org
Fri Mar 30 13:14:29 EDT 2007


Author: mikej
Date: Fri Mar 30 13:14:28 2007
New Revision: 4809

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

Log:
I was told that the rules for spanish are the same as for english.  So for now, I will add an interface using the same module and functions for "es".  If there are changes to be made in the future, we can split this up into multiple modules.

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	Fri Mar 30 13:14:28 2007
@@ -510,9 +510,15 @@
 	return SWITCH_STATUS_FALSE;
 }
 
+static const switch_say_interface_t es_say_interface = {
+	/*.name */ "es",
+	/*.say_function */ en_say,
+};
+
 static const switch_say_interface_t en_say_interface = {
 	/*.name */ "en",
 	/*.say_function */ en_say,
+	/*.next */ &es_say_interface
 };
 
 static switch_loadable_module_interface_t say_en_module_interface = {



More information about the Freeswitch-svn mailing list