2
0

sounds.xml 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417
  1. <include>
  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. </match>
  54. </input>
  55. <input pattern="^(\d+):(.*)$">
  56. <match>
  57. <action function="play-file" data="voicemail/vm-you_have.wav"/>
  58. <action function="say" data="$1" method="pronounced" type="items"/>
  59. <action function="play-file" data="voicemail/vm-$2.wav"/>
  60. <action function="play-file" data="voicemail/vm-messages.wav"/>
  61. </match>
  62. </input>
  63. </macro>
  64. <macro name="voicemail_menu">
  65. <input pattern="^([0-9#*]):([0-9#*]):([0-9#*]):([0-9#*])$">
  66. <match>
  67. <!-- To listen to new messages -->
  68. <action function="play-file" data="voicemail/vm-listen_new.wav"/>
  69. <action function="play-file" data="voicemail/vm-press.wav"/>
  70. <action function="say" data="$1" method="pronounced" type="name_spelled"/>
  71. <action function="execute" data="sleep(100)"/>
  72. <!-- To listen to saved messages -->
  73. <action function="play-file" data="voicemail/vm-listen_saved.wav"/>
  74. <action function="play-file" data="voicemail/vm-press.wav"/>
  75. <action function="say" data="$2" method="pronounced" type="name_spelled"/>
  76. <action function="execute" data="sleep(100)"/>
  77. <!-- For advanced options -->
  78. <action function="play-file" data="voicemail/vm-advanced.wav"/>
  79. <action function="play-file" data="voicemail/vm-press.wav"/>
  80. <action function="say" data="$3" method="pronounced" type="name_spelled"/>
  81. <action function="execute" data="sleep(100)"/>
  82. <!-- To exit -->
  83. <action function="play-file" data="voicemail/vm-to_exit.wav"/>
  84. <action function="play-file" data="voicemail/vm-press.wav"/>
  85. <action function="say" data="$4" method="pronounced" type="name_phonetic"/>
  86. </match>
  87. </input>
  88. </macro>
  89. <macro name="voicemail_config_menu">
  90. <input pattern="^([0-9#*]):([0-9#*]):([0-9#*]):([0-9#*]):([0-9#*])$">
  91. <match>
  92. <!-- To record a greeting -->
  93. <action function="play-file" data="voicemail/vm-to_record_greeting.wav"/>
  94. <action function="play-file" data="voicemail/vm-press.wav"/>
  95. <action function="say" data="$1" method="pronounced" type="name_spelled"/>
  96. <action function="execute" data="sleep(100)"/>
  97. <!-- To choose greeting -->
  98. <action function="play-file" data="voicemail/vm-choose_greeting.wav"/>
  99. <action function="play-file" data="voicemail/vm-press.wav"/>
  100. <action function="say" data="$2" method="pronounced" type="name_spelled"/>
  101. <action function="execute" data="sleep(100)"/>
  102. <!-- To record your name -->
  103. <action function="play-file" data="voicemail/vm-record_name2.wav"/>
  104. <action function="play-file" data="voicemail/vm-press.wav"/>
  105. <action function="say" data="$3" method="pronounced" type="name_spelled"/>
  106. <action function="execute" data="sleep(100)"/>
  107. <!-- To change password -->
  108. <action function="play-file" data="voicemail/vm-change_password.wav"/>
  109. <action function="play-file" data="voicemail/vm-press.wav"/>
  110. <action function="say" data="$4" method="pronounced" type="name_spelled"/>
  111. <action function="execute" data="sleep(100)"/>
  112. <!-- To return to main menu -->
  113. <action function="play-file" data="voicemail/vm-main_menu.wav"/>
  114. <action function="play-file" data="voicemail/vm-press.wav"/>
  115. <action function="say" data="$5" method="pronounced" type="name_spelled"/>
  116. </match>
  117. </input>
  118. </macro>
  119. <macro name="voicemail_record_name">
  120. <input pattern="^(.*)$">
  121. <match>
  122. <action function="play-file" data="voicemail/vm-record_name1.wav"/>
  123. </match>
  124. </input>
  125. </macro>
  126. <macro name="voicemail_record_file_check">
  127. <input pattern="^([0-9#*]):([0-9#*]):([0-9#*])$">
  128. <match>
  129. <action function="play-file" data="voicemail/vm-listen_to_recording.wav"/>
  130. <action function="play-file" data="voicemail/vm-press.wav"/>
  131. <action function="say" data="$1" method="pronounced" type="name_spelled"/>
  132. <action function="play-file" data="voicemail/vm-save_recording.wav"/>
  133. <action function="play-file" data="voicemail/vm-press.wav"/>
  134. <action function="say" data="$2" method="pronounced" type="name_spelled"/>
  135. <action function="play-file" data="voicemail/vm-rerecord.wav"/>
  136. <action function="play-file" data="voicemail/vm-press.wav"/>
  137. <action function="say" data="$3" method="pronounced" type="name_spelled"/>
  138. </match>
  139. </input>
  140. </macro>
  141. <macro name="voicemail_record_urgent_check">
  142. <input pattern="^([0-9#*]):([0-9#*])$">
  143. <match>
  144. <action function="play-file" data="voicemail/vm-mark-urgent.wav"/>
  145. <action function="play-file" data="voicemail/vm-press.wav"/>
  146. <action function="say" data="$1" method="pronounced" type="name_spelled"/>
  147. <action function="play-file" data="voicemail/vm-continue.wav"/>
  148. <action function="play-file" data="voicemail/vm-press.wav"/>
  149. <action function="say" data="$2" method="pronounced" type="name_spelled"/>
  150. </match>
  151. </input>
  152. </macro>
  153. <macro name="voicemail_forward_prepend">
  154. <input pattern="^([0-9#*]):([0-9#*])$">
  155. <match>
  156. <action function="play-file" data="voicemail/vm-forward_add_intro.wav"/>
  157. <action function="play-file" data="voicemail/vm-press.wav"/>
  158. <action function="say" data="$1" method="pronounced" type="name_spelled"/>
  159. <action function="play-file" data="voicemail/vm-send_message_now.wav"/>
  160. <action function="play-file" data="voicemail/vm-press.wav"/>
  161. <action function="say" data="$2" method="pronounced" type="name_spelled"/>
  162. </match>
  163. </input>
  164. </macro>
  165. <macro name="voicemail_forward_message_enter_extension">
  166. <input pattern="^([0-9#*])$">
  167. <match>
  168. <action function="play-file" data="voicemail/vm-forward_enter_ext.wav"/>
  169. <action function="play-file" data="voicemail/vm-followed_by.wav"/>
  170. <action function="say" data="$1" method="pronounced" type="name_spelled"/>
  171. </match>
  172. </input>
  173. </macro>
  174. <macro name="voicemail_invalid_extension">
  175. <input pattern="^(.*)$">
  176. <match>
  177. <action function="play-file" data="voicemail/vm-that_was_an_invalid_ext.wav"/>
  178. </match>
  179. </input>
  180. </macro>
  181. <macro name="voicemail_listen_file_check">
  182. <input pattern="^([0-9#*]):([0-9#*]):([0-9#*]):([0-9#*]):([0-9#*]):([0-9#*]):(.*)$">
  183. <match>
  184. <action function="play-file" data="voicemail/vm-listen_to_recording.wav"/>
  185. <action function="play-file" data="voicemail/vm-press.wav"/>
  186. <action function="say" data="$1" method="pronounced" type="name_spelled"/>
  187. <action function="play-file" data="voicemail/vm-save_recording.wav"/>
  188. <action function="play-file" data="voicemail/vm-press.wav"/>
  189. <action function="say" data="$2" method="pronounced" type="name_spelled"/>
  190. <action function="play-file" data="voicemail/vm-delete_recording.wav"/>
  191. <action function="play-file" data="voicemail/vm-press.wav"/>
  192. <action function="say" data="$3" method="pronounced" type="name_spelled"/>
  193. <action function="play-file" data="voicemail/vm-forward_to_email.wav"/>
  194. <action function="play-file" data="voicemail/vm-press.wav"/>
  195. <action function="say" data="$4" method="pronounced" type="name_spelled"/>
  196. <action function="play-file" data="voicemail/vm-return_call.wav"/>
  197. <action function="play-file" data="voicemail/vm-press.wav"/>
  198. <action function="say" data="$5" method="pronounced" type="name_spelled"/>
  199. <action function="play-file" data="voicemail/vm-to_forward.wav"/>
  200. <action function="play-file" data="voicemail/vm-press.wav"/>
  201. <action function="say" data="$6" method="pronounced" type="name_spelled"/>
  202. </match>
  203. </input>
  204. <input pattern="^([0-9#*]):([0-9#*]):([0-9#*]):([0-9#*]):([0-9#*]):([0-9#*])$">
  205. <match>
  206. <action function="play-file" data="voicemail/vm-listen_to_recording.wav"/>
  207. <action function="play-file" data="voicemail/vm-press.wav"/>
  208. <action function="say" data="$1" method="pronounced" type="name_spelled"/>
  209. <action function="play-file" data="voicemail/vm-save_recording.wav"/>
  210. <action function="play-file" data="voicemail/vm-press.wav"/>
  211. <action function="say" data="$2" method="pronounced" type="name_spelled"/>
  212. <action function="play-file" data="voicemail/vm-delete_recording.wav"/>
  213. <action function="play-file" data="voicemail/vm-press.wav"/>
  214. <action function="say" data="$3" method="pronounced" type="name_spelled"/>
  215. <action function="play-file" data="voicemail/vm-return_call.wav"/>
  216. <action function="play-file" data="voicemail/vm-press.wav"/>
  217. <action function="say" data="$5" method="pronounced" type="name_spelled"/>
  218. <action function="play-file" data="voicemail/vm-to_forward.wav"/>
  219. <action function="play-file" data="voicemail/vm-press.wav"/>
  220. <action function="say" data="$6" method="pronounced" type="name_spelled"/>
  221. </match>
  222. </input>
  223. </macro>
  224. <macro name="voicemail_choose_greeting">
  225. <input pattern="^(.*)$">
  226. <match>
  227. <action function="play-file" data="voicemail/vm-choose_greeting_choose.wav"/>
  228. </match>
  229. </input>
  230. </macro>
  231. <macro name="voicemail_choose_greeting_fail">
  232. <input pattern="^(.*)$">
  233. <match>
  234. <action function="play-file" data="voicemail/vm-choose_greeting_fail.wav"/>
  235. </match>
  236. </input>
  237. </macro>
  238. <macro name="voicemail_record_greeting">
  239. <input pattern="^(.*)$">
  240. <match>
  241. <action function="play-file" data="voicemail/vm-record_greeting.wav"/>
  242. </match>
  243. </input>
  244. </macro>
  245. <macro name="voicemail_record_message">
  246. <input pattern="^(.*)$">
  247. <match>
  248. <action function="play-file" data="voicemail/vm-record_message.wav"/>
  249. </match>
  250. </input>
  251. </macro>
  252. <macro name="voicemail_greeting_selected">
  253. <input pattern="^(\d+)$">
  254. <match>
  255. <action function="play-file" data="voicemail/vm-greeting.wav"/>
  256. <action function="say" data="$1" method="pronounced" type="items"/>
  257. <action function="play-file" data="voicemail/vm-selected.wav"/>
  258. </match>
  259. </input>
  260. </macro>
  261. <macro name="voicemail_play_greeting">
  262. <input pattern="^(.*)$">
  263. <match>
  264. <action function="play-file" data="voicemail/vm-person.wav"/>
  265. <action function="say" data="$1" method="pronounced" type="name_spelled"/>
  266. <action function="play-file" data="voicemail/vm-not_available.wav"/>
  267. </match>
  268. </input>
  269. </macro>
  270. <macro name="voicemail_say_number">
  271. <input pattern="^(\d+)$">
  272. <match>
  273. <action function="say" data="$1" method="pronounced" type="items"/>
  274. </match>
  275. </input>
  276. </macro>
  277. <macro name="voicemail_say_message_number">
  278. <input pattern="^([a-z]+):(\d+)$">
  279. <match>
  280. <action function="play-file" data="voicemail/vm-$1.wav"/>
  281. <action function="play-file" data="voicemail/vm-message_number.wav"/>
  282. <action function="say" data="$2" method="pronounced" type="items"/>
  283. </match>
  284. </input>
  285. </macro>
  286. <macro name="voicemail_say_phone_number">
  287. <input pattern="^(.*)$">
  288. <match>
  289. <action function="say" data="$1" method="pronounced" type="name_spelled"/>
  290. </match>
  291. </input>
  292. </macro>
  293. <macro name="voicemail_say_name">
  294. <input pattern="^(.*)$">
  295. <match>
  296. <action function="say" data="$1" method="pronounced" type="name_spelled"/>
  297. </match>
  298. </input>
  299. </macro>
  300. <!-- Note: Update this to marked-urgent,emailed and saved once new sound files are recorded -->
  301. <macro name="voicemail_ack">
  302. <input pattern="^(too-small)$">
  303. <match>
  304. <action function="play-file" data="voicemail/vm-too-small.wav"/>
  305. </match>
  306. </input>
  307. <input pattern="^(deleted)$">
  308. <match>
  309. <action function="play-file" data="voicemail/vm-message.wav"/>
  310. <action function="play-file" data="voicemail/vm-$1.wav"/>
  311. </match>
  312. </input>
  313. <input pattern="^(saved)$">
  314. <match>
  315. <action function="play-file" data="voicemail/vm-message.wav"/>
  316. <action function="play-file" data="voicemail/vm-$1.wav"/>
  317. </match>
  318. </input>
  319. <input pattern="^(emailed)$">
  320. <match>
  321. <action function="play-file" data="voicemail/vm-message.wav"/>
  322. <action function="play-file" data="voicemail/vm-$1.wav"/>
  323. </match>
  324. </input>
  325. <input pattern="^(marked-urgent)$">
  326. <match>
  327. <action function="play-file" data="voicemail/vm-message.wav"/>
  328. <action function="play-file" data="voicemail/vm-$1.wav"/>
  329. </match>
  330. </input>
  331. </macro>
  332. <macro name="voicemail_say_date">
  333. <input pattern="^(.*)$">
  334. <match>
  335. <action function="say" data="$1" method="pronounced" type="current_date_time"/>
  336. </match>
  337. </input>
  338. </macro>
  339. <macro name="voicemail_disk_quota_exceeded">
  340. <input pattern="^(.*)$">
  341. <match>
  342. <action function="play-file" data="voicemail/vm-mailbox_full.wav"/>
  343. </match>
  344. </input>
  345. </macro>
  346. <macro name="valet_announce_ext">
  347. <input pattern="^([^\:]+):(.*)$">
  348. <match>
  349. <action function="say" data="$2" method="pronounced" type="name_spelled"/>
  350. </match>
  351. </input>
  352. </macro>
  353. <macro name="valet_lot_full">
  354. <input pattern="^(.*)$">
  355. <match>
  356. <action function="play-file" data="tone_stream://%(275,10,600);%(275,100,300)"/>
  357. </match>
  358. </input>
  359. </macro>
  360. <macro name="valet_lot_empty">
  361. <input pattern="^(.*)$">
  362. <match>
  363. <action function="play-file" data="tone_stream://%(275,10,600);%(275,100,300)"/>
  364. </match>
  365. </input>
  366. </macro>
  367. </include>
  368. <!--
  369. For Emacs:
  370. Local Variables:
  371. mode:xml
  372. indent-tabs-mode:nil
  373. tab-width:2
  374. c-basic-offset:2
  375. End:
  376. For VIM:
  377. vim:set softtabstop=2 shiftwidth=2 tabstop=2 expandtab:
  378. -->