Update callcenter.conf.lua (#5326)

updated unused variable/typo
This commit is contained in:
Len 2020-07-02 20:37:41 -04:00 committed by GitHub
parent fa7bb2a781
commit ff1477e2ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -197,7 +197,7 @@
--add the call_timeout
pos = string.find(agent_contact, "}");
first = string.sub(agent_contact, 0, pos);
last = string.sub(agent_contact, tmp_pos);
last = string.sub(agent_contact, pos);
agent_contact = first..[[,sip_h_caller_destination=${caller_destination},call_timeout=]]..agent_call_timeout..last;
else
--the string has the call timeout