diff --git a/admin/voipmonitor.php b/admin/voipmonitor.php index 7cd081cd..cf9603f0 100644 --- a/admin/voipmonitor.php +++ b/admin/voipmonitor.php @@ -63,7 +63,12 @@ $p = is_process_running(); if ($p) { if (isset($_GET['kill'])) - kill_process($p); + { + if ($_GET['kill'] == "force") + end_process($p); + else + kill_process($p); + } xhtml_head(T_("Monitor VoIP Process"),true,false,false,false,10,true); @@ -72,9 +77,14 @@ if ($p) print "
" . T_("Process is already closed (eg. server was rebooted) - click here to confirm") . "
"; + } else + { print "" . T_("Kill the running process") . " ". T_("(requires activity on the VoIP Server to take effect)") . "
"; + } print process_get_data($p); }