提交 3aeeda1d authored 作者: Brian West's avatar Brian West

MODASRTTS-20

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14911 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 a6f605d0
...@@ -49,9 +49,14 @@ ...@@ -49,9 +49,14 @@
</macro> </macro>
<macro name="voicemail_message_count"> <macro name="voicemail_message_count">
<input pattern="^([^:]+):([^:]+):{0,1}(.*)"> <input pattern="^([^:]+):urgent-new:{0,1}(.*)">
<match> <match>
<action function="speak-text" data="Vous avez $1 $2 message$3 dans le rpertoir ${voicemail_current_folder}."/> <action function="speak-text" data="Vous avez $1 nouveau message$2 urgent dans le rpertoir ${voicemail_current_folder}."/>
</match>
</input>
<input pattern="^([^:]+):new:{0,1}(.*)">
<match>
<action function="speak-text" data="Vous avez $1 nouveau message$2 dans le rpertoir ${voicemail_current_folder}."/>
</match> </match>
</input> </input>
</macro> </macro>
...@@ -104,10 +109,10 @@ ...@@ -104,10 +109,10 @@
</macro> </macro>
<macro name="voicemail_listen_file_check"> <macro name="voicemail_listen_file_check">
<input pattern="^([0-9#*]):([0-9#*]):([0-9#*]):([0-9#*])$"> <input pattern="^([0-9#*]):([0-9#*]):([0-9#*]):([0-9#*]):([0-9#*]):([0-9#*])$">
<match> <match>
<action function="speak-text" <action function="speak-text"
data="Pour rcouter l'enregistrement nouveau, tappez $1, Pour sauvegarder l'enregistrement, tappez $2, Pour supprimer l'enregistrement, tappez $3, pour transfrer l'enregistrement votre mail, tappez $4."/> data="Pour rcouter l'enregistrement nouveau, tappez $1, Pour sauvegarder l'enregistrement, tappez $2, Pour supprimer l'enregistrement, tappez $3, pour transfrer l'enregistrement votre mail, tappez $4, Pour appeler l'appelant, tappez $5, Pour transfrer ce message un autre numro, tappez $6."/>
</match> </match>
</input> </input>
</macro> </macro>
...@@ -155,7 +160,7 @@ ...@@ -155,7 +160,7 @@
<macro name="voicemail_play_greeting"> <macro name="voicemail_play_greeting">
<input pattern="^(.*)$"> <input pattern="^(.*)$">
<match> <match>
<action function="speak-text" data="$1 n'est pas valide."/> <action function="speak-text" data="$1 n'est pas disponible."/>
</match> </match>
</input> </input>
</macro> </macro>
...@@ -169,9 +174,14 @@ ...@@ -169,9 +174,14 @@
</macro> </macro>
<macro name="voicemail_say_message_number"> <macro name="voicemail_say_message_number">
<input pattern="^([a-z]+):(.*)$"> <input pattern="new:(.*)$">
<match>
<action function="speak-text" data="nouveau message numero $1."/>
</match>
</input>
<input pattern="^(saved):(.*)$">
<match> <match>
<action function="speak-text" data="$1 message numero $2."/> <action function="speak-text" data="message sauvegard numero $1."/>
</match> </match>
</input> </input>
</macro> </macro>
...@@ -193,9 +203,29 @@ ...@@ -193,9 +203,29 @@
</macro> </macro>
<macro name="voicemail_ack"> <macro name="voicemail_ack">
<input pattern="^(.*)$"> <input pattern="^(too-small)$">
<match>
<action function="speak-text" data="message trop court"/>
</match>
</input>
<input pattern="^(deleted)$">
<match>
<action function="speak-text" data="message supprim"/>
</match>
</input>
<input pattern="^(saved)$">
<match>
<action function="speak-text" data="message sauvegard"/>
</match>
</input>
<input pattern="^(emailed)$">
<match>
<action function="speak-text" data="message envoy"/>
</match>
</input>
<input pattern="^(marked-urgent)$">
<match> <match>
<action function="speak-text" data="message $1"/> <action function="speak-text" data="message marqu comme tant urgent"/>
</match> </match>
</input> </input>
</macro> </macro>
...@@ -203,7 +233,7 @@ ...@@ -203,7 +233,7 @@
<macro name="voicemail_say_date"> <macro name="voicemail_say_date">
<input pattern="^(.*)$"> <input pattern="^(.*)$">
<match> <match>
<action function="speak-text" data="$strftime($1|%A, %B %d %Y, %I %M %p)"/> <action function="speak-text" data="${strftime($1|%A, %e %B %Y, %H heures %M)}"/>
</match> </match>
</input> </input>
</macro> </macro>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论