Bug fixed for hold_music for ring groups
This commit is contained in:
@@ -162,7 +162,6 @@
|
|||||||
call_direction = session:getVariable("call_direction");
|
call_direction = session:getVariable("call_direction");
|
||||||
accountcode = session:getVariable("accountcode");
|
accountcode = session:getVariable("accountcode");
|
||||||
local_ip_v4 = session:getVariable("local_ip_v4")
|
local_ip_v4 = session:getVariable("local_ip_v4")
|
||||||
hold_music = session:getVariable("hold_music");
|
|
||||||
end
|
end
|
||||||
|
|
||||||
--set caller id
|
--set caller id
|
||||||
@@ -814,10 +813,10 @@
|
|||||||
extension_uuid = trim(api:executeString(cmd));
|
extension_uuid = trim(api:executeString(cmd));
|
||||||
|
|
||||||
--set hold music
|
--set hold music
|
||||||
if (hold_music == nil) then
|
if (session:getVariable("hold_music") == nil) then
|
||||||
hold_music = '';
|
hold_music = '';
|
||||||
else
|
else
|
||||||
hold_music = ",hold_music="..hold_music;
|
hold_music = ",hold_music="..session:getVariable("hold_music");
|
||||||
end
|
end
|
||||||
|
|
||||||
--send to user
|
--send to user
|
||||||
|
|||||||
Reference in New Issue
Block a user