Create new demo IVR XML and phrases. (New sound files needed.) Update phrase_en.xml to-be-recorded sound files.

This commit is contained in:
Michael S Collins 2012-07-24 16:36:45 -07:00
parent 17a85ec467
commit c1c8ddf0bc
3 changed files with 262 additions and 1 deletions

View File

@ -0,0 +1,69 @@
<include>
<!-- new demo IVR, Main Menu -->
<menu name="new_demo_ivr"
greet-long="phrase:new_demo_ivr_main_menu"
greet-short="phrase:new_demo_ivr_main_menu_short"
invalid-sound="ivr/ivr-that_was_an_invalid_entry.wav"
exit-sound="voicemail/vm-goodbye.wav"
confirm-macro=""
confirm-key=""
tts-engine="flite"
tts-voice="rms"
confirm-attempts="3"
timeout="10000"
inter-digit-timeout="2000"
max-failures="3"
max-timeouts="3"
digit-len="4">
<entry action="menu-sub" digits="1" param="freeswitch_ivr_submenu"/> <!-- FreeSWITCH sub menu -->
<entry action="menu-sub" digits="2" param="freeswitch_solutions_ivr_submenu"/> <!-- FreeSWITCH Solutions sub menu -->
<entry action="menu-sub" digits="3" param="cluecon_ivr_submenu"/> <!-- ClueCon sub menu -->
<entry action="menu-exec-app" digits="4" param="5000 XML default"/> <!-- original demo IVR -->
<entry action="menu-top" digits="9"/> <!-- Repeat this menu -->
</menu>
<!-- FreeSWITCH IVR Sub Menu -->
<menu name="freeswitch_ivr_submenu"
greet-long="phrase:learn_about_freeswitch_sub_menu"
greet-short="phrase:learn_about_freeswitch_sub_menu"
invalid-sound="ivr/ivr-that_was_an_invalid_entry.wav"
exit-sound="voicemail/vm-goodbye.wav"
timeout="15000"
max-failures="3"
max-timeouts="3">
<entry action="menu-sub" digits="9" param="freeswitch_ivr_submenu"/>
<entry action="menu-top" digits="*"/>
</menu>
<!-- FreeSWITCH Solutions IVR Sub Menu -->
<menu name="freeswitch_solutions_ivr_submenu"
greet-long="phrase:learn_about_freeswitch_solutions_sub_menu"
greet-short="phrase:learn_about_freeswitch_solutions_sub_menu"
invalid-sound="ivr/ivr-that_was_an_invalid_entry.wav"
exit-sound="voicemail/vm-goodbye.wav"
timeout="15000"
max-failures="3"
max-timeouts="3">
<entry action="menu-sub" digits="9" param="freeswitch_solutions_ivr_submenu"/>
<entry action="menu-top" digits="*"/>
</menu>
<!-- ClueCon IVR Sub Menu -->
<menu name="cluecon_ivr_submenu"
greet-long="phrase:learn_about_cluecon_sub_menu"
greet-short="phrase:learn_about_cluecon_sub_menu"
invalid-sound="ivr/ivr-that_was_an_invalid_entry.wav"
exit-sound="voicemail/vm-goodbye.wav"
timeout="15000"
max-failures="3"
max-timeouts="3">
<entry action="menu-sub" digits="9" param="cluecon_ivr_submenu"/>
<entry action="menu-top" digits="*"/>
</menu>
</include>

View File

