From 5d812fa968ed8ac6518fd20c14075d5e68277087 Mon Sep 17 00:00:00 2001 From: Adam Zammit Date: Tue, 26 Nov 2013 11:49:06 +1100 Subject: [PATCH] Added extension to status screen --- status.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/status.php b/status.php index 08246e19..30781bc7 100644 --- a/status.php +++ b/status.php @@ -84,7 +84,7 @@ print "
" . get_operator_time($operator_id,DATE_TIME_FORMAT) ." if (is_voip_enabled($operator_id)) { - $ext = get_extension($operator_id); + $ext = get_extension($operator_id); $exta = $ext; //Get just the start of the extension for auto dial out $exts = explode('/', $ext, 2); @@ -94,7 +94,9 @@ if (is_voip_enabled($operator_id)) if (get_extension_status($operator_id)) print "
" . T_("VoIP On") . "
"; else - print ""; + print ""; + + print "
" . T_("Extension") . ": $ext
"; } else print "
" . T_("No VoIP") . "
";