[Freeswitch-svn] [commit] r8183 - freeswitch/trunk/conf/lang/en/vm

Freeswitch SVN brian at freeswitch.org
Wed Apr 23 14:46:11 EDT 2008


Author: brian
Date: Wed Apr 23 14:46:11 2008
New Revision: 8183

Modified:
   freeswitch/trunk/conf/lang/en/vm/sounds.xml

Log:
fix vm macro for saved vs new when one message exists. thanks bsnipes

Modified: freeswitch/trunk/conf/lang/en/vm/sounds.xml
==============================================================================
--- freeswitch/trunk/conf/lang/en/vm/sounds.xml	(original)
+++ freeswitch/trunk/conf/lang/en/vm/sounds.xml	Wed Apr 23 14:46:11 2008
@@ -50,11 +50,11 @@
   </macro>
 
   <macro name="voicemail_message_count">
-    <input pattern="^1:(.*)$">
+    <input pattern="^(1):(.*)$">
       <match>
 	<action function="play-file" data="voicemail/vm-you_have.wav"/>
-	<action function="say" data="1" method="pronounced" type="items"/>
-	<action function="play-file" data="voicemail/vm-new.wav"/> 
+	<action function="say" data="$1" method="pronounced" type="items"/>
+	<action function="play-file" data="voicemail/vm-$2.wav"/> 
 	<action function="play-file" data="voicemail/vm-message.wav"/>
 	<action function="play-file" data="voicemail/vm-in_folder.wav"/>
       </match>



More information about the Freeswitch-svn mailing list