Update ivr_menu_edit.php

Change the ivr_menu_ringback to default back to the original default of music on hold.
This commit is contained in:
FusionPBX 2016-06-19 09:39:47 -06:00 committed by GitHub
parent 7c8c6c99d0
commit 086650f7c9
1 changed files with 3 additions and 4 deletions

View File

@ -306,12 +306,11 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
}
}
unset ($prep_statement);
}else{
$ivr_menu_ringback = 'default_ringback';
}
//set defaults
//set the defaults
if (strlen($ivr_menu_timeout) == 0) { $ivr_menu_timeout = '3000'; }
if (strlen($ivr_menu_ringback) == 0) { $ivr_menu_ringback = 'local_stream://default'; }
if (strlen($ivr_menu_invalid_sound) == 0) { $ivr_menu_invalid_sound = 'ivr/ivr-that_was_an_invalid_entry.wav'; }
//if (strlen($ivr_menu_confirm_key) == 0) { $ivr_menu_confirm_key = '#'; }
if (strlen($ivr_menu_tts_engine) == 0) { $ivr_menu_tts_engine = 'flite'; }
@ -1174,4 +1173,4 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
//include the footer
require_once "resources/footer.php";
?>
?>