mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-02-17 00:25:03 +00:00
Add contact_in_ping to Gateways (#6439)
* Add contact_in_ping to Gateways * Update gateway_edit.php * Update gateways.php * Update app_languages.php * Update sofia.conf.lua
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
-- xml_handler.lua
|
||||
-- Part of FusionPBX
|
||||
-- Copyright (C) 2013 - 2018 Mark J Crane <markjcrane@fusionpbx.com>
|
||||
-- Copyright (C) 2013 - 2022 Mark J Crane <markjcrane@fusionpbx.com>
|
||||
-- All rights reserved.
|
||||
--
|
||||
-- Redistribution and use in source and binary forms, with or without
|
||||
@@ -193,6 +193,9 @@
|
||||
if (string.len(field.ping_max) > 0) then
|
||||
table.insert(xml, [[ <param name="ping-max" value="]] .. field.ping_max .. [["/>]]);
|
||||
end
|
||||
if (string.len(field.contact_in_ping) > 0) then
|
||||
table.insert(xml, [[ <param name="contact-in-ping" value="]] .. field.contact_in_ping .. [["/>]]);
|
||||
end
|
||||
if (string.len(field.context) > 0) then
|
||||
table.insert(xml, [[ <param name="context" value="]] .. field.context .. [["/>]]);
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user