Added Agent, Carrier and Preset options.php settings for realtime report

git-svn-id: svn://192.168.202.10@1625 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2011-03-17 02:31:53 +00:00
parent cd96140c45
commit f42e7d7213
2 changed files with 22 additions and 2 deletions
+3
View File
@@ -44,6 +44,9 @@ $RS_PHONEdisplay = 0; # 0=no, 1=yes
$RS_CUSTPHONEdisplay = 0; # 0=no, 1=yes
$RS_PAUSEcodes = 'N';
$RS_with_inbound = 'Y';
$RS_CARRIERstats = 0; # 0=no, 1=yes
$RS_PRESETstats = 0; # 0=no, 1=yes
$RS_AGENTtimeSTATS = 0; # 0=no, 1=yes
# used by agent reports
$user_case = 0; # 1=upper-case, 2-lower-case, 0-no-case-change
+19 -2
View File
@@ -16,10 +16,11 @@
# 110111-1557 - Added options.php options, minor bug fixes
# 110113-1736 - Small fix
# 110303-2124 - Added agent on-hook phone indication and RING status and color
# 110316-2216 - Added Agent, Carrier and Preset options.php settings
#
$version = '2.4-5';
$build = '110303-2124';
$version = '2.4-6';
$build = '110316-2216';
header ("Content-type: text/html; charset=utf-8");
@@ -200,6 +201,22 @@ if (!isset($with_inbound))
}
else {$with_inbound = $RS_with_inbound;}
}
if (!isset($CARRIERstats))
{
if (!isset($RS_CARRIERstats)) {$CARRIERstats='0';}
else {$CARRIERstats = $RS_CARRIERstats;}
}
if (!isset($PRESETstats))
{
if (!isset($RS_PRESETstats)) {$PRESETstats='0';}
else {$PRESETstats = $RS_PRESETstats;}
}
if (!isset($AGENTtimeSTATS))
{
if (!isset($RS_AGENTtimeSTATS)) {$AGENTtimeSTATS='0';}
else {$AGENTtimeSTATS = $RS_AGENTtimeSTATS;}
}
$ingroup_detail='';
if ( (strlen($group)>1) and (strlen($groups[0])<1) ) {$groups[0] = $group;}