forked from Mirrors/freeswitch
05a73345b9
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8019 d0543943-73ff-0310-b7d9-9358b9ac24b2
48 lines
2.1 KiB
XML
48 lines
2.1 KiB
XML
<configuration name="ivr.conf" description="IVR menus">
|
|
<menus>
|
|
<!-- demo IVR setup -->
|
|
<!-- demo IVR, Main Menu -->
|
|
<menu name="demo_ivr"
|
|
greet-long="phrase:demo_ivr_main_menu"
|
|
greet-short="phrase:demo_ivr_main_menu_short""
|
|
invalid-sound="voicemail/vm-hello.wav"
|
|
exit-sound="voicemail/vm-goodbye.wav"
|
|
timeout ="15"
|
|
max-failures="3">
|
|
<entry action="menu-exec-app" digits="1" param="bridge sofia/$${domain}/888@conference.freeswtich.org"/>
|
|
<entry action="menu-call-transfer" digits="2" param="9996"/> <!-- FS echo -->
|
|
<entry action="menu-call-transfer" digits="3" param="9999"/> <!-- MOH -->
|
|
<entry action="menu-sub" digits="4" param="demo_ivr_submenu"/> <!-- demo sub menu -->
|
|
<entry action="menu-call-transfer" digits="5" param="1234*256"/> <!-- Screaming monkeys -->
|
|
<entry action="menu-top" digits="9" param="demo_ivr"/> <!-- Repeat this menu -->
|
|
</menu>
|
|
|
|
<!-- Demo IVR, Sub Menu -->
|
|
<menu name="demo_ivr_submenu"
|
|
greet-long="phrase:demo_ivr_sub_menu"
|
|
greet-short="phrase:demo_ivr_sub_menu_short"
|
|
invalid-sound="voicemail/vm-hello.wav"
|
|
exit-sound="voicemail/vm-goodbye.wav" timeout="15"
|
|
max-failures="3">
|
|
<entry action="menu-top" digits="*"/>
|
|
</menu>
|
|
</menus>
|
|
</configuration>
|
|
|
|
|
|
<!-- TTS sample; non-functional but it demonstrates say: and TTS -->
|
|
<!--
|
|
<menu name="demo3"
|
|
greet-long="say:Press 1 to join the conference, Press 2 to join the other conference"
|
|
greet-short="say:Press 1 to join the conference, Press 2 to join the other conference"
|
|
invalid-sound="say:invalid extension"
|
|
exit-sound="say:exit sound" timeout ="15"
|
|
max-failures="3"
|
|
tts-voice="callie" tts-engine="cepstral">
|
|
<entry action="menu-exit" digits="*"/>
|
|
<entry action="menu-say-text" digits="1" param="You pressed 1"/>
|
|
<entry action="menu-call-transfer" digits="2" param="1000"/>
|
|
<entry action="menu-call-transfer" digits="3" param="1001"/>
|
|
</menu>
|
|
-->
|