Fix the xml handler nil error for number_alias and fix some indentation.
This commit is contained in:
parent
faa31d681b
commit
593c063602
|
|
@ -381,9 +381,6 @@
|
|||
table.insert(xml, [[ <variable name="domain_uuid" value="]] .. domain_uuid .. [["/>]]);
|
||||
table.insert(xml, [[ <variable name="domain_name" value="]] .. domain_name .. [["/>]]);
|
||||
table.insert(xml, [[ <variable name="extension_uuid" value="]] .. extension_uuid .. [["/>]]);
|
||||
if (string.len(number_alias) > 0) then
|
||||
table.insert(xml, [[ <variable name="number-alias" value="]] .. number_alias .. [["/>]]);
|
||||
end
|
||||
--table.insert(xml, [[ <variable name="call_timeout" value="]] .. call_timeout .. [["/>]]);
|
||||
table.insert(xml, [[ <variable name="caller_id_name" value="]] .. sip_from_user .. [["/>]]);
|
||||
table.insert(xml, [[ <variable name="caller_id_number" value="]] .. sip_from_user .. [["/>]]);
|
||||
|
|
|
|||
Loading…
Reference in New Issue