@ -0,0 +1,171 @@
<?xml version="1.0" encoding="Windows-1252"?>
<include><!--This line will be ignored it's here to validate the xml and is optional -->
<macro name="new_demo_ivr_main_menu" pause="100"> <!-- See conf/ivr_menus/ivr.conf.xml for an example on how to use this macro in an IVR -->
<input pattern="(.*)">
<match>
<action function="play-file" data="ivr/ivr-welcome_to_freeswitch.wav"/>
<action function="play-file" data="silence_stream://500"/>
<!-- Menu option 1: For information about FreeSWITCH... -->
<action function="play-file" data="misc/misc-information_about_freeswitch.wav"/>
<action function="play-file" data="digits/1.wav"/>
<!-- Menu option 2: To learn more about FreeSWITCH Solutions... -->
<action function="play-file" data="misc/misc-learn_more_about_freeswitch_solutions.wav"/>
<action function="play-file" data="digits/2.wav"/>
<!-- Menu option 3: To hear about ClueCon -->
<action function="play-file" data="misc/misc-to_hear_about_cluecon.wav"/>
<action function="play-file" data="digits/3.wav"/>
<!-- Menu option 4: For other options -->
<action function="play-file" data="ivr/ivr-for_other_options.wav"/>
<action function="play-file" data="digits/4.wav"/>
<!-- Menu option 9: Repeat these options -->
<action function="play-file" data="ivr/ivr-to_repeat_these_options.wav"/>
<action function="play-file" data="ivr/ivr-please.wav"/>
<action function="play-file" data="voicemail/vm-press.wav"/>
<action function="play-file" data="digits/9.wav"/>
<action function="play-file" data="silence_stream://2000"/>
</match>
</input>
</macro>
<!-- The following macro is the same as new_demo_ivr_main_menu except it is the "short" version -->
<!-- The short version has all the options but not the initial greeting -->
<macro name="new_demo_ivr_main_menu_short" pause="100">
<input pattern="(.*)">
<match>
<!-- Menu option 1: For information about FreeSWITCH... -->
<action function="play-file" data="misc/misc-information_about_freeswitch.wav"/>
<action function="play-file" data="digits/1.wav"/>
<!-- Menu option 2: To learn more about FreeSWITCH Solutions... -->
<action function="play-file" data="misc/misc-learn_more_about_freeswitch_solutions.wav"/>
<action function="play-file" data="digits/2.wav"/>
<!-- Menu option 3: To hear about ClueCon -->
<action function="play-file" data="misc/misc-to_hear_about_cluecon.wav"/>
<action function="play-file" data="digits/3.wav"/>
<!-- Menu option 4: For other options -->
<action function="play-file" data="ivr/ivr-for_other_options.wav"/>
<action function="play-file" data="digits/4.wav"/>
<!-- Menu option 9: Repeat these options -->
<action function="play-file" data="ivr/ivr-to_repeat_these_options.wav"/>
<action function="play-file" data="ivr/ivr-please.wav"/>
<action function="play-file" data="voicemail/vm-press.wav"/>
<action function="play-file" data="digits/9.wav"/>
<action function="play-file" data="silence_stream://2000"/>
</match>
</input>
</macro>
<!-- More information about FreeSWITCH... -->
<macro name="learn_about_freeswitch_sub_menu">
<input pattern="(.*)">
<match>
<!-- Information about FreeSWITCH and OSTAG... -->
<action function="play-file" data="misc-freeswitch_is_state_of_the_art.wav"/>
<action function="play-file" data="silence_stream://50"/>
<action function="play-file" data="misc-it_is_stable_scalable_extensible.wav"/>
<action function="play-file" data="silence_stream://50"/>
<action function="play-file" data="misc-free_to_download.wav"/>
<action function="play-file" data="silence_stream://50"/>
<action function="play-file" data="misc-freeswitch_sponsored_by_ostag.wav"/>
<action function="play-file" data="silence_stream://50"/>
<action function="play-file" data="misc-ostag_learn_more.wav"/>
<action function="play-file" data="silence_stream://50"/>
<!-- Menu option 9: Repeat this information -->
<action function="play-file" data="ivr/ivr-repeat_this_information.wav"/>
<action function="play-file" data="ivr/ivr-please.wav"/>
<action function="play-file" data="voicemail/vm-press.wav"/>
<action function="play-file" data="digits/9.wav"/>
<action function="play-file" data="silence_stream://2000"/>
<!-- Menu option *: Return to top menu -->
<action function="play-file" data="ivr/ivr-to_return_to_previous_menu.wav"/>
<action function="play-file" data="ivr/ivr-please.wav"/>
<action function="play-file" data="voicemail/vm-press.wav"/>
<action function="play-file" data="digits/star.wav"/>
</match>
</input>
</macro>
<!-- More information about FreeSWITCH Solutions... -->
<macro name="learn_about_freeswitch_solutions_sub_menu">
<input pattern="(.*)">
<match>
<!-- Information about FreeSWITCH Solutions... -->
<action function="play-file" data="[[sounds from tony/brian]]"/>
<action function="play-file" data="silence_stream://50"/>
<action function="play-file" data="[[sounds from tony/brian]]"/>
<action function="play-file" data="silence_stream://50"/>
<action function="play-file" data="[[sounds from tony/brian]]"/>
<action function="play-file" data="silence_stream://50"/>
<action function="play-file" data="[[sounds from tony/brian]]"/>
<action function="play-file" data="silence_stream://50"/>
<action function="play-file" data="[[sounds from tony/brian]]"/>
<action function="play-file" data="silence_stream://50"/>
<!-- Menu option 9: Repeat this information -->
<action function="play-file" data="ivr/ivr-repeat_this_information.wav"/>
<action function="play-file" data="ivr/ivr-please.wav"/>
<action function="play-file" data="voicemail/vm-press.wav"/>
<action function="play-file" data="digits/9.wav"/>
<action function="play-file" data="silence_stream://2000"/>
<!-- Menu option *: Return to top menu -->
<action function="play-file" data="ivr/ivr-to_return_to_previous_menu.wav"/>
<action function="play-file" data="ivr/ivr-please.wav"/>
<action function="play-file" data="voicemail/vm-press.wav"/>
<action function="play-file" data="digits/star.wav"/>
</match>
</input>
</macro>
<!-- More information about ClueCon -->
<macro name="learn_about_cluecon_sub_menu">
<input pattern="(.*)">
<match>
<!-- Information about ClueCon... -->
<action function="play-file" data="misc-cluecon_is_premier_conference.wav"/>
<action function="play-file" data="silence_stream://50"/>
<action function="play-file" data="misc-chicago_each_summer.wav"/>
<action function="play-file" data="silence_stream://50"/>
<action function="play-file" data="misc-wide_range_of_persons.wav"/>
<action function="play-file" data="silence_stream://50"/>
<action function="play-file" data="misc-support_open_source_by_attending.wav"/>
<action function="play-file" data="silence_stream://500"/>
<action function="play-file" data="ivr-register_for_cluecon.wav"/>
<action function="play-file" data="ivr/ivr-please.wav"/>
<action function="play-file" data="voicemail/vm-press.wav"/>
<action function="play-file" data="digits/1.wav"/>
<action function="play-file" data="silence_stream://500"/>
<!-- Menu option 9: Repeat this information -->
<action function="play-file" data="ivr/ivr-repeat_this_information.wav"/>
<action function="play-file" data="ivr/ivr-please.wav"/>
<action function="play-file" data="voicemail/vm-press.wav"/>
<action function="play-file" data="digits/9.wav"/>
<action function="play-file" data="silence_stream://2000"/>
<!-- Menu option *: Return to top menu -->
<action function="play-file" data="ivr/ivr-to_return_to_previous_menu.wav"/>
<action function="play-file" data="ivr/ivr-please.wav"/>
<action function="play-file" data="voicemail/vm-press.wav"/>
<action function="play-file" data="digits/star.wav"/>
</match>
</input>
</macro>
</include><!--This line will be ignored it's here to validate the xml and is optional -->

