2
0

tts.xml 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249
  1. <include>
  2. <macro name="voicemail_enter_id">
  3. <input pattern="(.*)">
  4. <match>
  5. <action function="speak-text" data="please enter your i d, followed by $1."/>
  6. </match>
  7. </input>
  8. </macro>
  9. <macro name="voicemail_enter_pass">
  10. <input pattern="(.*)">
  11. <match>
  12. <action function="speak-text" data="please enter your password, followed by $1."/>
  13. </match>
  14. </input>
  15. </macro>
  16. <macro name="voicemail_fail_auth">
  17. <input pattern="(.*)">
  18. <match>
  19. <action function="speak-text" data="login incorrect."/>
  20. </match>
  21. </input>
  22. </macro>
  23. <macro name="voicemail_hello">
  24. <input pattern="(.*)">
  25. <match>
  26. <action function="speak-text" data="welcome to your voicemail."/>
  27. </match>
  28. </input>
  29. </macro>
  30. <macro name="voicemail_goodbye">
  31. <input pattern="(.*)">
  32. <match>
  33. <action function="speak-text" data="goodbye."/>
  34. </match>
  35. </input>
  36. </macro>
  37. <macro name="voicemail_abort">
  38. <input pattern="(.*)">
  39. <match>
  40. <action function="speak-text" data="too many failed attempts."/>
  41. </match>
  42. </input>
  43. </macro>
  44. <macro name="voicemail_message_count">
  45. <input pattern="^1:(.*)$" break_on_match="true">
  46. <match>
  47. <action function="speak-text" data="you have 1 $1 message in folder ${voicemail_current_folder}."/>
  48. </match>
  49. </input>
  50. <input pattern="^(\d+):(.*)$">
  51. <match>
  52. <action function="speak-text" data="you have $1 $2 messages in folder ${voicemail_current_folder}."/>
  53. </match>
  54. </input>
  55. </macro>
  56. <macro name="voicemail_menu">
  57. <input pattern="^([0-9#*]):([0-9#*]):([0-9#*]):([0-9#*])$">
  58. <match>
  59. <action function="speak-text"
  60. data="To listen to new messages, press $1, To listen to saved messages, press $2, For advanced options, press $3, to exit, press $4."/>
  61. </match>
  62. </input>
  63. </macro>
  64. <macro name="voicemail_config_menu">
  65. <input pattern="^([0-9#*]):([0-9#*]):([0-9#*]):([0-9#*]):([0-9#*])$">
  66. <match>
  67. <action function="speak-text"
  68. data="To record a greeting, press $1, To choose a greeting, press $2, To record your name, press $3, to change your password, press $5, to return to the main menu, press $5."/>
  69. </match>
  70. </input>
  71. </macro>
  72. <macro name="voicemail_record_name">
  73. <input pattern="^(.*)$">
  74. <match>
  75. <action function="speak-text" data="at the tone, please record your name, press any key or stop talking to end the recording."/>
  76. </match>
  77. </input>
  78. </macro>
  79. <macro name="voicemail_record_file_check">
  80. <input pattern="^([0-9#*]):([0-9#*]):([0-9#*])$">
  81. <match>
  82. <action function="speak-text"
  83. data="To listen to the recording, press $1, To save the recording, press $2, To re record, press $3."/>
  84. </match>
  85. </input>
  86. </macro>
  87. <macro name="voicemail_record_urgent_check">
  88. <input pattern="^([0-9#*]):([0-9#*])$">
  89. <match>
  90. <action function="speak-text"
  91. data="To mark this message urgent, press $1, To continue, press $2."/>
  92. </match>
  93. </input>
  94. </macro>
  95. <macro name="voicemail_invalid_extension">
  96. <input pattern="^([0-9#*])$">
  97. <match>
  98. <action function="speak-text" data="$1 is not a valid extension."/>
  99. </match>
  100. </input>
  101. </macro>
  102. <macro name="voicemail_forward_message_enter_extension">
  103. <input pattern="^([0-9#*])$">
  104. <match>
  105. <action function="speak-text" data="enter the extension you wish to forward to, then press $1"/>
  106. </match>
  107. </input>
  108. </macro>
  109. <macro name="voicemail_forward_prepend">
  110. <input pattern="^([0-9#*])$">
  111. <match>
  112. <action function="speak-text" data="To record an announcement, press $1."/>
  113. </match>
  114. </input>
  115. </macro>
  116. <macro name="voicemail_listen_file_check">
  117. <input pattern="^([0-9#*]):([0-9#*]):([0-9#*]):([0-9#*]):([0-9#*]):([0-9#*])$">
  118. <match>
  119. <action function="speak-text"
  120. data="To listen to the recording again, press $1, To save the recording, press $2, To delete the recording, press $3, to forward the recording to your email, press $4, to call the caller now, press $5, To forward this message to another extension, press $6."/>
  121. </match>
  122. </input>
  123. </macro>
  124. <macro name="voicemail_choose_greeting">
  125. <input pattern="^(.*)$">
  126. <match>
  127. <action function="speak-text" data="choose a greeting between 1 and 3."/>
  128. </match>
  129. </input>
  130. </macro>
  131. <macro name="voicemail_choose_greeting_fail">
  132. <input pattern="^(.*)$">
  133. <match>
  134. <action function="speak-text" data="invalid value."/>
  135. </match>
  136. </input>
  137. </macro>
  138. <macro name="voicemail_record_greeting">
  139. <input pattern="^(.*)$">
  140. <match>
  141. <action function="speak-text" data="record your greeting at the tone, press any key or stop talking to end the recording."/>
  142. </match>
  143. </input>
  144. </macro>
  145. <macro name="voicemail_record_message">
  146. <input pattern="^(.*)$">
  147. <match>
  148. <action function="speak-text" data="record your message at the tone, press any key or stop talking to end the recording."/>
  149. </match>
  150. </input>
  151. </macro>
  152. <macro name="voicemail_greeting_selected">
  153. <input pattern="^(.*)$">
  154. <match>
  155. <action function="speak-text" data="greeting $1 selected."/>
  156. </match>
  157. </input>
  158. </macro>
  159. <macro name="voicemail_play_greeting">
  160. <input pattern="^(.*)$">
  161. <match>
  162. <action function="speak-text" data="$1 is not available."/>
  163. </match>
  164. </input>
  165. </macro>
  166. <macro name="voicemail_say_number">
  167. <input pattern="^(.*)$">
  168. <match>
  169. <action function="speak-text" data="$1"/>
  170. </match>
  171. </input>
  172. </macro>
  173. <macro name="voicemail_say_message_number">
  174. <input pattern="^([a-z]+):(.*)$">
  175. <match>
  176. <action function="speak-text" data="$1 message number $2."/>
  177. </match>
  178. </input>
  179. </macro>
  180. <macro name="voicemail_say_phone_number">
  181. <input pattern="^(.*)$">
  182. <match>
  183. <action function="speak-text" data="$1."/>
  184. </match>
  185. </input>
  186. </macro>
  187. <macro name="voicemail_say_name">
  188. <input pattern="^(.*)$">
  189. <match>
  190. <action function="speak-text" data="$1."/>
  191. </match>
  192. </input>
  193. </macro>
  194. <macro name="voicemail_ack">
  195. <input pattern="^(.*)$">
  196. <match>
  197. <action function="speak-text" data="message $1"/>
  198. </match>
  199. </input>
  200. </macro>
  201. <macro name="voicemail_say_date">
  202. <input pattern="^(.*)$">
  203. <match>
  204. <action function="speak-text" data="${strftime($1|%A, %B %d %Y, %I:%M %p)}"/>
  205. </match>
  206. </input>
  207. </macro>
  208. </include>
  209. <!--
  210. For Emacs:
  211. Local Variables:
  212. mode:xml
  213. indent-tabs-mode:nil
  214. tab-width:2
  215. c-basic-offset:2
  216. End:
  217. For VIM:
  218. vim:set softtabstop=2 shiftwidth=2 tabstop=2 expandtab:
  219. -->