mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Remove the redundant local_stream://
This commit is contained in:
@@ -2782,7 +2782,7 @@ if (!function_exists('save_call_center_xml')) {
|
||||
}
|
||||
else {
|
||||
if (substr($queue_moh_sound, 0, 15) == 'local_stream://') {
|
||||
$v_queues .= " <param name=\"moh-sound\" value=\"local_stream://".$queue_moh_sound."\"/>\n";
|
||||
$v_queues .= " <param name=\"moh-sound\" value=\"".$queue_moh_sound."\"/>\n";
|
||||
}
|
||||
elseif (substr($queue_moh_sound, 0, 2) == '${' && substr($queue_moh_sound, -5) == 'ring}') {
|
||||
$v_queues .= " <param name=\"moh-sound\" value=\"tone_stream://".$queue_moh_sound.";loops=-1\"/>\n";
|
||||
|
||||
Reference in New Issue
Block a user