[call_center] Add uuid to lamp turn (#6518)

Agent log out from queue would have delayed lamp turn off.
Solution credit:
https://www.pbxforums.com/threads/agent-status-blf.549/page-2#post-11458
This commit is contained in:
yois615
2022-12-31 13:46:58 -05:00
committed by GitHub
parent 967445ab34
commit 885c950a15

View File

@@ -204,7 +204,8 @@
end
if string.find(agent_name, 'agent+', nil, true) ~= 1 then
presence_in.turn_lamp( blf_status,
'agent+'..agent_name.."@"..domain_name
'agent+'..agent_name.."@"..domain_name,
uuid
);
end
end