Change the directory.lua xml parameter from sip_force_contact to sip-force-contact.
This commit is contained in:
@@ -437,7 +437,7 @@
|
|||||||
table.insert(xml, [[ <variable name="limit_destination" value="]] .. limit_destination .. [["/>]]);
|
table.insert(xml, [[ <variable name="limit_destination" value="]] .. limit_destination .. [["/>]]);
|
||||||
end
|
end
|
||||||
if (string.len(sip_force_contact) > 0) then
|
if (string.len(sip_force_contact) > 0) then
|
||||||
table.insert(xml, [[ <variable name="sip_force_contact" value="]] .. sip_force_contact .. [["/>]]);
|
table.insert(xml, [[ <variable name="sip-force-contact" value="]] .. sip_force_contact .. [["/>]]);
|
||||||
end
|
end
|
||||||
if (string.len(sip_force_expires) > 0) then
|
if (string.len(sip_force_expires) > 0) then
|
||||||
table.insert(xml, [[ <variable name="sip-force-expires" value="]] .. sip_force_expires .. [["/>]]);
|
table.insert(xml, [[ <variable name="sip-force-expires" value="]] .. sip_force_expires .. [["/>]]);
|
||||||
|
|||||||
Reference in New Issue
Block a user