Fix call center agent call recording
Issue was caused by xml sanitize and this change allows using strftime.
This commit is contained in:
parent
719912f453
commit
503b59267e
|
|
@ -247,6 +247,9 @@
|
|||
--sanitize the agent_contact and allow specific variables
|
||||
agent_contact = xml.sanitize(agent_contact);
|
||||
agent_contact = string.gsub(agent_contact, "{caller_destination}", "${caller_destination}");
|
||||
agent_contact = string.gsub(agent_contact, "{strftime", "${strftime");
|
||||
agent_contact = string.gsub(agent_contact, "{uuid}", "${uuid}");
|
||||
agent_contact = string.gsub(agent_contact, "{record_ext}", "${record_ext}");
|
||||
|
||||
--build the xml string
|
||||
xml:append([[ <agent ]]);
|
||||
|
|
|
|||
Loading…
Reference in New Issue