diff --git a/conf/dialplan/default.xml b/conf/dialplan/default.xml index f8a644fc5a..5fb85b3d3b 100644 --- a/conf/dialplan/default.xml +++ b/conf/dialplan/default.xml @@ -210,6 +210,8 @@ <!-- a sample IVR --> <extension name="ivr_demo"> <condition field="destination_number" expression="5000"> + <action application="answer"/> + <action application="sleep" data="2000"/> <action application="ivr" data="demo_ivr"/> </condition> </extension> diff --git a/conf/lang/en/demo/demo-ivr.xml b/conf/lang/en/demo/demo-ivr.xml index baa62b25b3..9991ae82de 100644 --- a/conf/lang/en/demo/demo-ivr.xml +++ b/conf/lang/en/demo/demo-ivr.xml @@ -15,8 +15,6 @@ <input pattern="(.*)"> <match> <!-- string together several existing sound files to create one long greeting --> - <action function="execute" data="answer"/> - <action function="execute" data="sleep(1000)"/> <action function="play-file" data="ivr/ivr-welcome_to_freeswitch.wav"/> <action function="execute" data="sleep(250)"/> <action function="play-file" data="ivr/ivr-this_ivr_will_let_you_test_features.wav"/> diff --git a/conf/lang/en/en.xml b/conf/lang/en/en.xml index 580dca3fb4..4f043cb07c 100644 --- a/conf/lang/en/en.xml +++ b/conf/lang/en/en.xml @@ -1,6 +1,6 @@ <include> <language name="en" sound-path="$${base_dir}/sounds/en/us/callie" tts-engine="cepstral" tts-voice="callie"> - <X-PRE-PROCESS cmd="include" data="demo/demo*.xml"/> <!-- Note: this now grabs whole subdir, previously grabbed only demo.xml --> + <X-PRE-PROCESS cmd="include" data="demo/*.xml"/> <!-- Note: this now grabs whole subdir, previously grabbed only demo.xml --> <!--voicemail_en_tts is purely implemented with tts, we need a files based implementation too --> <X-PRE-PROCESS cmd="include" data="vm/sounds.xml"/> </language>