sounds.xml 16 KB

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