sounds.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335
  1. <include><!--This line will be ignored it's here to validate the xml and is optional -->
  2. <macro name="voicemail_enter_id">
  3. <input pattern="(.*)">
  4. <match>
  5. <action function="play-file" data="voicemail/vm-enter_id.wav"/>
  6. <action function="say" data="$1" method="pronounced" type="name_spelled"/>
  7. </match>
  8. </input>
  9. </macro>
  10. <macro name="voicemail_enter_pass">
  11. <input pattern="(.*)">
  12. <match>
  13. <action function="play-file" data="voicemail/vm-enter_pass.wav"/>
  14. <action function="say" data="$1" method="pronounced" type="name_spelled"/>
  15. </match>
  16. </input>
  17. </macro>
  18. <macro name="voicemail_fail_auth">
  19. <input pattern="(.*)">
  20. <match>
  21. <action function="play-file" data="voicemail/vm-fail_auth.wav"/>
  22. </match>
  23. </input>
  24. </macro>
  25. <macro name="voicemail_hello">
  26. <input pattern="(.*)">
  27. <match>
  28. <action function="play-file" data="voicemail/vm-hello.wav"/>
  29. </match>
  30. </input>
  31. </macro>
  32. <macro name="voicemail_goodbye">
  33. <input pattern="(.*)">
  34. <match>
  35. <action function="play-file" data="voicemail/vm-goodbye.wav"/>
  36. </match>
  37. </input>
  38. </macro>
  39. <macro name="voicemail_abort">
  40. <input pattern="(.*)">
  41. <match>
  42. <action function="play-file" data="voicemail/vm-abort.wav"/>
  43. </match>
  44. </input>
  45. </macro>
  46. <macro name="voicemail_message_count">
  47. <input pattern="^(1):(.*)$" break_on_match="true">
  48. <match>
  49. <action function="play-file" data="voicemail/vm-you_have.wav"/>
  50. <action function="say" data="$1" method="pronounced" type="items"/>
  51. <action function="play-file" data="voicemail/vm-$2.wav"/>
  52. <action function="play-file" data="voicemail/vm-message.wav"/>
  53. <action function="play-file" data="voicemail/vm-in_folder.wav"/>
  54. </match>
  55. </input>
  56. <input pattern="^(\d+):(.*)$">
  57. <match>
  58. <action function="play-file" data="voicemail/vm-you_have.wav"/>
  59. <action function="say" data="$1" method="pronounced" type="items"/>
  60. <action function="play-file" data="voicemail/vm-$2.wav"/>
  61. <action function="play-file" data="voicemail/vm-messages.wav"/>
  62. <action function="play-file" data="voicemail/vm-in_folder.wav"/>
  63. </match>
  64. </input>
  65. </macro>
  66. <macro name="voicemail_menu">
  67. <input pattern="^([0-9#*]):([0-9#*]):([0-9#*]):([0-9#*])$">
  68. <match>
  69. <action function="play-file" data="voicemail/vm-press.wav"/>
  70. <action function="say" data="$1" method="pronounced" type="name_spelled"/>
  71. <action function="play-file" data="voicemail/vm-listen_new.wav"/>
  72. <action function="play-file" data="voicemail/vm-press.wav"/>
  73. <action function="say" data="$2" method="pronounced" type="name_spelled"/>
  74. <action function="play-file" data="voicemail/vm-listen_saved.wav"/>
  75. <action function="play-file" data="voicemail/vm-press.wav"/>
  76. <action function="say" data="$3" method="pronounced" type="name_spelled"/>
  77. <action function="play-file" data="voicemail/vm-advanced.wav"/>
  78. <action function="play-file" data="voicemail/vm-press.wav"/>
  79. <action function="say" data="$4" method="pronounced" type="name_phonetic"/>
  80. <action function="play-file" data="voicemail/vm-to_exit.wav"/>
  81. </match>
  82. </input>
  83. </macro>
  84. <macro name="voicemail_config_menu">
  85. <input pattern="^([0-9#*]):([0-9#*]):([0-9#*]):([0-9#*]):([0-9#*])$">
  86. <match>
  87. <action function="play-file" data="voicemail/vm-press.wav"/>
  88. <action function="say" data="$1" method="pronounced" type="name_spelled"/>
  89. <action function="play-file" data="voicemail/vm-to_record_greeting.wav"/>
  90. <action function="play-file" data="voicemail/vm-press.wav"/>
  91. <action function="say" data="$2" method="pronounced" type="name_spelled"/>
  92. <action function="play-file" data="voicemail/vm-choose_greeting.wav"/>
  93. <action function="play-file" data="voicemail/vm-press.wav"/>
  94. <action function="say" data="$3" method="pronounced" type="name_spelled"/>
  95. <action function="play-file" data="voicemail/vm-record_name2.wav"/>
  96. <action function="play-file" data="voicemail/vm-press.wav"/>
  97. <action function="say" data="$4" method="pronounced" type="name_spelled"/>
  98. <action function="play-file" data="voicemail/vm-change_password.wav"/>
  99. <action function="play-file" data="voicemail/vm-press.wav"/>
  100. <action function="say" data="$5" method="pronounced" type="name_spelled"/>
  101. <action function="play-file" data="voicemail/vm-main_menu.wav"/>
  102. </match>
  103. </input>
  104. </macro>
  105. <macro name="voicemail_record_name">
  106. <input pattern="^(.*)$">
  107. <match>
  108. <action function="play-file" data="voicemail/vm-record_name1.wav"/>
  109. </match>
  110. </input>
  111. </macro>
  112. <macro name="voicemail_record_file_check">
  113. <input pattern="^([0-9#*]):([0-9#*]):([0-9#*])$">
  114. <match>
  115. <action function="play-file" data="voicemail/vm-press.wav"/>
  116. <action function="say" data="$1" method="pronounced" type="name_spelled"/>
  117. <action function="play-file" data="voicemail/vm-listen_to_recording.wav"/>
  118. <action function="play-file" data="voicemail/vm-press.wav"/>
  119. <action function="say" data="$2" method="pronounced" type="name_spelled"/>
  120. <action function="play-file" data="voicemail/vm-save_recording.wav"/>
  121. <action function="play-file" data="voicemail/vm-press.wav"/>
  122. <action function="say" data="$3" method="pronounced" type="name_spelled"/>
  123. <action function="play-file" data="voicemail/vm-rerecord.wav"/>
  124. </match>
  125. </input>
  126. </macro>
  127. <macro name="voicemail_record_urgent_check">
  128. <input pattern="^([0-9#*]):([0-9#*])$">
  129. <match>
  130. <action function="play-file" data="voicemail/vm-mark-urgent.wav"/>
  131. <action function="play-file" data="voicemail/vm-press.wav"/>
  132. <action function="say" data="$1" method="pronounced" type="name_spelled"/>
  133. <action function="play-file" data="voicemail/vm-continue.wav"/>
  134. <action function="play-file" data="voicemail/vm-press.wav"/>
  135. <action function="say" data="$2" method="pronounced" type="name_spelled"/>
  136. </match>
  137. </input>
  138. </macro>
  139. <macro name="voicemail_forward_prepend">
  140. <input pattern="^([0-9#*]):([0-9#*])$">
  141. <match>
  142. <action function="play-file" data="voicemail/vm-forward_add_intro.wav"/>
  143. <action function="play-file" data="voicemail/vm-press.wav"/>
  144. <action function="say" data="$1" method="pronounced" type="name_spelled"/>
  145. <action function="play-file" data="voicemail/vm-send_message_now.wav"/>
  146. <action function="play-file" data="voicemail/vm-press.wav"/>
  147. <action function="say" data="$2" method="pronounced" type="name_spelled"/>
  148. </match>
  149. </input>
  150. </macro>
  151. <macro name="voicemail_forward_message_enter_extension">
  152. <input pattern="^([0-9#*])$">
  153. <match>
  154. <action function="play-file" data="voicemail/vm-forward_enter_ext.wav"/>
  155. <action function="play-file" data="voicemail/vm-followed_by.wav"/>
  156. <action function="say" data="$1" method="pronounced" type="name_spelled"/>
  157. </match>
  158. </input>
  159. </macro>
  160. <macro name="voicemail_invalid_extension">
  161. <input pattern="^(.*)$">
  162. <match>
  163. <action function="play-file" data="voicemail/vm-that_was_an_invalid_ext.wav"/>
  164. </match>
  165. </input>
  166. </macro>
  167. <macro name="voicemail_listen_file_check">
  168. <input pattern="^([0-9#*]):([0-9#*]):([0-9#*]):([0-9#*]):([0-9#*]):([0-9#*])$">
  169. <match>
  170. <action function="play-file" data="voicemail/vm-listen_to_recording.wav"/>
  171. <action function="play-file" data="voicemail/vm-press.wav"/>
  172. <action function="say" data="$1" method="pronounced" type="name_spelled"/>
  173. <action function="play-file" data="voicemail/vm-save_recording.wav"/>
  174. <action function="play-file" data="voicemail/vm-press.wav"/>
  175. <action function="say" data="$2" method="pronounced" type="name_spelled"/>
  176. <action function="play-file" data="voicemail/vm-delete_recording.wav"/>
  177. <action function="play-file" data="voicemail/vm-press.wav"/>
  178. <action function="say" data="$3" method="pronounced" type="name_spelled"/>
  179. <action function="play-file" data="voicemail/vm-forward_to_email.wav"/>
  180. <action function="play-file" data="voicemail/vm-press.wav"/>
  181. <action function="say" data="$4" method="pronounced" type="name_spelled"/>
  182. <action function="play-file" data="voicemail/vm-return_call.wav"/>
  183. <action function="play-file" data="voicemail/vm-press.wav"/>
  184. <action function="say" data="$5" method="pronounced" type="name_spelled"/>
  185. <action function="play-file" data="voicemail/vm-to_forward.wav"/>
  186. <action function="play-file" data="voicemail/vm-press.wav"/>
  187. <action function="say" data="$6" method="pronounced" type="name_spelled"/>
  188. </match>
  189. </input>
  190. </macro>
  191. <macro name="voicemail_choose_greeting">
  192. <input pattern="^(.*)$">
  193. <match>
  194. <action function="play-file" data="voicemail/vm-choose_greeting_choose.wav"/>
  195. </match>
  196. </input>
  197. </macro>
  198. <macro name="voicemail_choose_greeting_fail">
  199. <input pattern="^(.*)$">
  200. <match>
  201. <action function="play-file" data="voicemail/vm-choose_greeting_fail.wav"/>
  202. </match>
  203. </input>
  204. </macro>
  205. <macro name="voicemail_record_greeting">
  206. <input pattern="^(.*)$">
  207. <match>
  208. <action function="play-file" data="voicemail/vm-record_greeting.wav"/>
  209. </match>
  210. </input>
  211. </macro>
  212. <macro name="voicemail_record_message">
  213. <input pattern="^(.*)$">
  214. <match>
  215. <action function="play-file" data="voicemail/vm-record_message.wav"/>
  216. </match>
  217. </input>
  218. </macro>
  219. <macro name="voicemail_greeting_selected">
  220. <input pattern="^(\d+)$">
  221. <match>
  222. <action function="play-file" data="voicemail/vm-greeting.wav"/>
  223. <action function="say" data="$1" method="pronounced" type="items"/>
  224. <action function="play-file" data="voicemail/vm-selected.wav"/>
  225. </match>
  226. </input>
  227. </macro>
  228. <macro name="voicemail_play_greeting">
  229. <input pattern="^(.*)$">
  230. <match>
  231. <action function="play-file" data="voicemail/vm-person.wav"/>
  232. <action function="say" data="$1" method="pronounced" type="name_spelled"/>
  233. <action function="play-file" data="voicemail/vm-not_available.wav"/>
  234. </match>
  235. </input>
  236. </macro>
  237. <macro name="voicemail_say_number">
  238. <input pattern="^(\d+)$">
  239. <match>
  240. <action function="say" data="$1" method="pronounced" type="items"/>
  241. </match>
  242. </input>
  243. </macro>
  244. <macro name="voicemail_say_message_number">
  245. <input pattern="^([a-z]+):(\d+)$">
  246. <match>
  247. <action function="play-file" data="voicemail/vm-$1.wav"/>
  248. <action function="play-file" data="voicemail/vm-message_number.wav"/>
  249. <action function="say" data="$2" method="pronounced" type="items"/>
  250. </match>
  251. </input>
  252. </macro>
  253. <macro name="voicemail_say_phone_number">
  254. <input pattern="^(.*)$">
  255. <match>
  256. <action function="say" data="$1" method="pronounced" type="name_spelled"/>
  257. </match>
  258. </input>
  259. </macro>
  260. <macro name="voicemail_say_name">
  261. <input pattern="^(.*)$">
  262. <match>
  263. <action function="say" data="$1" method="pronounced" type="name_spelled"/>
  264. </match>
  265. </input>
  266. </macro>
  267. <!-- Note: Update this to marked-urgent,emailed and saved once new sound files are recorded -->
  268. <macro name="voicemail_ack">
  269. <input pattern="^(too-small)$">
  270. <match>
  271. <action function="play-file" data="voicemail/vm-too-small.wav"/>
  272. </match>
  273. </input>
  274. <input pattern="^(deleted)$">
  275. <match>
  276. <action function="play-file" data="voicemail/vm-message.wav"/>
  277. <action function="play-file" data="voicemail/vm-$1.wav"/>
  278. </match>
  279. </input>
  280. <input pattern="^(saved)$">
  281. <match>
  282. <action function="play-file" data="voicemail/vm-message.wav"/>
  283. <action function="play-file" data="voicemail/vm-$1.wav"/>
  284. </match>
  285. </input>
  286. <input pattern="^(emailed)$">
  287. <match>
  288. <action function="play-file" data="voicemail/vm-message.wav"/>
  289. <action function="play-file" data="voicemail/vm-$1.wav"/>
  290. </match>
  291. </input>
  292. <input pattern="^(marked-urgent)$">
  293. <match>
  294. <action function="play-file" data="voicemail/vm-message.wav"/>
  295. <action function="play-file" data="voicemail/vm-$1.wav"/>
  296. </match>
  297. </input>
  298. </macro>
  299. <macro name="voicemail_say_date">
  300. <input pattern="^(.*)$">
  301. <match>
  302. <action function="say" data="$1" method="pronounced" type="current_date_time"/>
  303. </match>
  304. </input>
  305. </macro>
  306. </include><!--This line will be ignored it's here to validate the xml and is optional -->