working on moh fhs

This commit is contained in:
Richard Neese 2014-10-25 20:21:07 +00:00
parent f1343562c8
commit 6b0468c022
1 changed files with 3 additions and 2 deletions

View File

@ -46,8 +46,9 @@ require_once "resources/paging.php";
$sampling_rate_dirs = Array(8000, 16000, 32000, 48000);
if (file_exists('/var/lib/fusionpbx/sounds/music')) {
$music_on_hold_dir = $_SESSION['switch']['sounds']['dir'].'/music/fusionpbx';
else
$music_on_hold_dir = $_SESSION['switch']['sounds']['dir'].'/music/fusionpbx';
}
else {
$music_on_hold_dir = $_SESSION['switch']['sounds']['dir'].'/music';
}
ini_set(max_execution_time,7200);