mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 09:03:49 +00:00
Bug fixed for hold_music for ring groups
This commit is contained in:
@@ -162,7 +162,6 @@
|
||||
call_direction = session:getVariable("call_direction");
|
||||
accountcode = session:getVariable("accountcode");
|
||||
local_ip_v4 = session:getVariable("local_ip_v4")
|
||||
hold_music = session:getVariable("hold_music");
|
||||
end
|
||||
|
||||
--set caller id
|
||||
@@ -814,10 +813,10 @@
|
||||
extension_uuid = trim(api:executeString(cmd));
|
||||
|
||||
--set hold music
|
||||
if (hold_music == nil) then
|
||||
if (session:getVariable("hold_music") == nil) then
|
||||
hold_music = '';
|
||||
else
|
||||
hold_music = ",hold_music="..hold_music;
|
||||
hold_music = ",hold_music="..session:getVariable("hold_music");
|
||||
end
|
||||
|
||||
--send to user
|
||||
|
||||
Reference in New Issue
Block a user