2
0

sounds.xml 16 KB

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