View File

@ -571,7 +571,27 @@
<prompt phrase="To accept, press..." filename="ivr-to_accept_press.wav"/>
<prompt phrase="To reject..." filename="ivr-to_reject.wav"/>
<prompt phrase="...hang up." filename="ivr-hang_up.wav"/>
<prompt phrase="" filename=""/>
<prompt phrase="To reject, hang up the call without pressing a key." filename="ivr-to_reject_hangup.wav"/>
<prompt phrase="Access denied." filename="ivr-access_denied.wav"/>
<prompt phrase="Beeyotch." filename="ivr-beeyotch.wav"/>
<prompt phrase="To perform a DTMF test, press..." filename="ivr-perform_dtmf_test.wav"/>
<prompt phrase="To perform an echo test, press..." filename="ivr-perform_echo_test.wav"/>
<prompt phrase="To perform a delayed echo test, press..." filename="ivr-perform_delayed_echo_test.wav"/>
<prompt phrase="To perform a fax test, press..." filename="ivr-perform_fax_test.wav"/>
<prompt phrase="Hang up to end the test." filename="ivr-hangup_to_end_test.wav"/>
<prompt phrase="Press a key. I will read each key press back to you." filename="ivr-read_each_key_press_back.wav"/>
<prompt phrase="After the tone, I will echo your audio back to you." filename="ivr-echo_your_audio_back.wav"/>
<prompt phrase="After the tone, I will send a delayed echo of your audio back to you." filename="ivr-delayed_echo_your_audio_back.wav"/>
<prompt phrase="To send me a fax, press..." filename="ivr-send_fax.wav"/>
<prompt phrase="To receive a fax from me, press..." filename="ivr-receive_fax.wav"/>
<prompt phrase="Please enter the number to which I should send this fax, then press pound." filename="ivr-enter_number_send_fax.wav"/>
<prompt phrase="Send your fax now." filename="ivr-send_fax_now.wav"/>
<prompt phrase="To learn more about FreeSWITCH Solutions, press..." filename="misc-learn_more_about_freeswitch_solutions.wav"/>
<prompt phrase="For information about FreeSWITCH, press..." filename="misc-information_about_freeswitch.wav"/>
<prompt phrase="For other options, press..." filename="ivr-for_other_options.wav"/>
<prompt phrase="FreeSWITCH is a state of the art telecommunications platform." filename="misc-freeswitch_is_state_of_the_art.wav"/>
<prompt phrase="It is stable, highly scalable, and extensible." filename="misc-it_is_stable_scalable_extensible.wav"/>
<prompt phrase="Best of all, it is free for anyone to download and use." filename="misc-free_to_download.wav"/>
<prompt phrase="" filename=""/>
<prompt phrase="" filename=""/>
<prompt phrase="" filename=""/>
@ -599,6 +619,7 @@
<prompt phrase="OSTAG is advancing the next generation of telephony through open-source software. Learn more at www.ostag.org." filename="misc-ostag_learn_more.wav"/>
<prompt phrase="Everyone is koo koo for CudaTel!" filename="misc-koo_koo_for_cudatel.wav"/>
<prompt phrase="I'm pretty sure CudaTel's patented Automagicatronical configuration takes care of it." filename="misc-cudatel_automagicatronical.wav"/>
<prompt phrase="Thank you for calling the CudaTel test system." filename="misc-cudatel_test_system.wav"/>
</misc>
<zrtp>
<!-- base256 prompts for SAS -->