Add contact-params (#6545)
Adding contact params for control over this setting.
This commit is contained in:
@@ -94,6 +94,7 @@
|
||||
$expire_seconds = $_POST["expire_seconds"];
|
||||
$register = $_POST["register"];
|
||||
$register_transport = $_POST["register_transport"];
|
||||
$contact_params = $_POST["contact_params"];
|
||||
$retry_seconds = $_POST["retry_seconds"];
|
||||
$extension = $_POST["extension"];
|
||||
$ping = $_POST["ping"];
|
||||
@@ -181,6 +182,7 @@
|
||||
$array['gateways'][$x]["expire_seconds"] = $expire_seconds;
|
||||
$array['gateways'][$x]["register"] = $register;
|
||||
$array['gateways'][$x]["register_transport"] = $register_transport;
|
||||
$array['gateways'][$x]["contact_params"] = $contact_params;
|
||||
$array['gateways'][$x]["retry_seconds"] = $retry_seconds;
|
||||
$array['gateways'][$x]["extension"] = $extension;
|
||||
$array['gateways'][$x]["ping"] = $ping;
|
||||
@@ -285,6 +287,7 @@
|
||||
$expire_seconds = $row["expire_seconds"];
|
||||
$register = $row["register"];
|
||||
$register_transport = $row["register_transport"];
|
||||
$contact_params = $row["contact_params"];
|
||||
$retry_seconds = $row["retry_seconds"];
|
||||
$extension = $row["extension"];
|
||||
$ping = $row["ping"];
|
||||
@@ -588,6 +591,17 @@
|
||||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
|
||||
echo "<tr>\n";
|
||||
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
|
||||
echo " ".$text['label-contact_params']."\n";
|
||||
echo "</td>\n";
|
||||
echo "<td class='vtable' align='left'>\n";
|
||||
echo " <input class='formfld' type='text' name='contact_params' maxlength='255' value=\"".escape($contact_params)."\">\n";
|
||||
echo "<br />\n";
|
||||
echo $text['description-contact_params']."\n";
|
||||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
|
||||
echo "<tr>\n";
|
||||
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
|
||||
echo " ".$text['label-register_proxy']."\n";
|
||||
|
||||
Reference in New Issue
Block a user