[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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

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