diff --git a/app/gateways/app_config.php b/app/gateways/app_config.php index 8cddfbb9c4..53a71dd355 100644 --- a/app/gateways/app_config.php +++ b/app/gateways/app_config.php @@ -5,7 +5,7 @@ $apps[$x]['uuid'] = "297ab33e-2c2f-8196-552c-f3567d2caaf8"; $apps[$x]['category'] = "Switch";; $apps[$x]['subcategory'] = ""; - $apps[$x]['version'] = "1.0"; + $apps[$x]['version'] = "1.1"; $apps[$x]['license'] = "Mozilla Public License 1.1"; $apps[$x]['url'] = "http://www.fusionpbx.com"; $apps[$x]['description']['en-us'] = "Gateways provide access into other voice networks. These can be voice providers or other systems that require SIP registration."; @@ -205,6 +205,10 @@ $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; $z++; + $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_in_ping"; + $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; + $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; + $z++; $apps[$x]['db'][$y]['fields'][$z]['name'] = "caller_id_in_from"; $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; diff --git a/app/gateways/app_languages.php b/app/gateways/app_languages.php index 75a4823a4f..262aee33c6 100644 --- a/app/gateways/app_languages.php +++ b/app/gateways/app_languages.php @@ -1,5 +1,4 @@ - Portions created by the Initial Developer are Copyright (C) 2008-2020 + Portions created by the Initial Developer are Copyright (C) 2008-2022 the Initial Developer. All Rights Reserved. Contributor(s): @@ -96,6 +96,7 @@ $ping = $_POST["ping"]; $ping_min = $_POST["ping_min"]; $ping_max = $_POST["ping_max"]; + $contact_in_ping = $_POST["contact_in_ping"]; $channels = $_POST["channels"]; $caller_id_in_from = $_POST["caller_id_in_from"]; $supress_cng = $_POST["supress_cng"]; @@ -182,6 +183,7 @@ $array['gateways'][$x]["ping"] = $ping; $array['gateways'][$x]["ping_min"] = $ping_min; $array['gateways'][$x]["ping_max"] = $ping_max; + $array['gateways'][$x]["contact_in_ping"] = $contact_in_ping; $array['gateways'][$x]["channels"] = $channels; $array['gateways'][$x]["caller_id_in_from"] = $caller_id_in_from; $array['gateways'][$x]["supress_cng"] = $supress_cng; @@ -285,6 +287,7 @@ $ping = $row["ping"]; $ping_min = $row["ping_min"]; $ping_max = $row["ping_max"]; + $contact_in_ping = $row["contact_in_ping"]; $channels = $row["channels"]; $caller_id_in_from = $row["caller_id_in_from"]; $supress_cng = $row["supress_cng"]; @@ -734,6 +737,31 @@ echo "\n"; echo "\n"; + echo "