[Freeswitch-svn] [commit] r5950 - freeswitch/trunk/conf

Freeswitch SVN brian at freeswitch.org
Wed Oct 17 18:01:23 EDT 2007


Author: brian
Date: Wed Oct 17 18:01:23 2007
New Revision: 5950

Modified:
   freeswitch/trunk/conf/voicemail_de_tts.xml

Log:
update, thanks stkn

Modified: freeswitch/trunk/conf/voicemail_de_tts.xml
==============================================================================
--- freeswitch/trunk/conf/voicemail_de_tts.xml	(original)
+++ freeswitch/trunk/conf/voicemail_de_tts.xml	Wed Oct 17 18:01:23 2007
@@ -48,14 +48,13 @@
   </macro>
 
   <macro name="voicemail_message_count">
-    <input pattern="^([^:]+):([^:]+):{0,1}(.*)">
+    <input pattern="^1:(.*)$">
+      <match>
+	<action function="speak-text" data="Sie haben 1 $2 Nachricht im Ordner ${voicemail_current_folder}."/>
+      </match>
+    </input>
+    <input pattern="^([0,2-9]+):(.*)$">
       <match>
-<!--
-        This would need support from mod_voicemail.c, german plural for messages is "Nachrichten", singular is "Nachricht"
-        numbers are a bit different too,,, "eine Nachricht" vs. "eins" (= the number "one")
-
-	<action function="speak-text" data="Sie haben $1 $2 Nachricht$3 im Ordner ${voicemail_current_folder}."/>
--->
 	<action function="speak-text" data="Sie haben $1 $2 Nachrichten im Ordner ${voicemail_current_folder}."/>
       </match>
     </input>



More information about the Freeswitch-svn mailing list