Added Agents count on server page

git-svn-id: svn://192.168.202.10@2725 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2017-04-07 11:54:13 +00:00
parent b8ec8cd2bc
commit 5ebad5b39c
3 changed files with 65 additions and 8 deletions
+1 -1
View File
@@ -193,7 +193,7 @@ function user_authorization($user,$pass,$user_option,$user_update,$bcrypt,$retur
if ( (preg_match("/MXAG/",$SShosted_settings)) and ($mvla_total < 1) ) if ( (preg_match("/MXAG/",$SShosted_settings)) and ($mvla_total < 1) )
{ {
$vla_set = $SShosted_settings; $vla_set = $SShosted_settings;
$vla_set = preg_replace("/.*MXAG|_BUILD_|DRA| /",'',$vla_set); $vla_set = preg_replace("/.*MXAG|_BUILD_|DRA|_MXCS\d+|_MXTR\d+| /",'',$vla_set);
$vla_set = preg_replace('/[^0-9]/','',$vla_set); $vla_set = preg_replace('/[^0-9]/','',$vla_set);
if (strlen($vla_set)>0) if (strlen($vla_set)>0)
{$vla_on++;} {$vla_on++;}
+62 -6
View File
File diff suppressed because one or more lines are too long
+2 -1
View File
@@ -119,6 +119,7 @@
# 170322-1720 - Added filter-phone-list entry # 170322-1720 - Added filter-phone-list entry
# 170326-1135 - Added drop lists entries # 170326-1135 - Added drop lists entries
# 170327-1649 - updated the campaigns-use_custom_cid entry # 170327-1649 - updated the campaigns-use_custom_cid entry
# 170407-0745 - Added Agents count on server page
# #
@@ -4625,7 +4626,7 @@ if ($SSoutbound_autodial_active > 0)
<BR> <BR>
<A NAME="servers-channels_total"> <A NAME="servers-channels_total">
<BR> <BR>
<B><?php echo _QXZ("Live Channels"); ?> -</B><?php echo _QXZ("This field shows the current number of Asterisk channels that are live on the system right now. It is important to note that the number of Asterisk channels is usually much higher than the number of actual calls on a system. This field is updated once every minute."); ?> <B><?php echo _QXZ("Live Channels"); ?> -</B><?php echo _QXZ("This field shows the current number of Asterisk channels that are live on the system right now. It is important to note that the number of Asterisk channels is usually much higher than the number of actual calls on a system. This field is updated once every minute.") . ' ' . _QXZ("The Agents field shows the current number of agents logged into the agent screen on this server."); ?>
<BR> <BR>
<A NAME="servers-disk_usage"> <A NAME="servers-disk_usage">