Bug fixed for hold_music for ring groups

This commit is contained in:
FusionPBX 2023-04-04 13:53:26 -06:00 committed by GitHub
parent 88da43b924
commit 005cd93c3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View File

@ -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