Add a delay to the agent status.

This commit is contained in:
FusionPBX
2020-08-25 14:11:29 -06:00
committed by GitHub
parent e76d959bf5
commit 399366d18d

View File

@@ -135,7 +135,7 @@
end
--send a login or logout to mod_callcenter
cmd = "callcenter_config agent set status "..agent_uuid.." '"..status.."'";
cmd = "sched_api +5 none callcenter_config agent set status "..agent_uuid.." '"..status.."'";
freeswitch.consoleLog("notice", "[user status][login] "..cmd.."\n");
result = api:executeString(cmd);