Update callcenter.conf.lua

This commit is contained in:
FusionPBX 2019-11-11 17:38:10 -07:00 committed by GitHub
parent 345992f84a
commit f097c13ab1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -212,7 +212,7 @@
pos = string.find(agent_contact, "}");
first = string.sub(agent_contact, 0, pos);
last = string.sub(agent_contact, pos);
if (stristr(agent_contact, 'call_timeout') == FALSE) then
if (string.find(agent_contact, 'call_timeout') == nil) then
--add the call_timeout and confirm
agent_contact = first..','..confirm..',call_timeout='..agent_call_timeout..last;
else