Update sip_status.php

Just use the gateway name when its global and @domain_name when its assigned to a domain.
This commit is contained in:
FusionPBX
2016-06-30 09:53:18 -06:00
committed by GitHub
parent 5192229436
commit bbfdd2f789

View File

@@ -182,7 +182,7 @@ if ($_GET['a'] == "download") {
echo "<a href='".PROJECT_PATH."/app/gateways/gateway_edit.php?id=".strtolower($row->name)."'>".$gateway_name."@".$gateway_domain_name."</a>";
}
elseif ($gateway_domain_name == '') {
echo $gateway_name."@(Global)";
echo $gateway_name;
else {
echo $gateway_name."@".$gateway_domain_name;
}
@@ -323,4 +323,4 @@ if ($_GET['a'] == "download") {
//include the footer
require_once "resources/footer.php";
?>
?>