mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 03:33:49 +00:00
working on fixing moh with mark for playing in the gui and on moh
This commit is contained in:
@@ -47,8 +47,8 @@ else {
|
||||
|
||||
//set the music on hold directory
|
||||
$sampling_rate_dirs = Array(8000, 16000, 32000, 48000);
|
||||
if (file_exists('/var/lib/fusionpbx/sounds/music/default')) {
|
||||
$music_on_hold_dir = $_SESSION['switch']['sounds']['dir'].'/music/fusionpbx/default';
|
||||
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';
|
||||
|
||||
Reference in New Issue
Block a user