Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 413 lines (375 sloc) 15.706 kB
2d116c3 @shimaore followup on my comment to FS-2213
authored
1 <include><!--This line will be ignored it's here to validate the xml and is optional -->
ddaee2d @shimaore debug failure case
authored
2
e56ea5a @shimaore more conf/lang/fr fixes
authored
3 <macro name="vm_say">
4 <input pattern="^sorry$" break_on_match="true">
ddaee2d @shimaore debug failure case
authored
5 <match>
6 <action function="play-file" data="misc/sorry.wav"/>
7 </match>
8 </input>
9 </macro>
10
0d6098f @shimaore pause is the inter-action pause, not the end-of-phrase pause
authored
11 <macro name="voicemail_enter_id">
2d116c3 @shimaore followup on my comment to FS-2213
authored
12 <input pattern="(.*)">
13 <match>
14 <action function="play-file" data="voicemail/vm-enter_id.wav"/>
b141003 @shimaore much work on sounds.xml files
authored
15 <action function="phrase" phrase="say" data="$1 pronounced"/>
2d116c3 @shimaore followup on my comment to FS-2213
authored
16 </match>
17 </input>
18 </macro>
19
0d6098f @shimaore pause is the inter-action pause, not the end-of-phrase pause
authored
20 <macro name="voicemail_enter_pass">
2d116c3 @shimaore followup on my comment to FS-2213
authored
21 <input pattern="(.*)">
22 <match>
23 <action function="play-file" data="voicemail/vm-enter_pass.wav"/>
b141003 @shimaore much work on sounds.xml files
authored
24 <action function="phrase" phrase="say" data="$1 pronounced"/>
2d116c3 @shimaore followup on my comment to FS-2213
authored
25 </match>
26 </input>
27 </macro>
28
29 <macro name="voicemail_fail_auth">
30 <input pattern="(.*)">
31 <match>
32 <action function="play-file" data="voicemail/vm-fail_auth.wav"/>
33 </match>
34 </input>
35 </macro>
36
37 <macro name="voicemail_hello">
38 <input pattern="(.*)">
39 <match>
e56ea5a @shimaore more conf/lang/fr fixes
authored
40 <action function="play-file" data="ivr/ivr-welcome.wav"/>
2d116c3 @shimaore followup on my comment to FS-2213
authored
41 </match>
42 </input>
43 </macro>
44
45 <macro name="voicemail_goodbye">
46 <input pattern="(.*)">
47 <match>
48 <action function="play-file" data="voicemail/vm-goodbye.wav"/>
49 </match>
50 </input>
51 </macro>
52
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
61 <macro name="voicemail_message_count">
62 <input pattern="^([^:]+):urgent-new">
63 <match>
64 <!-- TODO <action function="speak-text" data="Vous avez $1 nouveaux messages urgents dans le répertoire ${voicemail_current_folder}."/> -->
65 </match>
66 </input>
bae1ea3 @shimaore Using generic-sounds-fr-fr-sibylle we can properly do negatives in Fr…
authored
67 <input pattern="^0:new" break_on_match="true">
68 <match>
69 <action function="play-file" data="voicemail/vm-you_have_neg.wav"/>
e56ea5a @shimaore more conf/lang/fr fixes
authored
70 <action function="play-file" data="generic/372.wav"/>
bae1ea3 @shimaore Using generic-sounds-fr-fr-sibylle we can properly do negatives in Fr…
authored
71 <action function="play-file" data="voicemail/vm-new.wav"/>
72 <action function="play-file" data="voicemail/vm-message.wav"/>
73 </match>
74 </input>
2d116c3 @shimaore followup on my comment to FS-2213
authored
75 <input pattern="^([^:]+):new">
76 <match>
77 <action function="play-file" data="voicemail/vm-you_have.wav"/>
b141003 @shimaore much work on sounds.xml files
authored
78 <action function="phrase" phrase="say-number" data="$1"/>
79 <action function="play-file" data="voicemail/vm-new.wav"/>
2d116c3 @shimaore followup on my comment to FS-2213
authored
80 <action function="play-file" data="voicemail/vm-message.wav"/>
81 </match>
82 </input>
bae1ea3 @shimaore Using generic-sounds-fr-fr-sibylle we can properly do negatives in Fr…
authored
83 <input pattern="^0:saved" break_on_match="true">
84 <match>
85 <action function="play-file" data="voicemail/vm-you_have_neg.wav"/>
e56ea5a @shimaore more conf/lang/fr fixes
authored
86 <action function="play-file" data="generic/372.wav"/>
bae1ea3 @shimaore Using generic-sounds-fr-fr-sibylle we can properly do negatives in Fr…
authored
87 <action function="play-file" data="voicemail/vm-message.wav"/>
88 <action function="play-file" data="voicemail/vm-urgent.wav"/>
89 </match>
90 </input>
2d116c3 @shimaore followup on my comment to FS-2213
authored
91 <input pattern="^([^:]+):saved">
92 <match>
93 <action function="play-file" data="voicemail/vm-you_have.wav"/>
b141003 @shimaore much work on sounds.xml files
authored
94 <action function="phrase" phrase="say-number" data="$1"/>
2d116c3 @shimaore followup on my comment to FS-2213
authored
95 <action function="play-file" data="voicemail/vm-message.wav"/>
b141003 @shimaore much work on sounds.xml files
authored
96 <action function="play-file" data="voicemail/vm-urgent.wav"/>
2d116c3 @shimaore followup on my comment to FS-2213
authored
97 </match>
98 </input>
99 </macro>
100
101 <macro name="voicemail_menu">
102 <input pattern="^([0-9#*]):([0-9#*]):([0-9#*]):([0-9#*])$">
103 <match>
104 <action function="play-file" data="voicemail/vm-listen_new.wav"/>
105 <action function="play-file" data="voicemail/vm-press.wav"/>
b141003 @shimaore much work on sounds.xml files
authored
106 <action function="phrase" phrase="say" data="$1 pronounced"/>
2d116c3 @shimaore followup on my comment to FS-2213
authored
107 <action function="play-file" data="voicemail/vm-listen_saved.wav"/>
108 <action function="play-file" data="voicemail/vm-press.wav"/>
b141003 @shimaore much work on sounds.xml files
authored
109 <action function="phrase" phrase="say" data="$2 pronounced"/>
2d116c3 @shimaore followup on my comment to FS-2213
authored
110 <action function="play-file" data="voicemail/vm-advanced.wav"/>
111 <action function="play-file" data="voicemail/vm-press.wav"/>
b141003 @shimaore much work on sounds.xml files
authored
112 <action function="phrase" phrase="say" data="$3 pronounced"/>
2d116c3 @shimaore followup on my comment to FS-2213
authored
113 <action function="play-file" data="voicemail/vm-to_exit.wav"/>
114 <action function="play-file" data="voicemail/vm-press.wav"/>
b141003 @shimaore much work on sounds.xml files
authored
115 <action function="phrase" phrase="say" data="$4 pronounced"/>
2d116c3 @shimaore followup on my comment to FS-2213
authored
116 </match>
117 </input>
118 </macro>
119
120
121 <macro name="voicemail_config_menu">
122 <input pattern="^([0-9#*]):([0-9#*]):([0-9#*]):([0-9#*]):([0-9#*])$">
123 <match>
124 <action function="play-file" data="voicemail/vm-to_record_greeting.wav"/>
125 <action function="play-file" data="voicemail/vm-press.wav"/>
b141003 @shimaore much work on sounds.xml files
authored
126 <action function="phrase" phrase="say" data="$1 pronounced"/>
e463e89 @shimaore Non-applicable option in our setup.
authored
127 <!--
2d116c3 @shimaore followup on my comment to FS-2213
authored
128 <action function="play-file" data="voicemail/vm-choose_greeting.wav"/>
129 <action function="play-file" data="voicemail/vm-press.wav"/>
b141003 @shimaore much work on sounds.xml files
authored
130 <action function="phrase" phrase="say" data="$2 pronounced"/>
e463e89 @shimaore Non-applicable option in our setup.
authored
131 -->
2d116c3 @shimaore followup on my comment to FS-2213
authored
132 <action function="play-file" data="voicemail/vm-record_name2.wav"/>
133 <action function="play-file" data="voicemail/vm-press.wav"/>
b141003 @shimaore much work on sounds.xml files
authored
134 <action function="phrase" phrase="say" data="$3 pronounced"/>
2d116c3 @shimaore followup on my comment to FS-2213
authored
135 <action function="play-file" data="voicemail/vm-change_password.wav"/>
136 <action function="play-file" data="voicemail/vm-press.wav"/>
b141003 @shimaore much work on sounds.xml files
authored
137 <action function="phrase" phrase="say" data="$4 pronounced"/>
2d116c3 @shimaore followup on my comment to FS-2213
authored
138 <action function="play-file" data="voicemail/vm-main_menu.wav"/>
139 <action function="play-file" data="voicemail/vm-press.wav"/>
b141003 @shimaore much work on sounds.xml files
authored
140 <action function="phrase" phrase="say" data="$5 pronounced"/>
2d116c3 @shimaore followup on my comment to FS-2213
authored
141 </match>
142 </input>
143 </macro>
144
145
146 <macro name="voicemail_record_name">
147 <input pattern="^(.*)$">
148 <match>
149 <action function="play-file" data="voicemail/vm-record_name1.wav"/>
150 </match>
151 </input>
152 </macro>
153
154 <macro name="voicemail_record_file_check">
155 <input pattern="^([0-9#*]):([0-9#*]):([0-9#*])$">
156 <match>
157 <action function="play-file" data="voicemail/vm-listen_to_recording.wav"/>
158 <action function="play-file" data="voicemail/vm-press.wav"/>
b141003 @shimaore much work on sounds.xml files
authored
159 <action function="phrase" phrase="say" data="$1 pronounced"/>
2d116c3 @shimaore followup on my comment to FS-2213
authored
160 <action function="play-file" data="voicemail/vm-save_recording.wav"/>
161 <action function="play-file" data="voicemail/vm-press.wav"/>
b141003 @shimaore much work on sounds.xml files
authored
162 <action function="phrase" phrase="say" data="$2 pronounced"/>
2d116c3 @shimaore followup on my comment to FS-2213
authored
163 <action function="play-file" data="voicemail/vm-rerecord.wav"/>
164 <action function="play-file" data="voicemail/vm-press.wav"/>
b141003 @shimaore much work on sounds.xml files
authored
165 <action function="phrase" phrase="say" data="$3 pronounced"/>
2d116c3 @shimaore followup on my comment to FS-2213
authored
166 </match>
167 </input>
168 </macro>
169
170 <macro name="voicemail_record_urgent_check">
171 <input pattern="^([0-9#*]):([0-9#*])$">
172 <match>
173 <action function="play-file" data="voicemail/vm-mark-urgent.wav"/>
174 <action function="play-file" data="voicemail/vm-press.wav"/>
b141003 @shimaore much work on sounds.xml files
authored
175 <action function="phrase" phrase="say" data="$1 pronounced"/>
2d116c3 @shimaore followup on my comment to FS-2213
authored
176 <action function="play-file" data="voicemail/vm-continue.wav"/>
177 <action function="play-file" data="voicemail/vm-press.wav"/>
b141003 @shimaore much work on sounds.xml files
authored
178 <action function="phrase" phrase="say" data="$2 pronounced"/>
2d116c3 @shimaore followup on my comment to FS-2213
authored
179 </match>
180 </input>
181 </macro>
182
183 <macro name="voicemail_forward_prepend">
184 <input pattern="^([0-9#*]):([0-9#*])$">
185 <match>
186 <action function="play-file" data="voicemail/vm-forward_add_intro.wav"/>
187 <action function="play-file" data="voicemail/vm-press.wav"/>
b141003 @shimaore much work on sounds.xml files
authored
188 <action function="phrase" phrase="say" data="$1 pronounced"/>
2d116c3 @shimaore followup on my comment to FS-2213
authored
189 <action function="play-file" data="voicemail/vm-send_message_now.wav"/>
190 <action function="play-file" data="voicemail/vm-press.wav"/>
b141003 @shimaore much work on sounds.xml files
authored
191 <action function="phrase" phrase="say" data="$2 pronounced"/>
2d116c3 @shimaore followup on my comment to FS-2213
authored
192 </match>
193 </input>
194 </macro>
195
196 <macro name="voicemail_forward_message_enter_extension">
197 <input pattern="^([0-9#*])$">
198 <match>
199 <action function="play-file" data="voicemail/vm-forward_enter_ext.wav"/>
200 <action function="play-file" data="voicemail/vm-followed_by.wav"/>
b141003 @shimaore much work on sounds.xml files
authored
201 <action function="phrase" phrase="say" data="$1 pronounced"/>
2d116c3 @shimaore followup on my comment to FS-2213
authored
202 </match>
203 </input>
204 </macro>
205
206 <macro name="voicemail_invalid_extension">
207 <input pattern="^(.*)$">
208 <match>
209 <action function="play-file" data="voicemail/vm-that_was_an_invalid_ext.wav"/>
210 </match>
211 </input>
212 </macro>
213
214 <macro name="voicemail_listen_file_check">
215 <input pattern="^([0-9#*]):([0-9#*]):([0-9#*]):([0-9#*]):([0-9#*]):([0-9#*]):(.*)$">
216 <match>
217 <action function="play-file" data="voicemail/vm-listen_to_recording.wav"/>
218 <action function="play-file" data="voicemail/vm-press.wav"/>
b141003 @shimaore much work on sounds.xml files
authored
219 <action function="phrase" phrase="say" data="$1 pronounced"/>
2d116c3 @shimaore followup on my comment to FS-2213
authored
220 <action function="play-file" data="voicemail/vm-save_recording.wav"/>
221 <action function="play-file" data="voicemail/vm-press.wav"/>
b141003 @shimaore much work on sounds.xml files
authored
222 <action function="phrase" phrase="say" data="$2 pronounced"/>
2d116c3 @shimaore followup on my comment to FS-2213
authored
223 <action function="play-file" data="voicemail/vm-delete_recording.wav"/>
224 <action function="play-file" data="voicemail/vm-press.wav"/>
b141003 @shimaore much work on sounds.xml files
authored
225 <action function="phrase" phrase="say" data="$3 pronounced"/>
2d116c3 @shimaore followup on my comment to FS-2213
authored
226 <action function="play-file" data="voicemail/vm-forward_to_email.wav"/>
227 <action function="play-file" data="voicemail/vm-press.wav"/>
b141003 @shimaore much work on sounds.xml files
authored
228 <action function="phrase" phrase="say" data="$4 pronounced"/>
2d116c3 @shimaore followup on my comment to FS-2213
authored
229 <action function="play-file" data="voicemail/vm-return_call.wav"/>
230 <action function="play-file" data="voicemail/vm-press.wav"/>
b141003 @shimaore much work on sounds.xml files
authored
231 <action function="phrase" phrase="say" data="$5 pronounced"/>
2d116c3 @shimaore followup on my comment to FS-2213
authored
232 <action function="play-file" data="voicemail/vm-to_forward.wav"/>
233 <action function="play-file" data="voicemail/vm-press.wav"/>
b141003 @shimaore much work on sounds.xml files
authored
234 <action function="phrase" phrase="say" data="$6 pronounced"/>
2d116c3 @shimaore followup on my comment to FS-2213
authored
235 </match>
236 </input>
237 <input pattern="^([0-9#*]):([0-9#*]):([0-9#*]):([0-9#*]):([0-9#*]):([0-9#*])$">
238 <match>
239 <action function="play-file" data="voicemail/vm-listen_to_recording.wav"/>
240 <action function="play-file" data="voicemail/vm-press.wav"/>
b141003 @shimaore much work on sounds.xml files
authored
241 <action function="phrase" phrase="say" data="$1 pronounced"/>
2d116c3 @shimaore followup on my comment to FS-2213
authored
242 <action function="play-file" data="voicemail/vm-save_recording.wav"/>
243 <action function="play-file" data="voicemail/vm-press.wav"/>
b141003 @shimaore much work on sounds.xml files
authored
244 <action function="phrase" phrase="say" data="$2 pronounced"/>
2d116c3 @shimaore followup on my comment to FS-2213
authored
245 <action function="play-file" data="voicemail/vm-delete_recording.wav"/>
246 <action function="play-file" data="voicemail/vm-press.wav"/>
b141003 @shimaore much work on sounds.xml files
authored
247 <action function="phrase" phrase="say" data="$3 pronounced"/>
2d116c3 @shimaore followup on my comment to FS-2213
authored
248 <action function="play-file" data="voicemail/vm-return_call.wav"/>
249 <action function="play-file" data="voicemail/vm-press.wav"/>
b141003 @shimaore much work on sounds.xml files
authored
250 <action function="phrase" phrase="say" data="$4 pronounced"/>
2d116c3 @shimaore followup on my comment to FS-2213
authored
251 <action function="play-file" data="voicemail/vm-to_forward.wav"/>
252 <action function="play-file" data="voicemail/vm-press.wav"/>
b141003 @shimaore much work on sounds.xml files
authored
253 <action function="phrase" phrase="say" data="$5 pronounced"/>
2d116c3 @shimaore followup on my comment to FS-2213
authored
254 </match>
255 </input>
256 </macro>
257
258 <macro name="voicemail_choose_greeting">
259 <input pattern="^(.*)$">
260 <match>
261 <action function="play-file" data="voicemail/vm-choose_greeting_choose.wav"/>
262 </match>
263 </input>
264 </macro>
265
266 <macro name="voicemail_choose_greeting_fail">
267 <input pattern="^(.*)$">
268 <match>
269 <action function="play-file" data="voicemail/vm-choose_greeting_fail.wav"/>
270 </match>
271 </input>
272 </macro>
273
274 <macro name="voicemail_record_greeting">
275 <input pattern="^(.*)$">
276 <match>
277 <action function="play-file" data="voicemail/vm-record_greeting.wav"/>
278 </match>
279 </input>
280 </macro>
281
282 <macro name="voicemail_record_message">
283 <input pattern="^(.*)$">
284 <match>
285 <action function="play-file" data="voicemail/vm-record_message.wav"/>
286 </match>
287 </input>
288 </macro>
289
290 <macro name="voicemail_greeting_selected">
291 <input pattern="^(\d+)$">
292 <match>
293 <action function="play-file" data="voicemail/vm-greeting.wav"/>
b141003 @shimaore much work on sounds.xml files
authored
294 <action function="phrase" phrase="say" data="$1 pronounced"/>
2d116c3 @shimaore followup on my comment to FS-2213
authored
295 <action function="play-file" data="voicemail/vm-selected.wav"/>
296 </match>
297 </input>
298 </macro>
299
300 <macro name="voicemail_play_greeting">
301 <input pattern="^(.*)$">
302 <match>
303 <action function="play-file" data="voicemail/vm-person.wav"/>
b141003 @shimaore much work on sounds.xml files
authored
304 <action function="phrase" phrase="say" data="$1 pronounced"/>
2d116c3 @shimaore followup on my comment to FS-2213
authored
305 <action function="play-file" data="voicemail/vm-not_available.wav"/>
306 </match>
307 </input>
308 </macro>
309
310 <macro name="voicemail_say_number">
311 <input pattern="^(\d+)$">
312 <match>
b141003 @shimaore much work on sounds.xml files
authored
313 <action function="phrase" phrase="say" data="$1 pronounced"/>
2d116c3 @shimaore followup on my comment to FS-2213
authored
314 </match>
315 </input>
316 </macro>
317
318 <macro name="voicemail_say_message_number">
319 <input pattern="^([a-z]+):(\d+)$">
320 <match>
b141003 @shimaore much work on sounds.xml files
authored
321 <action function="play-file" data="voicemail/vm-$1.wav"/> <!-- new|urgent -->
2d116c3 @shimaore followup on my comment to FS-2213
authored
322 <action function="play-file" data="voicemail/vm-message_number.wav"/>
b141003 @shimaore much work on sounds.xml files
authored
323 <action function="phrase" phrase="say-number" data="$2"/>
2d116c3 @shimaore followup on my comment to FS-2213
authored
324 </match>
325 </input>
326 </macro>
327
328 <macro name="voicemail_say_phone_number">
329 <input pattern="^(.*)$">
330 <match>
b141003 @shimaore much work on sounds.xml files
authored
331 <action function="phrase" phrase="say" data="$1 pronounced"/>
2d116c3 @shimaore followup on my comment to FS-2213
authored
332 </match>
333 </input>
334 </macro>
335
336 <macro name="voicemail_say_name">
337 <input pattern="^(.*)$">
338 <match>
b141003 @shimaore much work on sounds.xml files
authored
339 <action function="phrase" phrase="say" data="$1 pronounced"/>
2d116c3 @shimaore followup on my comment to FS-2213
authored
340 </match>
341 </input>
342 </macro>
343
344 <macro name="voicemail_ack">
345 <input pattern="^(too-small)$">
346 <match>
347 <action function="play-file" data="voicemail/vm-too-small.wav"/>
348 </match>
349 </input>
350 <input pattern="^(deleted|saved|emailed|marked-urgent)$">
351 <match>
352 <action function="play-file" data="voicemail/vm-message.wav"/>
353 <action function="play-file" data="voicemail/vm-$1.wav"/>
354 </match>
355 </input>
356 </macro>
357
358 <macro name="voicemail_say_date">
359 <input pattern="^(.*)$">
360 <match>
b141003 @shimaore much work on sounds.xml files
authored
361 <action function="phrase" phrase="say-date" data="$1"/>
2d116c3 @shimaore followup on my comment to FS-2213
authored
362 </match>
363 </input>
364 </macro>
365
366 <macro name="voicemail_disk_quota_exceeded">
367 <input pattern="^(.*)$">
368 <match>
369 <action function="play-file" data="voicemail/vm-mailbox_full.wav"/>
370 </match>
371 </input>
372 </macro>
373
374 <macro name="valet_announce_ext">
375 <input pattern="^([^\:]+):(.*)$">
376 <match>
b141003 @shimaore much work on sounds.xml files
authored
377 <action function="phrase" phrase="say" data="$2 pronounced"/>
2d116c3 @shimaore followup on my comment to FS-2213
authored
378 </match>
379 </input>
380 </macro>
381
382 <macro name="valet_lot_full">
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
390 <macro name="valet_lot_empty">
391 <input pattern="^(.*)$">
392 <match>
393 <action function="play-file" data="tone_stream://%(275,10,600);%(275,100,300)"/>
394 </match>
395 </input>
396 </macro>
92da0ac @shimaore voicemail enveloppe
authored
397
398 <macro name="message received">
9abc98f @shimaore more than ten messages, please
authored
399 <input pattern="^([^:]+):([^:]*):[0-9]{4}-([0-9]{2})-([0-9]{2})T([0-9]{2}:[0-9]{2})" break_on_match="true"> <!-- message_number,caller_id,timestamp -->
92da0ac @shimaore voicemail enveloppe
authored
400 <match>
83396b8 @shimaore use say-counted since we have it!
authored
401 <action function="phrase" phrase="say-counted" data="$1"/>
402 <action function="play-file" data="voicemail/vm-message.wav"/>
92da0ac @shimaore voicemail enveloppe
authored
403 <action function="play-file" data="voicemail/vm-received.wav"/>
6e9aebc @shimaore syntax
authored
404 <action function="phrase" phrase="say-number" data="$4"/>
405 <action function="phrase" phrase="say-month" data="$3"/>
92da0ac @shimaore voicemail enveloppe
authored
406 <action function="play-file" data="time/at.wav"/>
407 <action function="phrase" phrase="say-time" data="$5"/>
408 </match>
409 </input>
410 </macro>
411
2d116c3 @shimaore followup on my comment to FS-2213
authored
412 </include><!--This line will be ignored it's here to validate the xml and is optional -->
Something went wrong with that request. Please try again.