Update sofia.conf.lua
This commit is contained in:
parent
543a555471
commit
24fb954811
|
|
@ -210,12 +210,14 @@
|
|||
if (string.len(field.supress_cng) > 0) then
|
||||
table.insert(xml, [[ <param name="supress-cng" value="]] .. field.supress_cng .. [["/>]]);
|
||||
end
|
||||
if (string.len(field.sip_cid_type) > 0) then
|
||||
table.insert(xml, [[ <param name="sip_cid_type" value="]] .. field.sip_cid_type .. [["/>]]);
|
||||
end
|
||||
if (string.len(field.extension_in_contact) > 0) then
|
||||
table.insert(xml, [[ <param name="extension-in-contact" value="]] .. field.extension_in_contact .. [["/>]]);
|
||||
end
|
||||
table.insert(xml, [[ <variables>]]);
|
||||
if (string.len(field.sip_cid_type) > 0) then
|
||||
table.insert(xml, [[ <param name="sip_cid_type" value="]] .. field.sip_cid_type .. [["/>]]);
|
||||
end
|
||||
table.insert(xml, [[ </variables>]]);
|
||||
table.insert(xml, [[ </gateway>]]);
|
||||
end)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue