mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-20 15:38:29 +00:00
Update music_on_hold.php
Since using the UUID for the music on hold name in FreeSWITCH adding the domain name as a prefix and rate are no longer needed.
This commit is contained in:
@@ -185,12 +185,6 @@
|
||||
//new name
|
||||
if ($moh_new_name) {
|
||||
$music_on_hold_name = $moh_name_only;
|
||||
if ($moh_scope != 'global' ) {
|
||||
$music_on_hold_name = path_join($_SESSION['domain_name'], $music_on_hold_name);
|
||||
}
|
||||
if (!$moh_rate_auto) {
|
||||
$music_on_hold_name = path_join($music_on_hold_name, $moh_rate);
|
||||
}
|
||||
$music_on_hold_path = str_replace($_SESSION['switch']['sounds']['dir'], '$${sounds_dir}', $moh_path);
|
||||
$sql .= "( ";
|
||||
$sql .= "'".$music_on_hold_uuid."',";
|
||||
|
||||
Reference in New Issue
Block a user