source: packages/net/freeswitch/files/etc.packages/say-he/lang/he/demo/demo-ivr.xml @ 28128

Last change on this file since 28128 was 28128, checked in by mazilo, 5 years ago

updated to latest git version, added HU lang support, and minor fixes to the Makefile

File size: 7.2 KB
Line 
1<?xml version="1.0" encoding="Windows-1252"?>
2<include><!--This line will be ignored it's here to validate the xml and is optional -->
3
4
5  <macro name="demo_ivr_count">
6    <input pattern="^(\d+)$">
7      <match>
8        <action function="play-file" data="voicemail/vm-you_have.wav"/>
9        <action function="say" data="$1" method="pronounced" type="name_spelled"/>
10        <action function="play-file" data="voicemail/vm-messages.wav"/>
11      </match>
12    </input>
13  </macro>
14
15  <macro name="demo_ivr_main_menu" pause="100"> <!-- See conf/autoload_config/ivr.conf.xml for an example on how to use this macro in an IVR -->
16    <input pattern="(.*)">
17      <match>
18        <!-- string together several existing sound files to create one long greeting -->
19        <action function="play-file" data="ivr/ivr-welcome_to_freeswitch.wav"/>
20        <action function="play-file" data="ivr/ivr-this_ivr_will_let_you_test_features.wav"/>
21        <action function="play-file" data="ivr/ivr-you_may_exit_by_hanging_up.wav"/>
22        <!-- note that you can do more than just play files, e.g. have pauses and do TTS -->
23
24        <!-- Menu option 1: Call FreeSWITCH conference-->
25        <action function="play-file" data="ivr/ivr-enter_ext_pound.wav"/>
26        <action function="play-file" data="silence_stream://1500"/>
27        <action function="play-file" data="ivr/ivr-to_call_the_freeswitch_conference.wav"/>
28        <action function="play-file" data="ivr/ivr-please.wav"/>
29        <action function="play-file" data="voicemail/vm-press.wav"/>
30        <action function="play-file" data="digits/1.wav"/>
31
32        <!-- Menu option 2: Do FreeSWITCH echo test -->
33        <action function="play-file" data="ivr/ivr-to_do_a_freeswitch_echo_test.wav"/>
34        <action function="play-file" data="ivr/ivr-please.wav"/>
35        <action function="play-file" data="voicemail/vm-press.wav"/>
36        <action function="play-file" data="digits/2.wav"/>
37
38        <!-- Menu option 3: Listen to Music on Hold -->
39        <action function="play-file" data="ivr/ivr-to_listen_to_moh.wav"/>
40        <action function="play-file" data="ivr/ivr-please.wav"/>
41        <action function="play-file" data="voicemail/vm-press.wav"/>
42        <action function="play-file" data="digits/3.wav"/>
43
44        <!-- Menu option 4: Register for ClueCon -->
45        <action function="play-file" data="ivr/ivr-register_for_cluecon.wav"/>
46        <action function="play-file" data="digits/4.wav"/>
47
48        <!-- Menu option 5: Listen to screaming monkeys -->
49        <action function="play-file" data="ivr/ivr-to_hear_screaming_monkeys.wav"/>
50        <action function="play-file" data="ivr/ivr-please.wav"/>
51        <action function="play-file" data="voicemail/vm-press.wav"/>
52        <action function="play-file" data="digits/5.wav"/>
53
54        <!-- Menu option 6: Hear a sample submenu -->
55        <action function="play-file" data="ivr/ivr-to_hear_sample_submenu.wav"/>
56        <action function="play-file" data="ivr/ivr-please.wav"/>
57        <action function="play-file" data="voicemail/vm-press.wav"/>
58        <action function="play-file" data="digits/6.wav"/>
59
60        <!-- Menu option 9: Repeat these options -->
61        <action function="play-file" data="ivr/ivr-to_repeat_these_options.wav"/>
62        <action function="play-file" data="ivr/ivr-please.wav"/>
63        <action function="play-file" data="voicemail/vm-press.wav"/>
64        <action function="play-file" data="digits/9.wav"/>
65        <action function="play-file" data="silence_stream://2000"/>
66      </match>
67    </input>
68  </macro>
69
70  <!-- The following macro is the same as demo_ivr_main_menu except it is the "short" version -->
71  <!-- The short version has all the options but not the initial greeting -->
72  <macro name="demo_ivr_main_menu_short" pause="100"> 
73    <input pattern="(.*)">
74      <match>
75        <!-- Menu option 1: Call FreeSWITCH conference-->
76        <action function="play-file" data="silence_stream://1000"/>
77        <action function="play-file" data="ivr/ivr-to_call_the_freeswitch_conference.wav"/>
78        <action function="play-file" data="ivr/ivr-please.wav"/>
79        <action function="play-file" data="voicemail/vm-press.wav"/>
80        <action function="play-file" data="digits/1.wav"/>
81
82        <!-- Menu option 2: Do FreeSWITCH echo test -->
83        <action function="play-file" data="ivr/ivr-to_do_a_freeswitch_echo_test.wav"/>
84        <action function="play-file" data="ivr/ivr-please.wav"/>
85        <action function="play-file" data="voicemail/vm-press.wav"/>
86        <action function="play-file" data="digits/2.wav"/>
87
88        <!-- Menu option 3: Listen to Music on Hold -->
89        <action function="play-file" data="ivr/ivr-to_listen_to_moh.wav"/>
90        <action function="play-file" data="ivr/ivr-please.wav"/>
91        <action function="play-file" data="voicemail/vm-press.wav"/>
92        <action function="play-file" data="digits/3.wav"/>
93
94        <!-- Menu option 4: Hear a sample submenu -->
95        <action function="play-file" data="ivr/ivr-to_hear_sample_submenu.wav"/>
96        <action function="play-file" data="ivr/ivr-please.wav"/>
97        <action function="play-file" data="voicemail/vm-press.wav"/>
98        <action function="play-file" data="digits/4.wav"/>
99
100        <!-- Menu option 5: Listen to screaming monkeys -->
101        <action function="play-file" data="ivr/ivr-to_hear_screaming_monkeys.wav"/>
102        <action function="play-file" data="ivr/ivr-please.wav"/>
103        <action function="play-file" data="voicemail/vm-press.wav"/>
104        <action function="play-file" data="digits/5.wav"/>
105
106        <!-- Menu option 9: Repeat these options -->
107        <action function="play-file" data="ivr/ivr-to_repeat_these_options.wav"/>
108        <action function="play-file" data="ivr/ivr-please.wav"/>
109        <action function="play-file" data="voicemail/vm-press.wav"/>
110        <action function="play-file" data="digits/9.wav"/>
111        <action function="play-file" data="silence_stream://2000"/>
112      </match>
113    </input>
114  </macro>
115
116  <!-- The following macro is the "long" greeting for the demo_ivr_sub_menu -->
117  <macro name="demo_ivr_sub_menu">
118    <input pattern="(.*)">
119      <match>
120        <action function="play-file" data="ivr/ivr-welcome_to_freeswitch.wav"/>
121        <action function="play-file" data="ivr/ivr-sample_submenu.wav"/>
122
123        <!-- Menu option *: Return to top menu -->
124        <action function="play-file" data="ivr/ivr-to_return_to_previous_menu.wav"/>
125        <action function="play-file" data="ivr/ivr-please.wav"/>
126        <action function="play-file" data="voicemail/vm-press.wav"/>
127        <action function="play-file" data="digits/star.wav"/>
128
129      </match>
130    </input>
131  </macro>
132
133  <!-- The following macro is the same as demo_ivr_sub_menu except it is the "short" version -->
134  <!-- The short version has all the options but not the initial greeting -->
135  <macro name="demo_ivr_sub_menu_short"> 
136    <input pattern="(.*)">
137      <match>
138        <!-- Menu option *: Return to top menu -->
139        <action function="play-file" data="ivr/ivr-to_return_to_previous_menu.wav"/>
140        <action function="play-file" data="ivr/ivr-please.wav"/>
141        <action function="play-file" data="voicemail/vm-press.wav"/>
142        <action function="play-file" data="digits/star.wav"/>
143
144      </match>
145    </input>
146  </macro>
147
148</include><!--This line will be ignored it's here to validate the xml and is optional -->
Note: See TracBrowser for help on using the repository browser.