sounds.xml 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374
  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="^(\d+[0,2-9]1|[2-9]1|1):(.*)$"> <!--1, и всё что больше 20-ти 21,31,41 .. -->
  48. <match>
  49. <action function="play-file" data="voicemail/vm-you_have.wav"/>
  50. <action function="say" data="$1" method="pronounced" type="MESSAGES"/>
  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. <!-- от 10 до 19 и ноль --> <!-- от 5до 9 и больше 20-ти 25-29 -->
  57. <input pattern="^(\d+1[0-9]|1[0-9]|0|\d+[0-9][0,5-9]|[2-9][0,5-9]|[0,5-9]):(.*)$">
  58. <match>
  59. <action function="play-file" data="voicemail/vm-you_have.wav"/>
  60. <action function="say" data="$1" method="pronounced" type="MESSAGES"/>
  61. <action function="play-file" data="voicemail/vm-$2x.wav"/>
  62. <action function="play-file" data="voicemail/vm-messagex.wav"/>
  63. <!--<action function="play-file" data="voicemail/vm-in_folder.wav"/>-->
  64. </match>
  65. </input>
  66. <input pattern="^(\d+[0,2-9][2-4]|[2-9][2-4]|[2-4]):(.*)$">
  67. <match>
  68. <action function="play-file" data="voicemail/vm-you_have.wav"/>
  69. <action function="say" data="$1" method="pronounced" type="MESSAGES"/>
  70. <action function="play-file" data="voicemail/vm-$2x.wav"/>
  71. <action function="play-file" data="voicemail/vm-messages.wav"/>
  72. <action function="play-file" data="voicemail/vm-in_folder.wav"/>
  73. </match>
  74. </input>
  75. </macro>
  76. <macro name="voicemail_menu">
  77. <input pattern="^([0-9#*]):([0-9#*]):([0-9#*]):([0-9#*])$">
  78. <match>
  79. <action function="play-file" data="voicemail/vm-press.wav"/>
  80. <action function="say" data="$1" method="pronounced" type="name_spelled"/>
  81. <action function="play-file" data="voicemail/vm-listen_new.wav"/>
  82. <action function="play-file" data="voicemail/vm-press.wav"/>
  83. <action function="say" data="$2" method="pronounced" type="name_spelled"/>
  84. <action function="play-file" data="voicemail/vm-listen_saved.wav"/>
  85. <action function="play-file" data="voicemail/vm-press.wav"/>
  86. <action function="say" data="$3" method="pronounced" type="name_spelled"/>
  87. <action function="play-file" data="voicemail/vm-advanced.wav"/>
  88. <action function="play-file" data="voicemail/vm-press.wav"/>
  89. <action function="say" data="$4" method="pronounced" type="name_phonetic"/>
  90. <action function="play-file" data="voicemail/vm-to_exit.wav"/>
  91. </match>
  92. </input>
  93. </macro>
  94. <macro name="voicemail_config_menu">
  95. <input pattern="^([0-9#*]):([0-9#*]):([0-9#*]):([0-9#*]):([0-9#*])$">
  96. <match>
  97. <action function="play-file" data="voicemail/vm-press.wav"/>
  98. <action function="say" data="$1" method="pronounced" type="name_spelled"/>
  99. <action function="play-file" data="voicemail/vm-to_record_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="play-file" data="voicemail/vm-choose_greeting.wav"/>
  103. <action function="play-file" data="voicemail/vm-press.wav"/>
  104. <action function="say" data="$3" method="pronounced" type="name_spelled"/>
  105. <action function="play-file" data="voicemail/vm-record_name2.wav"/>
  106. <action function="play-file" data="voicemail/vm-press.wav"/>
  107. <action function="say" data="$4" method="pronounced" type="name_spelled"/>
  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="$5" method="pronounced" type="name_spelled"/>
  111. <action function="play-file" data="voicemail/vm-main_menu.wav"/>
  112. </match>
  113. </input>
  114. </macro>
  115. <macro name="voicemail_record_name">
  116. <input pattern="^(.*)$">
  117. <match>
  118. <action function="play-file" data="voicemail/vm-record_name1.wav"/>
  119. </match>
  120. </input>
  121. </macro>
  122. <macro name="voicemail_record_file_check">
  123. <input pattern="^([0-9#*]):([0-9#*]):([0-9#*])$">
  124. <match>
  125. <action function="play-file" data="voicemail/vm-press.wav"/>
  126. <action function="say" data="$1" method="pronounced" type="name_spelled"/>
  127. <action function="play-file" data="voicemail/vm-listen_to_recording.wav"/>
  128. <action function="play-file" data="voicemail/vm-press.wav"/>
  129. <action function="say" data="$2" method="pronounced" type="name_spelled"/>
  130. <action function="play-file" data="voicemail/vm-save_recording.wav"/>
  131. <action function="play-file" data="voicemail/vm-press.wav"/>
  132. <action function="say" data="$3" method="pronounced" type="name_spelled"/>
  133. <action function="play-file" data="voicemail/vm-rerecord.wav"/>
  134. </match>
  135. </input>
  136. </macro>
  137. <macro name="voicemail_record_urgent_check">
  138. <input pattern="^([0-9#*]):([0-9#*])$">
  139. <match>
  140. <action function="play-file" data="voicemail/vm-mark-urgent.wav"/>
  141. <action function="play-file" data="voicemail/vm-press.wav"/>
  142. <action function="say" data="$1" method="pronounced" type="name_spelled"/>
  143. <action function="play-file" data="voicemail/vm-continue.wav"/>
  144. <action function="play-file" data="voicemail/vm-press.wav"/>
  145. <action function="say" data="$2" method="pronounced" type="name_spelled"/>
  146. </match>
  147. </input>
  148. </macro>
  149. <macro name="voicemail_forward_prepend">
  150. <input pattern="^([0-9#*]):([0-9#*])$">
  151. <match>
  152. <action function="play-file" data="voicemail/vm-forward_add_intro.wav"/>
  153. <action function="play-file" data="voicemail/vm-press.wav"/>
  154. <action function="say" data="$1" method="pronounced" type="name_spelled"/>
  155. <action function="play-file" data="voicemail/vm-send_message_now.wav"/>
  156. <action function="play-file" data="voicemail/vm-press.wav"/>
  157. <action function="say" data="$2" method="pronounced" type="name_spelled"/>
  158. </match>
  159. </input>
  160. </macro>
  161. <macro name="voicemail_forward_message_enter_extension">
  162. <input pattern="^([0-9#*])$">
  163. <match>
  164. <action function="play-file" data="voicemail/vm-forward_enter_ext.wav"/>
  165. <action function="play-file" data="voicemail/vm-followed_by.wav"/>
  166. <action function="say" data="$1" method="pronounced" type="name_spelled"/>
  167. </match>
  168. </input>
  169. </macro>
  170. <macro name="voicemail_invalid_extension">
  171. <input pattern="^(.*)$">
  172. <match>
  173. <action function="play-file" data="voicemail/vm-that_was_an_invalid_ext.wav"/>
  174. </match>
  175. </input>
  176. </macro>
  177. <macro name="voicemail_listen_file_check">
  178. <input pattern="^([0-9#*]):([0-9#*]):([0-9#*]):([0-9#*]):([0-9#*]):([0-9#*]):(.*)$">
  179. <match>
  180. <action function="play-file" data="voicemail/vm-listen_to_recording.wav"/>
  181. <action function="play-file" data="voicemail/vm-press.wav"/>
  182. <action function="say" data="$1" method="pronounced" type="name_spelled"/>
  183. <action function="play-file" data="voicemail/vm-save_recording.wav"/>
  184. <action function="play-file" data="voicemail/vm-press.wav"/>
  185. <action function="say" data="$2" method="pronounced" type="name_spelled"/>
  186. <action function="play-file" data="voicemail/vm-delete_recording.wav"/>
  187. <action function="play-file" data="voicemail/vm-press.wav"/>
  188. <action function="say" data="$3" method="pronounced" type="name_spelled"/>
  189. <action function="play-file" data="voicemail/vm-forward_to_email.wav"/>
  190. <action function="play-file" data="voicemail/vm-press.wav"/>
  191. <action function="say" data="$4" method="pronounced" type="name_spelled"/>
  192. <action function="play-file" data="voicemail/vm-return_call.wav"/>
  193. <action function="play-file" data="voicemail/vm-press.wav"/>
  194. <action function="say" data="$5" method="pronounced" type="name_spelled"/>
  195. <action function="play-file" data="voicemail/vm-to_forward.wav"/>
  196. <action function="play-file" data="voicemail/vm-press.wav"/>
  197. <action function="say" data="$6" method="pronounced" type="name_spelled"/>
  198. </match>
  199. </input>
  200. <input pattern="^([0-9#*]):([0-9#*]):([0-9#*]):([0-9#*]):([0-9#*]):([0-9#*])$">
  201. <match>
  202. <action function="play-file" data="voicemail/vm-listen_to_recording.wav"/>
  203. <action function="play-file" data="voicemail/vm-press.wav"/>
  204. <action function="say" data="$1" method="pronounced" type="name_spelled"/>
  205. <action function="play-file" data="voicemail/vm-save_recording.wav"/>
  206. <action function="play-file" data="voicemail/vm-press.wav"/>
  207. <action function="say" data="$2" method="pronounced" type="name_spelled"/>
  208. <action function="play-file" data="voicemail/vm-delete_recording.wav"/>
  209. <action function="play-file" data="voicemail/vm-press.wav"/>
  210. <action function="say" data="$3" method="pronounced" type="name_spelled"/>
  211. <action function="play-file" data="voicemail/vm-return_call.wav"/>
  212. <action function="play-file" data="voicemail/vm-press.wav"/>
  213. <action function="say" data="$5" method="pronounced" type="name_spelled"/>
  214. <action function="play-file" data="voicemail/vm-to_forward.wav"/>
  215. <action function="play-file" data="voicemail/vm-press.wav"/>
  216. <action function="say" data="$6" method="pronounced" type="name_spelled"/>
  217. </match>
  218. </input>
  219. </macro>
  220. <macro name="voicemail_choose_greeting">
  221. <input pattern="^(.*)$">
  222. <match>
  223. <action function="play-file" data="voicemail/vm-choose_greeting_choose.wav"/>
  224. </match>
  225. </input>
  226. </macro>
  227. <macro name="voicemail_choose_greeting_fail">
  228. <input pattern="^(.*)$">
  229. <match>
  230. <action function="play-file" data="voicemail/vm-choose_greeting_fail.wav"/>
  231. </match>
  232. </input>
  233. </macro>
  234. <macro name="voicemail_record_greeting">
  235. <input pattern="^(.*)$">
  236. <match>
  237. <action function="play-file" data="voicemail/vm-record_greeting.wav"/>
  238. </match>
  239. </input>
  240. </macro>
  241. <macro name="voicemail_record_message">
  242. <input pattern="^(.*)$">
  243. <match>
  244. <action function="play-file" data="voicemail/vm-record_message.wav"/>
  245. </match>
  246. </input>
  247. </macro>
  248. <macro name="voicemail_greeting_selected">
  249. <input pattern="^(\d+)$">
  250. <match>
  251. <action function="play-file" data="voicemail/vm-greeting.wav"/>
  252. <action function="say" data="$1" method="pronounced" type="items"/>
  253. <action function="play-file" data="voicemail/vm-selected.wav"/>
  254. </match>
  255. </input>
  256. </macro>
  257. <macro name="voicemail_play_greeting">
  258. <input pattern="^(.*)$">
  259. <match>
  260. <action function="play-file" data="voicemail/vm-person.wav"/>
  261. <action function="say" data="$1" method="pronounced" type="name_spelled"/>
  262. <action function="play-file" data="voicemail/vm-not_available.wav"/>
  263. </match>
  264. </input>
  265. </macro>
  266. <macro name="voicemail_say_number">
  267. <input pattern="^(\d+)$">
  268. <match>
  269. <action function="say" data="$1" method="pronounced" type="items"/>
  270. </match>
  271. </input>
  272. </macro>
  273. <macro name="voicemail_say_message_number">
  274. <input pattern="^([a-z]+):(\d+)$">
  275. <match>
  276. <action function="play-file" data="voicemail/vm-$1.wav"/>
  277. <action function="play-file" data="voicemail/vm-message_number.wav"/>
  278. <action function="say" data="$2" method="pronounced" type="items"/>
  279. </match>
  280. </input>
  281. </macro>
  282. <macro name="voicemail_say_phone_number">
  283. <input pattern="^(.*)$">
  284. <match>
  285. <action function="say" data="$1" method="pronounced" type="name_spelled"/>
  286. </match>
  287. </input>
  288. </macro>
  289. <macro name="voicemail_say_name">
  290. <input pattern="^(.*)$">
  291. <match>
  292. <action function="say" data="$1" method="pronounced" type="name_spelled"/>
  293. </match>
  294. </input>
  295. </macro>
  296. <!-- Note: Update this to marked-urgent,emailed and saved once new sound files are recorded -->
  297. <macro name="voicemail_ack">
  298. <input pattern="^(too-small)$">
  299. <match>
  300. <action function="play-file" data="voicemail/vm-too-small.wav"/>
  301. </match>
  302. </input>
  303. <input pattern="^(deleted)$">
  304. <match>
  305. <action function="play-file" data="voicemail/vm-message.wav"/>
  306. <action function="play-file" data="voicemail/vm-$1.wav"/>
  307. </match>
  308. </input>
  309. <input pattern="^(saved)$">
  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="^(emailed)$">
  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="^(marked-urgent)$">
  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. </macro>
  328. <macro name="voicemail_say_date">
  329. <input pattern="^(.*)$">
  330. <match>
  331. <action function="say" data="$1" method="pronounced" type="current_date_time"/>
  332. </match>
  333. </input>
  334. </macro>
  335. </include>
  336. <!--
  337. For Emacs:
  338. Local Variables:
  339. mode:xml
  340. indent-tabs-mode:nil
  341. tab-width:2
  342. c-basic-offset:2
  343. End:
  344. For VIM:
  345. vim:set softtabstop=2 shiftwidth=2 tabstop=2 expandtab:
  346. -->