Add caller_destination to allowed variables
This commit is contained in:
parent
be652845cc
commit
e0bb35b63b
|
|
@ -125,9 +125,11 @@ require "resources.functions.format_ringback"
|
|||
queue_record_template = string.gsub(queue_record_template, "{uuid}", "${uuid}");
|
||||
queue_record_template = string.gsub(queue_record_template, "{record_ext}", "${record_ext}");
|
||||
queue_record_template = string.gsub(queue_record_template, "{caller_id_number}", "${caller_id_number}");
|
||||
queue_record_template = string.gsub(queue_record_template, "{caller_destination}", "${caller_destination}");
|
||||
queue_record_template = string.gsub(queue_record_template, "{sip_from_user}", "${sip_from_user}");
|
||||
queue_record_template = string.gsub(queue_record_template, "{sip_to_user}", "${sip_to_user}");
|
||||
queue_record_template = string.gsub(queue_record_template, "{sip_req_user}", "${sip_req_user}");
|
||||
|
||||
|
||||
--start the xml
|
||||
xml:append([[ <queue name="]] .. xml.sanitize(queue_extension) .. [[@]] .. xml.sanitize(domain_name) .. [[" label="]] .. xml.sanitize(queue_name) .. [[@]] .. xml.sanitize(domain_name) .. [[">]]);
|
||||
|
|
|
|||
Loading…
Reference in New Issue