added phrase to translations
added date chooser to timeclock detail and IVR reports added 3-WAY status to Real-time report changed AGENTDIRECT selection to a separate link instead of clicking on number-to-dial field git-svn-id: svn://192.168.202.10@1353 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
* Changed Meetme Sounds in Asterisk 2007-07-27
|
* Changed Meetme Sounds in Asterisk 2007-07-27
|
||||||
|
|
||||||
|
|
||||||
For some reason, possibly effeciency, the enter and leave sounds that you hear in standard Asterisk meetme rooms are actually hex dumps of RAW ULAW 8bit audio that have been compiled into the code of Asterisk in a header file. This makes them somewhat difficult to change, especially since there are no instructions.
|
For some reason, possibly efficiency, the enter and leave sounds that you hear in standard Asterisk meetme rooms are actually hex dumps of RAW ULAW 8bit audio that have been compiled into the code of Asterisk in a header file. This makes them somewhat difficult to change, especially since there are no instructions.
|
||||||
|
|
||||||
This should slightly reduce time that it takes for calls to get to agents, as well as reduce the time of the locks that occur when these sounds are played in Asterisk. The new enter and leave sounds I include with VICIDIAL are 0.12 and 0.13 seconds respectively as compared to the default sounds which are more than double that.
|
This should slightly reduce time that it takes for calls to get to agents, as well as reduce the time of the locks that occur when these sounds are played in Asterisk. The new enter and leave sounds I include with VICIDIAL are 0.12 and 0.13 seconds respectively as compared to the default sounds which are more than double that.
|
||||||
|
|
||||||
@@ -26,7 +26,7 @@ Here are the steps I went to to change the meetme enter and leave sounds:
|
|||||||
00000020 5d 66 60 51 6c 5f 3e 4d 59 47 72 e4 52 53 58 48 |]f`Ql_>MYGräRSXH|
|
00000020 5d 66 60 51 6c 5f 3e 4d 59 47 72 e4 52 53 58 48 |]f`Ql_>MYGräRSXH|
|
||||||
|
|
||||||
|
|
||||||
4. Used favorite text edotor to format the data properly:
|
4. Used favorite text editor to format the data properly:
|
||||||
- 60 character length lines comma-space separated in the same format as enter.h and leave.h were in. Don't forget the header and footer to this raw hex audio, they are important
|
- 60 character length lines comma-space separated in the same format as enter.h and leave.h were in. Don't forget the header and footer to this raw hex audio, they are important
|
||||||
|
|
||||||
0xd6, 0xdc, 0x55, 0x5f, 0x63, 0x67, 0xf0, 0xf0, 0x74, 0x75,
|
0xd6, 0xdc, 0x55, 0x5f, 0x63, 0x67, 0xf0, 0xf0, 0x74, 0x75,
|
||||||
|
|||||||
@@ -483,3 +483,4 @@ has selected your in-group choices|foi selecionado o grupo de escolhas|
|
|||||||
CONSULTATIVE|CONSULTIVO|
|
CONSULTATIVE|CONSULTIVO|
|
||||||
Close Message|Fechar Mensagem|
|
Close Message|Fechar Mensagem|
|
||||||
TIMER NOTIFICATION|NOTIFICAÇÃO TIMER|
|
TIMER NOTIFICATION|NOTIFICAÇÃO TIMER|
|
||||||
|
>AGENTS<|>AGENTES<|
|
||||||
|
|||||||
@@ -489,3 +489,4 @@ has selected your in-group choices|hat Ihren in-group Entscheidungen|
|
|||||||
CONSULTATIVE|BERATENDE|
|
CONSULTATIVE|BERATENDE|
|
||||||
Close Message|Close Message|
|
Close Message|Close Message|
|
||||||
TIMER NOTIFICATION|Timer-Benachrichtigung|
|
TIMER NOTIFICATION|Timer-Benachrichtigung|
|
||||||
|
>AGENTS<|>Agenten<|
|
||||||
|
|||||||
@@ -479,3 +479,4 @@ has selected your in-group choices|έχει επιλέξει σε σας τις
|
|||||||
CONSULTATIVE|ΣΥΜΒΟΥΛΕΥΤΙΚΗ|
|
CONSULTATIVE|ΣΥΜΒΟΥΛΕΥΤΙΚΗ|
|
||||||
Close Message|Κλείσιμο Μήνυμα|
|
Close Message|Κλείσιμο Μήνυμα|
|
||||||
TIMER NOTIFICATION|TIMER ΚΟΙΝΟΠΟΙΗΣΗ|
|
TIMER NOTIFICATION|TIMER ΚΟΙΝΟΠΟΙΗΣΗ|
|
||||||
|
>AGENTS<|>πράκτορες<|
|
||||||
|
|||||||
@@ -486,3 +486,4 @@ CONSULTATIVE|CONSULTIVO|
|
|||||||
Close Message|Cerrar Mensaje|
|
Close Message|Cerrar Mensaje|
|
||||||
TIMER NOTIFICATION|NOTIFICACIÓN TIMER|
|
TIMER NOTIFICATION|NOTIFICACIÓN TIMER|
|
||||||
login_language=en_us|login_language=es_es|
|
login_language=en_us|login_language=es_es|
|
||||||
|
>AGENTS<|>AGENTES<|
|
||||||
|
|||||||
@@ -485,3 +485,4 @@ has selected your in-group choices|a sélectionné votre choix en groupe|
|
|||||||
CONSULTATIVE|CONSULTATIF|
|
CONSULTATIVE|CONSULTATIF|
|
||||||
Close Message|Fermer Message|
|
Close Message|Fermer Message|
|
||||||
TIMER NOTIFICATION|TIMER NOTIFICATION|
|
TIMER NOTIFICATION|TIMER NOTIFICATION|
|
||||||
|
>AGENTS<|>AGENTS<|
|
||||||
|
|||||||
@@ -501,3 +501,4 @@ has selected your in-group choices|ha selezionato le tue scelte per i gruppi inb
|
|||||||
CONSULTATIVE|CONSULTIVO|
|
CONSULTATIVE|CONSULTIVO|
|
||||||
Close Message|Chiudi Messaggio|
|
Close Message|Chiudi Messaggio|
|
||||||
TIMER NOTIFICATION|NOTIFICA TIMER|
|
TIMER NOTIFICATION|NOTIFICA TIMER|
|
||||||
|
>AGENTS<|>OPERATORI<|
|
||||||
|
|||||||
@@ -517,3 +517,4 @@ has selected your in-group choices|heeft gekozen uw in-groep keuzes|
|
|||||||
CONSULTATIVE|ADVIESGROEP|
|
CONSULTATIVE|ADVIESGROEP|
|
||||||
Close Message|Close Message|
|
Close Message|Close Message|
|
||||||
TIMER NOTIFICATION|TIMER AANMELDING|
|
TIMER NOTIFICATION|TIMER AANMELDING|
|
||||||
|
>AGENTS<|>agenten<|
|
||||||
|
|||||||
@@ -485,3 +485,4 @@ has selected your in-group choices|wybrał się w grupie-wybory|
|
|||||||
CONSULTATIVE|KONSULTACYJNA|
|
CONSULTATIVE|KONSULTACYJNA|
|
||||||
Close Message|Zamknij komunikat|
|
Close Message|Zamknij komunikat|
|
||||||
TIMER NOTIFICATION|ZAWIADOMIENIE TIMER|
|
TIMER NOTIFICATION|ZAWIADOMIENIE TIMER|
|
||||||
|
>AGENTS<|>agentów<|
|
||||||
|
|||||||
@@ -485,3 +485,4 @@ has selected your in-group choices|foi selecionado o grupo de escolhas|
|
|||||||
CONSULTATIVE|CONSULTIVO|
|
CONSULTATIVE|CONSULTIVO|
|
||||||
Close Message|Fechar Mensagem|
|
Close Message|Fechar Mensagem|
|
||||||
TIMER NOTIFICATION|NOTIFICAÇÃO TIMER|
|
TIMER NOTIFICATION|NOTIFICAÇÃO TIMER|
|
||||||
|
>AGENTS<|>AGENTES<|
|
||||||
|
|||||||
@@ -485,3 +485,4 @@ has selected your in-group choices|выбрал в вашей группе вы
|
|||||||
CONSULTATIVE|КОНСУЛЬТАТИВНЫЙ|
|
CONSULTATIVE|КОНСУЛЬТАТИВНЫЙ|
|
||||||
Close Message|Закрыть сообщение|
|
Close Message|Закрыть сообщение|
|
||||||
TIMER NOTIFICATION|ТАЙМЕР УВЕДОМЛЕНИЯ|
|
TIMER NOTIFICATION|ТАЙМЕР УВЕДОМЛЕНИЯ|
|
||||||
|
>AGENTS<|>агенты<|
|
||||||
|
|||||||
@@ -485,3 +485,4 @@ has selected your in-group choices|vybrala si v skupine-voľby|
|
|||||||
CONSULTATIVE|PORADNÝ|
|
CONSULTATIVE|PORADNÝ|
|
||||||
Close Message|Zavrieť správu|
|
Close Message|Zavrieť správu|
|
||||||
TIMER NOTIFICATION|TIMER OZNAM|
|
TIMER NOTIFICATION|TIMER OZNAM|
|
||||||
|
>AGENTS<|>AGENTI<|
|
||||||
|
|||||||
@@ -516,3 +516,4 @@ has selected your in-group choices|您的選擇組的選擇|
|
|||||||
CONSULTATIVE|協商|
|
CONSULTATIVE|協商|
|
||||||
Close Message|關閉消息|
|
Close Message|關閉消息|
|
||||||
TIMER NOTIFICATION|計時器通知|
|
TIMER NOTIFICATION|計時器通知|
|
||||||
|
>AGENTS<|>經營者<|
|
||||||
|
|||||||
@@ -233,10 +233,11 @@
|
|||||||
# 100113-1949 - Fixed dispo_choice bug and added dispo_status to dispo URL call
|
# 100113-1949 - Fixed dispo_choice bug and added dispo_status to dispo URL call
|
||||||
# 100202-2306 - Fixed logging issues related to INBOUND_MAN dial_method
|
# 100202-2306 - Fixed logging issues related to INBOUND_MAN dial_method
|
||||||
# 100207-1110 - Changed Pause Codes function to allow for multiple pause codes per pause period
|
# 100207-1110 - Changed Pause Codes function to allow for multiple pause codes per pause period
|
||||||
|
# 100301-1342 - Changed Available agents output for AGENTDIRECT selection
|
||||||
#
|
#
|
||||||
|
|
||||||
$version = '2.2.0-141';
|
$version = '2.2.0-142';
|
||||||
$build = '100207-1110';
|
$build = '100301-1342';
|
||||||
$mel=1; # Mysql Error Log enabled = 1
|
$mel=1; # Mysql Error Log enabled = 1
|
||||||
$mysql_log_count=309;
|
$mysql_log_count=309;
|
||||||
$one_mysql_log=0;
|
$one_mysql_log=0;
|
||||||
@@ -6354,10 +6355,7 @@ if ($ACTION == 'AGENTSview')
|
|||||||
}
|
}
|
||||||
echo "</TABLE><BR>\n";
|
echo "</TABLE><BR>\n";
|
||||||
echo "<font style=\"font-size:10px;font-family:sans-serif;\"><font style=\"background-color:#ADD8E6;\"> </font>-READY <font style=\"background-color:#D8BFD8;\"> </font>-INCALL <font style=\"background-color:#F0E68C;\"> </font>-PAUSED \n";
|
echo "<font style=\"font-size:10px;font-family:sans-serif;\"><font style=\"background-color:#ADD8E6;\"> </font>-READY <font style=\"background-color:#D8BFD8;\"> </font>-INCALL <font style=\"background-color:#F0E68C;\"> </font>-PAUSED \n";
|
||||||
if ($comments=='AgentXferViewSelect')
|
|
||||||
{
|
|
||||||
echo "<BR><BR><a href=\"#\" onclick=\"AgentsXferSelect('0','$comments');return false;\">Close Window</a> ";
|
|
||||||
}
|
|
||||||
echo "</font>\n";
|
echo "</font>\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -275,10 +275,11 @@
|
|||||||
# 100203-0640 - Fixed logging issues related to INBOUND_MAN dial method
|
# 100203-0640 - Fixed logging issues related to INBOUND_MAN dial method
|
||||||
# 100207-1109 - Changed Pause Codes function to allow for multiple pause codes per pause period
|
# 100207-1109 - Changed Pause Codes function to allow for multiple pause codes per pause period
|
||||||
# 100228-1257 - Fixed no-selected default transfer group issue on inbound calls
|
# 100228-1257 - Fixed no-selected default transfer group issue on inbound calls
|
||||||
|
# 100301-1329 - Changed AGENTDIRECT user selection launching to AGENTS link next to number-to-dial field
|
||||||
#
|
#
|
||||||
|
|
||||||
$version = '2.2.0-253';
|
$version = '2.2.0-254';
|
||||||
$build = '100228-1257';
|
$build = '100301-1329';
|
||||||
$mel=1; # Mysql Error Log enabled = 1
|
$mel=1; # Mysql Error Log enabled = 1
|
||||||
$mysql_log_count=64;
|
$mysql_log_count=64;
|
||||||
$one_mysql_log=0;
|
$one_mysql_log=0;
|
||||||
@@ -535,7 +536,7 @@ if ($campaign_login_list > 0)
|
|||||||
if ($VD_campaign)
|
if ($VD_campaign)
|
||||||
{
|
{
|
||||||
if ( (eregi("$VD_campaign",$rowx[0])) and (strlen($VD_campaign) == strlen($rowx[0])) )
|
if ( (eregi("$VD_campaign",$rowx[0])) and (strlen($VD_campaign) == strlen($rowx[0])) )
|
||||||
{$camp_form_code .= "<option value=\"$rowx[0]\" SELECTED>$rowx[0]$campname</option>\n";}
|
{$camp_form_code .= "<option value=\"$rowx[0]\" selected>$rowx[0]$campname</option>\n";}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (!ereg('login_allowable_campaigns',$camp_form_code))
|
if (!ereg('login_allowable_campaigns',$camp_form_code))
|
||||||
@@ -4741,12 +4742,12 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
|
|||||||
while (loop_ct < XFgroupCOUNT)
|
while (loop_ct < XFgroupCOUNT)
|
||||||
{
|
{
|
||||||
if (VARxfergroups[loop_ct] == LIVE_default_xfer_group)
|
if (VARxfergroups[loop_ct] == LIVE_default_xfer_group)
|
||||||
{XfeR_SelecT = 'SELECTED ';}
|
{XfeR_SelecT = 'selected ';}
|
||||||
else {XfeR_SelecT = '';}
|
else {XfeR_SelecT = '';}
|
||||||
live_XfeR_HTML = live_XfeR_HTML + "<option " + XfeR_SelecT + "value=\"" + VARxfergroups[loop_ct] + "\">" + VARxfergroups[loop_ct] + " - " + VARxfergroupsnames[loop_ct] + "</option>\n";
|
live_XfeR_HTML = live_XfeR_HTML + "<option " + XfeR_SelecT + "value=\"" + VARxfergroups[loop_ct] + "\">" + VARxfergroups[loop_ct] + " - " + VARxfergroupsnames[loop_ct] + "</option>\n";
|
||||||
loop_ct++;
|
loop_ct++;
|
||||||
}
|
}
|
||||||
document.getElementById("XfeRGrouPLisT").innerHTML = "<select size=1 name=XfeRGrouP class=\"cust_form\" id=XfeRGrouP>" + live_XfeR_HTML + "</select>";
|
document.getElementById("XfeRGrouPLisT").innerHTML = "<select size=1 name=XfeRGrouP id=XfeRGrouP class=\"cust_form\" onChange=\"XferAgentSelectLink();return false;\">" + live_XfeR_HTML + "</select>";
|
||||||
|
|
||||||
// INSERT VICIDIAL_LOG ENTRY FOR THIS CALL PROCESS
|
// INSERT VICIDIAL_LOG ENTRY FOR THIS CALL PROCESS
|
||||||
DialLog("start");
|
DialLog("start");
|
||||||
@@ -6630,12 +6631,12 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
|
|||||||
while (loop_ct < XFgroupCOUNT)
|
while (loop_ct < XFgroupCOUNT)
|
||||||
{
|
{
|
||||||
if (VARxfergroups[loop_ct] == LIVE_default_xfer_group)
|
if (VARxfergroups[loop_ct] == LIVE_default_xfer_group)
|
||||||
{XfeR_SelecT = 'SELECTED ';}
|
{XfeR_SelecT = 'selected ';}
|
||||||
else {XfeR_SelecT = '';}
|
else {XfeR_SelecT = '';}
|
||||||
live_XfeR_HTML = live_XfeR_HTML + "<option " + XfeR_SelecT + "value=\"" + VARxfergroups[loop_ct] + "\">" + VARxfergroups[loop_ct] + " - " + VARxfergroupsnames[loop_ct] + "</option>\n";
|
live_XfeR_HTML = live_XfeR_HTML + "<option " + XfeR_SelecT + "value=\"" + VARxfergroups[loop_ct] + "\">" + VARxfergroups[loop_ct] + " - " + VARxfergroupsnames[loop_ct] + "</option>\n";
|
||||||
loop_ct++;
|
loop_ct++;
|
||||||
}
|
}
|
||||||
document.getElementById("XfeRGrouPLisT").innerHTML = "<select size=1 name=XfeRGrouP class=\"cust_form\" id=XfeRGrouP>" + live_XfeR_HTML + "</select>";
|
document.getElementById("XfeRGrouPLisT").innerHTML = "<select size=1 name=XfeRGrouP class=\"cust_form\" id=XfeRGrouP onChange=\"XferAgentSelectLink();return false;\">" + live_XfeR_HTML + "</select>";
|
||||||
|
|
||||||
if (lastcustserverip == server_ip)
|
if (lastcustserverip == server_ip)
|
||||||
{
|
{
|
||||||
@@ -9253,13 +9254,21 @@ function phone_number_format(formatphone) {
|
|||||||
{
|
{
|
||||||
if (xmlhttp.readyState == 4 && xmlhttp.status == 200)
|
if (xmlhttp.readyState == 4 && xmlhttp.status == 200)
|
||||||
{
|
{
|
||||||
// alert(xmlhttp.responseText);
|
var newRAlocationHTML = xmlhttp.responseText;
|
||||||
document.getElementById(RAlocation).innerHTML = xmlhttp.responseText + "\n";
|
// alert(newRAlocationHTML);
|
||||||
|
|
||||||
|
if (RAlocation == 'AgentXferViewSelect')
|
||||||
|
{
|
||||||
|
document.getElementById(RAlocation).innerHTML = newRAlocationHTML + "\n<BR><BR><a href=\"#\" onclick=\"AgentsXferSelect('0','AgentXferViewSelect');return false;\">Close Window</a> ";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
document.getElementById(RAlocation).innerHTML = newRAlocationHTML + "\n";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
delete xmlhttp;
|
delete xmlhttp;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -9425,6 +9434,7 @@ function phone_number_format(formatphone) {
|
|||||||
function AgentsXferSelect(AXuser,AXlocation)
|
function AgentsXferSelect(AXuser,AXlocation)
|
||||||
{
|
{
|
||||||
xfer_select_agents_active=0;
|
xfer_select_agents_active=0;
|
||||||
|
document.getElementById('AgentXferViewSelect').innerHTML = '';
|
||||||
hideDiv('AgentXferViewSpan');
|
hideDiv('AgentXferViewSpan');
|
||||||
hideDiv(AXlocation);
|
hideDiv(AXlocation);
|
||||||
document.vicidial_form.xfernumber.value = AXuser;
|
document.vicidial_form.xfernumber.value = AXuser;
|
||||||
@@ -9432,7 +9442,24 @@ function phone_number_format(formatphone) {
|
|||||||
|
|
||||||
|
|
||||||
// ################################################################################
|
// ################################################################################
|
||||||
// OnFocus function for number to dial
|
// OnChange function for transfer group select list
|
||||||
|
function XferAgentSelectLink()
|
||||||
|
{
|
||||||
|
var XfeRSelecT = document.getElementById("XfeRGrouP");
|
||||||
|
var XScheck = XfeRSelecT.value
|
||||||
|
if (XScheck.match(/AGENTDIRECT/))
|
||||||
|
{
|
||||||
|
showDiv('agentdirectlink');
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
hideDiv('agentdirectlink');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// ################################################################################
|
||||||
|
// function for number to dial for AGENTDIRECT in-group transfers
|
||||||
function XferAgentSelectLaunch()
|
function XferAgentSelectLaunch()
|
||||||
{
|
{
|
||||||
var XfeRSelecT = document.getElementById("XfeRGrouP");
|
var XfeRSelecT = document.getElementById("XfeRGrouP");
|
||||||
@@ -9460,12 +9487,12 @@ function phone_number_format(formatphone) {
|
|||||||
while (loop_ct < XFgroupCOUNT)
|
while (loop_ct < XFgroupCOUNT)
|
||||||
{
|
{
|
||||||
if (VARxfergroups[loop_ct] == 'AGENTDIRECT')
|
if (VARxfergroups[loop_ct] == 'AGENTDIRECT')
|
||||||
{XfeR_SelecT = 'SELECTED ';}
|
{XfeR_SelecT = 'selected ';}
|
||||||
else {XfeR_SelecT = '';}
|
else {XfeR_SelecT = '';}
|
||||||
live_XfeR_HTML = live_XfeR_HTML + "<option " + XfeR_SelecT + "value=\"" + VARxfergroups[loop_ct] + "\">" + VARxfergroups[loop_ct] + " - " + VARxfergroupsnames[loop_ct] + "</option>\n";
|
live_XfeR_HTML = live_XfeR_HTML + "<option " + XfeR_SelecT + "value=\"" + VARxfergroups[loop_ct] + "\">" + VARxfergroups[loop_ct] + " - " + VARxfergroupsnames[loop_ct] + "</option>\n";
|
||||||
loop_ct++;
|
loop_ct++;
|
||||||
}
|
}
|
||||||
document.getElementById("XfeRGrouPLisT").innerHTML = "<select size=1 name=XfeRGrouP class=\"cust_form\" id=XfeRGrouP>" + live_XfeR_HTML + "</select>";
|
document.getElementById("XfeRGrouPLisT").innerHTML = "<select size=1 name=XfeRGrouP class=\"cust_form\" id=XfeRGrouP onChange=\"XferAgentSelectLink();return false;\">" + live_XfeR_HTML + "</select>";
|
||||||
|
|
||||||
mainxfer_send_redirect('XfeRLOCAL',lastcustchannel,lastcustserverip,'','NO');
|
mainxfer_send_redirect('XfeRLOCAL',lastcustchannel,lastcustserverip,'','NO');
|
||||||
|
|
||||||
@@ -9778,6 +9805,7 @@ else
|
|||||||
hideDiv('AgentViewSpan');
|
hideDiv('AgentViewSpan');
|
||||||
hideDiv('AgentXferViewSpan');
|
hideDiv('AgentXferViewSpan');
|
||||||
hideDiv('TimerSpan');
|
hideDiv('TimerSpan');
|
||||||
|
hideDiv('agentdirectlink');
|
||||||
if (view_calls_in_queue_launch != '1')
|
if (view_calls_in_queue_launch != '1')
|
||||||
{hideDiv('callsinqueuedisplay');}
|
{hideDiv('callsinqueuedisplay');}
|
||||||
if (agentonly_callbacks != '1')
|
if (agentonly_callbacks != '1')
|
||||||
@@ -10388,6 +10416,8 @@ else
|
|||||||
{
|
{
|
||||||
if (VU_vicidial_transfers == '1')
|
if (VU_vicidial_transfers == '1')
|
||||||
{
|
{
|
||||||
|
XferAgentSelectLink();
|
||||||
|
|
||||||
if (showxfervar == 'ON')
|
if (showxfervar == 'ON')
|
||||||
{
|
{
|
||||||
var xfer_height = <?php echo $HTheight ?>;
|
var xfer_height = <?php echo $HTheight ?>;
|
||||||
@@ -10543,6 +10573,7 @@ else
|
|||||||
.preview_text {font-size: 13px; font-family: sans-serif; background: #CCFFCC}
|
.preview_text {font-size: 13px; font-family: sans-serif; background: #CCFFCC}
|
||||||
.preview_text_red {font-size: 13px; font-family: sans-serif; background: #FFCCCC}
|
.preview_text_red {font-size: 13px; font-family: sans-serif; background: #FFCCCC}
|
||||||
.body_small {font-size: 11px; font-family: sans-serif;}
|
.body_small {font-size: 11px; font-family: sans-serif;}
|
||||||
|
.body_small_bold {font-size: 11px; font-family: sans-serif; font-weight: bold;}
|
||||||
.body_tiny {font-size: 10px; font-family: sans-serif;}
|
.body_tiny {font-size: 10px; font-family: sans-serif;}
|
||||||
.log_text {font-size: 11px; font-family: monospace;}
|
.log_text {font-size: 11px; font-family: monospace;}
|
||||||
.log_text_red {font-size: 11px; font-family: monospace; font-weight: bold; background: #FF3333}
|
.log_text_red {font-size: 11px; font-family: monospace; font-weight: bold; background: #FF3333}
|
||||||
@@ -10702,7 +10733,7 @@ Your Status: <span id="AgentStatusStatus"></span> <BR>Calls Dialing: <span id="A
|
|||||||
<TABLE cellpadding=0 cellspacing=1 border=0>
|
<TABLE cellpadding=0 cellspacing=1 border=0>
|
||||||
<TR>
|
<TR>
|
||||||
<TD ALIGN=LEFT COLSPAN=3>
|
<TD ALIGN=LEFT COLSPAN=3>
|
||||||
<span id="XfeRGrouPLisT"><select size=1 name=XfeRGrouP class="cust_form"><option>-- SELECT A GROUP TO SEND YOUR CALL TO --</option></select></span>
|
<span id="XfeRGrouPLisT"><select size=1 name=XfeRGrouP id=XfeRGrouP class="cust_form" onChange="XferAgentSelectLink();return false;"><option>-- SELECT A GROUP TO SEND YOUR CALL TO --</option></select></span>
|
||||||
|
|
||||||
<span STYLE="background-color: <?php echo $MAIN_COLOR ?>" id="LocalCloser"><IMG SRC="./images/vdc_XB_localcloser_OFF.gif" border=0 alt="LOCAL CLOSER" style="vertical-align:middle"></span>
|
<span STYLE="background-color: <?php echo $MAIN_COLOR ?>" id="LocalCloser"><IMG SRC="./images/vdc_XB_localcloser_OFF.gif" border=0 alt="LOCAL CLOSER" style="vertical-align:middle"></span>
|
||||||
</TD>
|
</TD>
|
||||||
@@ -10729,7 +10760,8 @@ Your Status: <span id="AgentStatusStatus"></span> <BR>Calls Dialing: <span id="A
|
|||||||
<TD ALIGN=LEFT COLSPAN=2>
|
<TD ALIGN=LEFT COLSPAN=2>
|
||||||
<IMG SRC="./images/vdc_XB_number.gif" border=0 alt="Number to call" style="vertical-align:middle">
|
<IMG SRC="./images/vdc_XB_number.gif" border=0 alt="Number to call" style="vertical-align:middle">
|
||||||
|
|
||||||
<input type=text size=20 name=xfernumber maxlength=25 class="cust_form" value="<?php echo $preset_populate ?>" onFocus="XferAgentSelectLaunch();return false;">
|
<input type=text size=20 name=xfernumber maxlength=25 class="cust_form" value="<?php echo $preset_populate ?>">
|
||||||
|
<span id=agentdirectlink><font class="body_small_bold"><a href="#" onclick="XferAgentSelectLaunch();return false;">AGENTS</a></font></span>
|
||||||
<input type=hidden name=xferuniqueid>
|
<input type=hidden name=xferuniqueid>
|
||||||
</TD>
|
</TD>
|
||||||
<TD ALIGN=LEFT>
|
<TD ALIGN=LEFT>
|
||||||
|
|||||||
@@ -12,6 +12,7 @@
|
|||||||
# 90508-0644 - Changed to PHP long tags
|
# 90508-0644 - Changed to PHP long tags
|
||||||
# 91112-0719 - Added in-group names to select list
|
# 91112-0719 - Added in-group names to select list
|
||||||
# 100214-1421 - Sort menu alphabetically
|
# 100214-1421 - Sort menu alphabetically
|
||||||
|
# 100301-1401 - Added popup date selector
|
||||||
#
|
#
|
||||||
|
|
||||||
require("dbconnect.php");
|
require("dbconnect.php");
|
||||||
@@ -180,6 +181,21 @@ else
|
|||||||
$query_date_END = "$end_date $time_END";
|
$query_date_END = "$end_date $time_END";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$query_dateARRAY = explode(" ",$query_date_BEGIN);
|
||||||
|
$query_date_D = $query_dateARRAY[0];
|
||||||
|
$query_date_T = $query_dateARRAY[1];
|
||||||
|
$end_dateARRAY = explode(" ",$query_date_END);
|
||||||
|
$end_date_D = $end_dateARRAY[0];
|
||||||
|
$end_date_T = $end_dateARRAY[1];
|
||||||
|
|
||||||
|
|
||||||
|
?>
|
||||||
|
|
||||||
|
<script language="JavaScript" src="calendar_db.js"></script>
|
||||||
|
<link rel="stylesheet" href="calendar.css">
|
||||||
|
|
||||||
|
<?php
|
||||||
|
|
||||||
echo "<META HTTP-EQUIV=\"Content-Type\" CONTENT=\"text/html; charset=utf-8\">\n";
|
echo "<META HTTP-EQUIV=\"Content-Type\" CONTENT=\"text/html; charset=utf-8\">\n";
|
||||||
echo "<TITLE>IVR Stats Report</TITLE></HEAD><BODY BGCOLOR=WHITE marginheight=0 marginwidth=0 leftmargin=0 topmargin=0>\n";
|
echo "<TITLE>IVR Stats Report</TITLE></HEAD><BODY BGCOLOR=WHITE marginheight=0 marginwidth=0 leftmargin=0 topmargin=0>\n";
|
||||||
|
|
||||||
@@ -198,12 +214,48 @@ if ($DB > 0)
|
|||||||
echo "<BR>\n";
|
echo "<BR>\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
echo "<FORM ACTION=\"$PHP_SELF\" METHOD=GET>\n";
|
echo "<FORM ACTION=\"$PHP_SELF\" METHOD=GET name=vicidial_report id=vicidial_report>\n";
|
||||||
echo "<TABLE BORDER=0><TR><TD VALIGN=TOP>\n";
|
echo "<TABLE BORDER=0><TR><TD VALIGN=TOP>\n";
|
||||||
echo "<INPUT TYPE=HIDDEN NAME=DB VALUE=\"$DB\">\n";
|
echo "<INPUT TYPE=HIDDEN NAME=DB VALUE=\"$DB\">\n";
|
||||||
echo "Date Range:<BR>\n";
|
echo "Date Range:<BR>\n";
|
||||||
echo "<INPUT TYPE=TEXT NAME=query_date SIZE=19 MAXLENGTH=19 VALUE=\"$query_date_BEGIN\">\n";
|
|
||||||
echo " to <INPUT TYPE=TEXT NAME=end_date SIZE=19 MAXLENGTH=19 VALUE=\"$query_date_END\">\n";
|
echo "<INPUT TYPE=hidden NAME=query_date ID=query_date VALUE=\"$query_date\">\n";
|
||||||
|
echo "<INPUT TYPE=hidden NAME=end_date ID=end_date VALUE=\"$end_date\">\n";
|
||||||
|
echo "<INPUT TYPE=TEXT NAME=query_date_D SIZE=11 MAXLENGTH=10 VALUE=\"$query_date_D\">";
|
||||||
|
|
||||||
|
?>
|
||||||
|
<script language="JavaScript">
|
||||||
|
var o_cal = new tcal ({
|
||||||
|
// form name
|
||||||
|
'formname': 'vicidial_report',
|
||||||
|
// input name
|
||||||
|
'controlname': 'query_date_D'
|
||||||
|
});
|
||||||
|
o_cal.a_tpl.yearscroll = false;
|
||||||
|
// o_cal.a_tpl.weekstart = 1; // Monday week start
|
||||||
|
</script>
|
||||||
|
<?php
|
||||||
|
|
||||||
|
echo " <INPUT TYPE=TEXT NAME=query_date_T SIZE=9 MAXLENGTH=8 VALUE=\"$query_date_T\">";
|
||||||
|
|
||||||
|
echo "<BR> to <BR><INPUT TYPE=TEXT NAME=end_date_D SIZE=11 MAXLENGTH=10 VALUE=\"$end_date_D\">";
|
||||||
|
|
||||||
|
?>
|
||||||
|
<script language="JavaScript">
|
||||||
|
var o_cal = new tcal ({
|
||||||
|
// form name
|
||||||
|
'formname': 'vicidial_report',
|
||||||
|
// input name
|
||||||
|
'controlname': 'end_date_D'
|
||||||
|
});
|
||||||
|
o_cal.a_tpl.yearscroll = false;
|
||||||
|
// o_cal.a_tpl.weekstart = 1; // Monday week start
|
||||||
|
</script>
|
||||||
|
<?php
|
||||||
|
|
||||||
|
echo " <INPUT TYPE=TEXT NAME=end_date_T SIZE=9 MAXLENGTH=8 VALUE=\"$end_date_T\">";
|
||||||
|
|
||||||
|
|
||||||
echo "</TD><TD ROWSPAN=2 VALIGN=TOP>\n";
|
echo "</TD><TD ROWSPAN=2 VALIGN=TOP>\n";
|
||||||
echo "Inbound Groups: \n";
|
echo "Inbound Groups: \n";
|
||||||
echo "</TD><TD ROWSPAN=2 VALIGN=TOP>\n";
|
echo "</TD><TD ROWSPAN=2 VALIGN=TOP>\n";
|
||||||
@@ -245,7 +297,23 @@ echo "<option value=\"PM\">PM</option>\n";
|
|||||||
echo "<option value=\"ALL\">ALL</option>\n";
|
echo "<option value=\"ALL\">ALL</option>\n";
|
||||||
echo "<option value=\"RANGE\">RANGE</option>\n";
|
echo "<option value=\"RANGE\">RANGE</option>\n";
|
||||||
echo "</SELECT>\n";
|
echo "</SELECT>\n";
|
||||||
echo " <INPUT TYPE=submit NAME=SUBMIT VALUE=SUBMIT>\n";
|
|
||||||
|
?>
|
||||||
|
<SCRIPT LANGUAGE="JavaScript">
|
||||||
|
|
||||||
|
function submit_form()
|
||||||
|
{
|
||||||
|
document.vicidial_report.end_date.value = document.vicidial_report.end_date_D.value + " " + document.vicidial_report.end_date_T.value;
|
||||||
|
document.vicidial_report.query_date.value = document.vicidial_report.query_date_D.value + " " + document.vicidial_report.query_date_T.value;
|
||||||
|
|
||||||
|
document.vicidial_report.submit();
|
||||||
|
}
|
||||||
|
|
||||||
|
</SCRIPT>
|
||||||
|
|
||||||
|
<input type=button value="SUBMIT" name=smt id=smt onClick="submit_form()">
|
||||||
|
<?php
|
||||||
|
|
||||||
echo "</TD></TR></TABLE>\n";
|
echo "</TD></TR></TABLE>\n";
|
||||||
echo "</FORM>\n\n";
|
echo "</FORM>\n\n";
|
||||||
|
|
||||||
@@ -260,7 +328,8 @@ if ($groups_to_print < 1)
|
|||||||
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
echo "IVR Stats Report: $group_string $NOW_TIME\n";
|
echo "IVR Stats Report: $query_date_BEGIN to $query_date_END $NOW_TIME\n";
|
||||||
|
echo " $group_string\n";
|
||||||
|
|
||||||
$TOTALcalls=0;
|
$TOTALcalls=0;
|
||||||
$NOCALLERIDcalls=0;
|
$NOCALLERIDcalls=0;
|
||||||
@@ -493,17 +562,6 @@ else
|
|||||||
echo "+--------+--------+--------+--------+------+------+\n";
|
echo "+--------+--------+--------+--------+------+------+\n";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
##############################
|
##############################
|
||||||
######### TIME STATS
|
######### TIME STATS
|
||||||
|
|
||||||
@@ -660,14 +718,6 @@ else
|
|||||||
echo "+------+-------------------------------------------------------------------------------------------------------+-------+\n\n";
|
echo "+------+-------------------------------------------------------------------------------------------------------+-------+\n\n";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$ENDtime = date("U");
|
$ENDtime = date("U");
|
||||||
$RUNtime = ($ENDtime - $STARTtime);
|
$RUNtime = ($ENDtime - $STARTtime);
|
||||||
echo "\nRun Time: $RUNtime seconds\n";
|
echo "\nRun Time: $RUNtime seconds\n";
|
||||||
|
|||||||
@@ -3,10 +3,11 @@
|
|||||||
#
|
#
|
||||||
# Pulls all timeclock records for an agent
|
# Pulls all timeclock records for an agent
|
||||||
#
|
#
|
||||||
# Copyright (C) 2009 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
|
# Copyright (C) 2010 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
|
||||||
#
|
#
|
||||||
# CHANGES
|
# CHANGES
|
||||||
# 90602-2244 - First build
|
# 90602-2244 - First build
|
||||||
|
# 100301-1401 - Added popup date selector
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
@@ -46,12 +47,10 @@ $stmt = "SELECT use_non_latin FROM system_settings;";
|
|||||||
$rslt=mysql_query($stmt, $link);
|
$rslt=mysql_query($stmt, $link);
|
||||||
if ($DB) {echo "$stmt\n";}
|
if ($DB) {echo "$stmt\n";}
|
||||||
$qm_conf_ct = mysql_num_rows($rslt);
|
$qm_conf_ct = mysql_num_rows($rslt);
|
||||||
$i=0;
|
if ($qm_conf_ct > 0)
|
||||||
while ($i < $qm_conf_ct)
|
|
||||||
{
|
{
|
||||||
$row=mysql_fetch_row($rslt);
|
$row=mysql_fetch_row($rslt);
|
||||||
$non_latin = $row[0];
|
$non_latin = $row[0];
|
||||||
$i++;
|
|
||||||
}
|
}
|
||||||
##### END SETTINGS LOOKUP #####
|
##### END SETTINGS LOOKUP #####
|
||||||
###########################################
|
###########################################
|
||||||
@@ -84,6 +83,13 @@ if (!isset($end_date)) {$end_date = "$NOW_DATE 23:59:59";}
|
|||||||
$query_dateURL = ereg_replace(' ','+',$query_date);
|
$query_dateURL = ereg_replace(' ','+',$query_date);
|
||||||
$end_dateURL = ereg_replace(' ','+',$end_date);
|
$end_dateURL = ereg_replace(' ','+',$end_date);
|
||||||
|
|
||||||
|
$query_dateARRAY = explode(" ",$query_date);
|
||||||
|
$query_date_D = $query_dateARRAY[0];
|
||||||
|
$query_date_T = $query_dateARRAY[1];
|
||||||
|
$end_dateARRAY = explode(" ",$end_date);
|
||||||
|
$end_date_D = $end_dateARRAY[0];
|
||||||
|
$end_date_T = $end_dateARRAY[1];
|
||||||
|
|
||||||
$stmt="select campaign_id from vicidial_campaigns;";
|
$stmt="select campaign_id from vicidial_campaigns;";
|
||||||
$rslt=mysql_query($stmt, $link);
|
$rslt=mysql_query($stmt, $link);
|
||||||
if ($DB) {echo "$stmt\n";}
|
if ($DB) {echo "$stmt\n";}
|
||||||
@@ -177,6 +183,9 @@ if ($file_download < 1)
|
|||||||
-->
|
-->
|
||||||
</STYLE>
|
</STYLE>
|
||||||
|
|
||||||
|
<script language="JavaScript" src="calendar_db.js"></script>
|
||||||
|
<link rel="stylesheet" href="calendar.css">
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
echo "<META HTTP-EQUIV=\"Content-Type\" CONTENT=\"text/html; charset=utf-8\">\n";
|
echo "<META HTTP-EQUIV=\"Content-Type\" CONTENT=\"text/html; charset=utf-8\">\n";
|
||||||
echo "<TITLE>User Time-Clock Detail</TITLE></HEAD><BODY BGCOLOR=white marginheight=0 marginwidth=0 leftmargin=0 topmargin=0>\n";
|
echo "<TITLE>User Time-Clock Detail</TITLE></HEAD><BODY BGCOLOR=white marginheight=0 marginwidth=0 leftmargin=0 topmargin=0>\n";
|
||||||
@@ -470,7 +479,7 @@ else
|
|||||||
|
|
||||||
|
|
||||||
### BEGIN sort through output to display properly ###
|
### BEGIN sort through output to display properly ###
|
||||||
if (ereg("NAME|ID|TCLOCK|GROUP",$stage))
|
if ( (ereg("NAME|ID|TCLOCK|GROUP",$stage)) and ($k > 0) )
|
||||||
{
|
{
|
||||||
if (ereg("ID",$stage))
|
if (ereg("ID",$stage))
|
||||||
{sort($TOPsort, SORT_NUMERIC);}
|
{sort($TOPsort, SORT_NUMERIC);}
|
||||||
@@ -563,11 +572,44 @@ if ($file_download > 0)
|
|||||||
############################################################################
|
############################################################################
|
||||||
##### BEGIN HTML form section
|
##### BEGIN HTML form section
|
||||||
############################################################################
|
############################################################################
|
||||||
echo "<FORM ACTION=\"$PHP_SELF\" METHOD=GET>\n";
|
echo "<FORM ACTION=\"$PHP_SELF\" METHOD=GET name=vicidial_report id=vicidial_report>\n";
|
||||||
echo "<TABLE CELLSPACING=3><TR><TD VALIGN=TOP> Dates:<BR>";
|
echo "<TABLE CELLSPACING=3><TR><TD VALIGN=TOP> Dates:<BR>";
|
||||||
echo "<INPUT TYPE=hidden NAME=DB VALUE=\"$DB\">\n";
|
echo "<INPUT TYPE=hidden NAME=DB VALUE=\"$DB\">\n";
|
||||||
echo "<INPUT TYPE=TEXT NAME=query_date SIZE=20 MAXLENGTH=20 VALUE=\"$query_date\">\n";
|
echo "<INPUT TYPE=hidden NAME=query_date ID=query_date VALUE=\"$query_date\">\n";
|
||||||
echo "<BR> to <BR><INPUT TYPE=TEXT NAME=end_date SIZE=20 MAXLENGTH=20 VALUE=\"$end_date\">\n";
|
echo "<INPUT TYPE=hidden NAME=end_date ID=end_date VALUE=\"$end_date\">\n";
|
||||||
|
echo "<INPUT TYPE=TEXT NAME=query_date_D SIZE=11 MAXLENGTH=10 VALUE=\"$query_date_D\">";
|
||||||
|
|
||||||
|
?>
|
||||||
|
<script language="JavaScript">
|
||||||
|
var o_cal = new tcal ({
|
||||||
|
// form name
|
||||||
|
'formname': 'vicidial_report',
|
||||||
|
// input name
|
||||||
|
'controlname': 'query_date_D'
|
||||||
|
});
|
||||||
|
o_cal.a_tpl.yearscroll = false;
|
||||||
|
// o_cal.a_tpl.weekstart = 1; // Monday week start
|
||||||
|
</script>
|
||||||
|
<?php
|
||||||
|
|
||||||
|
echo " <INPUT TYPE=TEXT NAME=query_date_T SIZE=9 MAXLENGTH=8 VALUE=\"$query_date_T\">";
|
||||||
|
|
||||||
|
echo "<BR> to <BR><INPUT TYPE=TEXT NAME=end_date_D SIZE=11 MAXLENGTH=10 VALUE=\"$end_date_D\">";
|
||||||
|
|
||||||
|
?>
|
||||||
|
<script language="JavaScript">
|
||||||
|
var o_cal = new tcal ({
|
||||||
|
// form name
|
||||||
|
'formname': 'vicidial_report',
|
||||||
|
// input name
|
||||||
|
'controlname': 'end_date_D'
|
||||||
|
});
|
||||||
|
o_cal.a_tpl.yearscroll = false;
|
||||||
|
// o_cal.a_tpl.weekstart = 1; // Monday week start
|
||||||
|
</script>
|
||||||
|
<?php
|
||||||
|
|
||||||
|
echo " <INPUT TYPE=TEXT NAME=end_date_T SIZE=9 MAXLENGTH=8 VALUE=\"$end_date_T\">";
|
||||||
|
|
||||||
# echo "</TD><TD VALIGN=TOP> Campaigns:<BR>";
|
# echo "</TD><TD VALIGN=TOP> Campaigns:<BR>";
|
||||||
# echo "<SELECT SIZE=5 NAME=group[] multiple>\n";
|
# echo "<SELECT SIZE=5 NAME=group[] multiple>\n";
|
||||||
@@ -607,7 +649,25 @@ echo "<option value=\"AM\">AM</option>\n";
|
|||||||
echo "<option value=\"PM\">PM</option>\n";
|
echo "<option value=\"PM\">PM</option>\n";
|
||||||
echo "<option value=\"ALL\">ALL</option>\n";
|
echo "<option value=\"ALL\">ALL</option>\n";
|
||||||
echo "</SELECT><BR><BR>\n";
|
echo "</SELECT><BR><BR>\n";
|
||||||
echo "<INPUT TYPE=SUBMIT NAME=SUBMIT VALUE=SUBMIT>\n";
|
|
||||||
|
|
||||||
|
?>
|
||||||
|
<SCRIPT LANGUAGE="JavaScript">
|
||||||
|
|
||||||
|
function submit_form()
|
||||||
|
{
|
||||||
|
document.vicidial_report.end_date.value = document.vicidial_report.end_date_D.value + " " + document.vicidial_report.end_date_T.value;
|
||||||
|
document.vicidial_report.query_date.value = document.vicidial_report.query_date_D.value + " " + document.vicidial_report.query_date_T.value;
|
||||||
|
|
||||||
|
document.vicidial_report.submit();
|
||||||
|
}
|
||||||
|
|
||||||
|
</SCRIPT>
|
||||||
|
|
||||||
|
<input type=button value="SUBMIT" name=smt id=smt onClick="submit_form()">
|
||||||
|
<?php
|
||||||
|
|
||||||
|
|
||||||
echo "</TD><TD VALIGN=TOP> ";
|
echo "</TD><TD VALIGN=TOP> ";
|
||||||
|
|
||||||
echo "<FONT FACE=\"ARIAL,HELVETICA\" COLOR=BLACK SIZE=2> \n";
|
echo "<FONT FACE=\"ARIAL,HELVETICA\" COLOR=BLACK SIZE=2> \n";
|
||||||
|
|||||||
@@ -59,10 +59,11 @@
|
|||||||
# 91102-2013 - Changed in-group color styles for incoming calls waiting
|
# 91102-2013 - Changed in-group color styles for incoming calls waiting
|
||||||
# 91204-1548 - Added ability to change agent in-groups and blended
|
# 91204-1548 - Added ability to change agent in-groups and blended
|
||||||
# 100214-1127 - Added no-dialable-leads alert and in-groups stats option
|
# 100214-1127 - Added no-dialable-leads alert and in-groups stats option
|
||||||
|
# 100301-1229 - Added 3-WAY status for consultative transfer agents
|
||||||
#
|
#
|
||||||
|
|
||||||
$version = '2.2.0-50';
|
$version = '2.2.0-51';
|
||||||
$build = '100214-1127';
|
$build = '100301-1229';
|
||||||
|
|
||||||
header ("Content-type: text/html; charset=utf-8");
|
header ("Content-type: text/html; charset=utf-8");
|
||||||
|
|
||||||
@@ -664,6 +665,7 @@ function hide_ingroup_info()
|
|||||||
.violet {color: black; background-color: #EE82EE}
|
.violet {color: black; background-color: #EE82EE}
|
||||||
.thistle {color: black; background-color: #D8BFD8}
|
.thistle {color: black; background-color: #D8BFD8}
|
||||||
.olive {color: white; background-color: #808000}
|
.olive {color: white; background-color: #808000}
|
||||||
|
.lime {color: white; background-color: #006600}
|
||||||
.yellow {color: black; background-color: yellow}
|
.yellow {color: black; background-color: yellow}
|
||||||
.khaki {color: black; background-color: #F0E68C}
|
.khaki {color: black; background-color: #F0E68C}
|
||||||
.orange {color: black; background-color: orange}
|
.orange {color: black; background-color: orange}
|
||||||
@@ -1729,6 +1731,20 @@ $talking_to_print = mysql_num_rows($rslt);
|
|||||||
$Alead_id[$i] = $row[14];
|
$Alead_id[$i] = $row[14];
|
||||||
$Astate_change[$i] = $row[15];
|
$Astate_change[$i] = $row[15];
|
||||||
|
|
||||||
|
### 3-WAY Check ###
|
||||||
|
if ($Alead_id[$i]!=0)
|
||||||
|
{
|
||||||
|
$threewaystmt="select UNIX_TIMESTAMP(last_call_time) from vicidial_live_agents where lead_id='$Alead_id[$i]' and status='INCALL' order by UNIX_TIMESTAMP(last_call_time) desc";
|
||||||
|
$threewayrslt=mysql_query($threewaystmt, $link);
|
||||||
|
if (mysql_num_rows($threewayrslt)>1)
|
||||||
|
{
|
||||||
|
$Astatus[$i]="3-WAY";
|
||||||
|
$srow=mysql_fetch_row($threewayrslt);
|
||||||
|
$Acall_mostrecent[$i]=$srow[0];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
### END 3-WAY Check ###
|
||||||
|
|
||||||
$i++;
|
$i++;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1946,8 +1962,10 @@ $calls_to_list = mysql_num_rows($rslt);
|
|||||||
while(mb_strlen($user, 'utf-8')>20) {$user = mb_substr("$user", 0, -1,'utf8');}
|
while(mb_strlen($user, 'utf-8')>20) {$user = mb_substr("$user", 0, -1,'utf8');}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!eregi("INCALL|QUEUE|PARK",$Astatus[$i]))
|
if (!eregi("INCALL|QUEUE|PARK|3-WAY",$Astatus[$i]))
|
||||||
{$call_time_S = ($STARTtime - $Astate_change[$i]);}
|
{$call_time_S = ($STARTtime - $Astate_change[$i]);}
|
||||||
|
else if (eregi("3-WAY",$Astatus[$i]))
|
||||||
|
{$call_time_S = ($STARTtime - $Acall_mostrecent[$i]);}
|
||||||
else
|
else
|
||||||
{$call_time_S = ($STARTtime - $Acall_time[$i]);}
|
{$call_time_S = ($STARTtime - $Acall_time[$i]);}
|
||||||
|
|
||||||
@@ -1961,6 +1979,10 @@ $calls_to_list = mysql_num_rows($rslt);
|
|||||||
if ($call_time_S >= 300) {$G='<SPAN class="purple"><B>'; $EG='</B></SPAN>';}
|
if ($call_time_S >= 300) {$G='<SPAN class="purple"><B>'; $EG='</B></SPAN>';}
|
||||||
# if ($call_time_S >= 600) {$G='<SPAN class="purple"><B>'; $EG='</B></SPAN>';}
|
# if ($call_time_S >= 600) {$G='<SPAN class="purple"><B>'; $EG='</B></SPAN>';}
|
||||||
}
|
}
|
||||||
|
if ($Lstatus=='3-WAY')
|
||||||
|
{
|
||||||
|
if ($call_time_S >= 10) {$G='<SPAN class="lime"><B>'; $EG='</B></SPAN>';}
|
||||||
|
}
|
||||||
if ($Lstatus=='DEAD')
|
if ($Lstatus=='DEAD')
|
||||||
{
|
{
|
||||||
if ($call_time_S >= 21600)
|
if ($call_time_S >= 21600)
|
||||||
@@ -2012,7 +2034,7 @@ $calls_to_list = mysql_num_rows($rslt);
|
|||||||
# if ( (strlen($Acall_server_ip[$i])> 4) and ($Acall_server_ip[$i] != "$Aserver_ip[$i]") )
|
# if ( (strlen($Acall_server_ip[$i])> 4) and ($Acall_server_ip[$i] != "$Aserver_ip[$i]") )
|
||||||
# {$G='<SPAN class="orange"><B>'; $EG='</B></SPAN>';}
|
# {$G='<SPAN class="orange"><B>'; $EG='</B></SPAN>';}
|
||||||
|
|
||||||
if ( (eregi("INCALL",$status)) or (eregi("QUEUE",$status)) or (eregi("PARK",$status)) ) {$agent_incall++; $agent_total++;}
|
if ( (eregi("INCALL",$status)) or (eregi("QUEUE",$status)) or (eregi("3-WAY",$status)) or (eregi("PARK",$status))) {$agent_incall++; $agent_total++;}
|
||||||
if ( (eregi("READY",$status)) or (eregi("CLOSER",$status)) ) {$agent_ready++; $agent_total++;}
|
if ( (eregi("READY",$status)) or (eregi("CLOSER",$status)) ) {$agent_ready++; $agent_total++;}
|
||||||
if ( (eregi("READY",$status)) or (eregi("CLOSER",$status)) )
|
if ( (eregi("READY",$status)) or (eregi("CLOSER",$status)) )
|
||||||
{
|
{
|
||||||
@@ -2085,6 +2107,7 @@ $calls_to_list = mysql_num_rows($rslt);
|
|||||||
$Aecho .= " <SPAN class=\"khaki\"><B> </SPAN> - Agent Paused > 10 seconds</B>\n";
|
$Aecho .= " <SPAN class=\"khaki\"><B> </SPAN> - Agent Paused > 10 seconds</B>\n";
|
||||||
$Aecho .= " <SPAN class=\"yellow\"><B> </SPAN> - Agent Paused > 1 minute</B>\n";
|
$Aecho .= " <SPAN class=\"yellow\"><B> </SPAN> - Agent Paused > 1 minute</B>\n";
|
||||||
$Aecho .= " <SPAN class=\"olive\"><B> </SPAN> - Agent Paused > 5 minutes</B>\n";
|
$Aecho .= " <SPAN class=\"olive\"><B> </SPAN> - Agent Paused > 5 minutes</B>\n";
|
||||||
|
$Aecho .= " <SPAN class=\"lime\"><B> </SPAN> - Agent in 3-WAY > 10 seconds</B>\n";
|
||||||
$Aecho .= " <SPAN class=\"black\"><B> </SPAN> - Agent on a dead call</B>\n";
|
$Aecho .= " <SPAN class=\"black\"><B> </SPAN> - Agent on a dead call</B>\n";
|
||||||
|
|
||||||
if ($agent_ready > 0) {$B='<FONT class="b1">'; $BG='</FONT>';}
|
if ($agent_ready > 0) {$B='<FONT class="b1">'; $BG='</FONT>';}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
* Changed Meetme Sounds in Asterisk 2007-07-27
|
* Changed Meetme Sounds in Asterisk 2007-07-27
|
||||||
|
|
||||||
|
|
||||||
For some reason, possibly effeciency, the enter and leave sounds that you hear in standard Asterisk meetme rooms are actually hex dumps of RAW ULAW 8bit audio that have been compiled into the code of Asterisk in a header file. This makes them somewhat difficult to change, especially since there are no instructions.
|
For some reason, possibly efficiency, the enter and leave sounds that you hear in standard Asterisk meetme rooms are actually hex dumps of RAW ULAW 8bit audio that have been compiled into the code of Asterisk in a header file. This makes them somewhat difficult to change, especially since there are no instructions.
|
||||||
|
|
||||||
This should slightly reduce time that it takes for calls to get to agents, as well as reduce the time of the locks that occur when these sounds are played in Asterisk. The new enter and leave sounds I include with VICIDIAL are 0.12 and 0.13 seconds respectively as compared to the default sounds which are more than double that.
|
This should slightly reduce time that it takes for calls to get to agents, as well as reduce the time of the locks that occur when these sounds are played in Asterisk. The new enter and leave sounds I include with VICIDIAL are 0.12 and 0.13 seconds respectively as compared to the default sounds which are more than double that.
|
||||||
|
|
||||||
@@ -26,7 +26,7 @@ Here are the steps I went to to change the meetme enter and leave sounds:
|
|||||||
00000020 5d 66 60 51 6c 5f 3e 4d 59 47 72 e4 52 53 58 48 |]f`Ql_>MYGräRSXH|
|
00000020 5d 66 60 51 6c 5f 3e 4d 59 47 72 e4 52 53 58 48 |]f`Ql_>MYGräRSXH|
|
||||||
|
|
||||||
|
|
||||||
4. Used favorite text edotor to format the data properly:
|
4. Used favorite text editor to format the data properly:
|
||||||
- 60 character length lines comma-space separated in the same format as enter.h and leave.h were in. Don't forget the header and footer to this raw hex audio, they are important
|
- 60 character length lines comma-space separated in the same format as enter.h and leave.h were in. Don't forget the header and footer to this raw hex audio, they are important
|
||||||
|
|
||||||
0xd6, 0xdc, 0x55, 0x5f, 0x63, 0x67, 0xf0, 0xf0, 0x74, 0x75,
|
0xd6, 0xdc, 0x55, 0x5f, 0x63, 0x67, 0xf0, 0xf0, 0x74, 0x75,
|
||||||
|
|||||||
@@ -483,3 +483,4 @@ has selected your in-group choices|foi selecionado o grupo de escolhas|
|
|||||||
CONSULTATIVE|CONSULTIVO|
|
CONSULTATIVE|CONSULTIVO|
|
||||||
Close Message|Fechar Mensagem|
|
Close Message|Fechar Mensagem|
|
||||||
TIMER NOTIFICATION|NOTIFICAÇÃO TIMER|
|
TIMER NOTIFICATION|NOTIFICAÇÃO TIMER|
|
||||||
|
>AGENTS<|>AGENTES<|
|
||||||
|
|||||||
@@ -489,3 +489,4 @@ has selected your in-group choices|hat Ihren in-group Entscheidungen|
|
|||||||
CONSULTATIVE|BERATENDE|
|
CONSULTATIVE|BERATENDE|
|
||||||
Close Message|Close Message|
|
Close Message|Close Message|
|
||||||
TIMER NOTIFICATION|Timer-Benachrichtigung|
|
TIMER NOTIFICATION|Timer-Benachrichtigung|
|
||||||
|
>AGENTS<|>Agenten<|
|
||||||
|
|||||||
@@ -479,3 +479,4 @@ has selected your in-group choices|έχει επιλέξει σε σας τις
|
|||||||
CONSULTATIVE|ΣΥΜΒΟΥΛΕΥΤΙΚΗ|
|
CONSULTATIVE|ΣΥΜΒΟΥΛΕΥΤΙΚΗ|
|
||||||
Close Message|Κλείσιμο Μήνυμα|
|
Close Message|Κλείσιμο Μήνυμα|
|
||||||
TIMER NOTIFICATION|TIMER ΚΟΙΝΟΠΟΙΗΣΗ|
|
TIMER NOTIFICATION|TIMER ΚΟΙΝΟΠΟΙΗΣΗ|
|
||||||
|
>AGENTS<|>πράκτορες<|
|
||||||
|
|||||||
@@ -486,3 +486,4 @@ CONSULTATIVE|CONSULTIVO|
|
|||||||
Close Message|Cerrar Mensaje|
|
Close Message|Cerrar Mensaje|
|
||||||
TIMER NOTIFICATION|NOTIFICACIÓN TIMER|
|
TIMER NOTIFICATION|NOTIFICACIÓN TIMER|
|
||||||
login_language=en_us|login_language=es_es|
|
login_language=en_us|login_language=es_es|
|
||||||
|
>AGENTS<|>AGENTES<|
|
||||||
|
|||||||
@@ -485,3 +485,4 @@ has selected your in-group choices|a sélectionné votre choix en groupe|
|
|||||||
CONSULTATIVE|CONSULTATIF|
|
CONSULTATIVE|CONSULTATIF|
|
||||||
Close Message|Fermer Message|
|
Close Message|Fermer Message|
|
||||||
TIMER NOTIFICATION|TIMER NOTIFICATION|
|
TIMER NOTIFICATION|TIMER NOTIFICATION|
|
||||||
|
>AGENTS<|>AGENTS<|
|
||||||
|
|||||||
@@ -501,3 +501,4 @@ has selected your in-group choices|ha selezionato le tue scelte per i gruppi inb
|
|||||||
CONSULTATIVE|CONSULTIVO|
|
CONSULTATIVE|CONSULTIVO|
|
||||||
Close Message|Chiudi Messaggio|
|
Close Message|Chiudi Messaggio|
|
||||||
TIMER NOTIFICATION|NOTIFICA TIMER|
|
TIMER NOTIFICATION|NOTIFICA TIMER|
|
||||||
|
>AGENTS<|>OPERATORI<|
|
||||||
|
|||||||
@@ -517,3 +517,4 @@ has selected your in-group choices|heeft gekozen uw in-groep keuzes|
|
|||||||
CONSULTATIVE|ADVIESGROEP|
|
CONSULTATIVE|ADVIESGROEP|
|
||||||
Close Message|Close Message|
|
Close Message|Close Message|
|
||||||
TIMER NOTIFICATION|TIMER AANMELDING|
|
TIMER NOTIFICATION|TIMER AANMELDING|
|
||||||
|
>AGENTS<|>agenten<|
|
||||||
|
|||||||
@@ -485,3 +485,4 @@ has selected your in-group choices|wybrał się w grupie-wybory|
|
|||||||
CONSULTATIVE|KONSULTACYJNA|
|
CONSULTATIVE|KONSULTACYJNA|
|
||||||
Close Message|Zamknij komunikat|
|
Close Message|Zamknij komunikat|
|
||||||
TIMER NOTIFICATION|ZAWIADOMIENIE TIMER|
|
TIMER NOTIFICATION|ZAWIADOMIENIE TIMER|
|
||||||
|
>AGENTS<|>agentów<|
|
||||||
|
|||||||
@@ -485,3 +485,4 @@ has selected your in-group choices|foi selecionado o grupo de escolhas|
|
|||||||
CONSULTATIVE|CONSULTIVO|
|
CONSULTATIVE|CONSULTIVO|
|
||||||
Close Message|Fechar Mensagem|
|
Close Message|Fechar Mensagem|
|
||||||
TIMER NOTIFICATION|NOTIFICAÇÃO TIMER|
|
TIMER NOTIFICATION|NOTIFICAÇÃO TIMER|
|
||||||
|
>AGENTS<|>AGENTES<|
|
||||||
|
|||||||
@@ -485,3 +485,4 @@ has selected your in-group choices|выбрал в вашей группе вы
|
|||||||
CONSULTATIVE|КОНСУЛЬТАТИВНЫЙ|
|
CONSULTATIVE|КОНСУЛЬТАТИВНЫЙ|
|
||||||
Close Message|Закрыть сообщение|
|
Close Message|Закрыть сообщение|
|
||||||
TIMER NOTIFICATION|ТАЙМЕР УВЕДОМЛЕНИЯ|
|
TIMER NOTIFICATION|ТАЙМЕР УВЕДОМЛЕНИЯ|
|
||||||
|
>AGENTS<|>агенты<|
|
||||||
|
|||||||
@@ -485,3 +485,4 @@ has selected your in-group choices|vybrala si v skupine-voľby|
|
|||||||
CONSULTATIVE|PORADNÝ|
|
CONSULTATIVE|PORADNÝ|
|
||||||
Close Message|Zavrieť správu|
|
Close Message|Zavrieť správu|
|
||||||
TIMER NOTIFICATION|TIMER OZNAM|
|
TIMER NOTIFICATION|TIMER OZNAM|
|
||||||
|
>AGENTS<|>AGENTI<|
|
||||||
|
|||||||
@@ -516,3 +516,4 @@ has selected your in-group choices|您的選擇組的選擇|
|
|||||||
CONSULTATIVE|協商|
|
CONSULTATIVE|協商|
|
||||||
Close Message|關閉消息|
|
Close Message|關閉消息|
|
||||||
TIMER NOTIFICATION|計時器通知|
|
TIMER NOTIFICATION|計時器通知|
|
||||||
|
>AGENTS<|>經營者<|
|
||||||
|
|||||||
@@ -238,10 +238,11 @@
|
|||||||
# 100219-1437 - Added agent_dispo_log file option
|
# 100219-1437 - Added agent_dispo_log file option
|
||||||
# 100220-1041 - Added CALLLOGview and LEADINFOview functions
|
# 100220-1041 - Added CALLLOGview and LEADINFOview functions
|
||||||
# 100221-1105 - Added custom CID use compatibility
|
# 100221-1105 - Added custom CID use compatibility
|
||||||
|
# 100301-1342 - Changed Available agents output for AGENTDIRECT selection
|
||||||
#
|
#
|
||||||
|
|
||||||
$version = '2.4-145';
|
$version = '2.4-146';
|
||||||
$build = '100221-1105';
|
$build = '100301-1342';
|
||||||
$mel=1; # Mysql Error Log enabled = 1
|
$mel=1; # Mysql Error Log enabled = 1
|
||||||
$mysql_log_count=314;
|
$mysql_log_count=314;
|
||||||
$one_mysql_log=0;
|
$one_mysql_log=0;
|
||||||
@@ -6524,10 +6525,6 @@ if ($ACTION == 'AGENTSview')
|
|||||||
if (ereg("NOT-LOGGED-IN-AGENTS",$agent_status_viewable_groups))
|
if (ereg("NOT-LOGGED-IN-AGENTS",$agent_status_viewable_groups))
|
||||||
{echo "<font style=\"background-color:#FFFFFF;\"> </font>-LOGGED-OUT \n";}
|
{echo "<font style=\"background-color:#FFFFFF;\"> </font>-LOGGED-OUT \n";}
|
||||||
|
|
||||||
if ($comments=='AgentXferViewSelect')
|
|
||||||
{
|
|
||||||
echo "<BR><BR><a href=\"#\" onclick=\"AgentsXferSelect('0','$comments');return false;\">Close Window</a> ";
|
|
||||||
}
|
|
||||||
echo "</font>\n";
|
echo "</font>\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -278,10 +278,11 @@
|
|||||||
# 100207-1103 - Changed Pause Codes function to allow for multiple pause codes per pause period
|
# 100207-1103 - Changed Pause Codes function to allow for multiple pause codes per pause period
|
||||||
# 100220-1040 - Added Call Log View and Customer Info View and fixed HotKeys position
|
# 100220-1040 - Added Call Log View and Customer Info View and fixed HotKeys position
|
||||||
# 100221-1107 - Added Custom CID compatibility
|
# 100221-1107 - Added Custom CID compatibility
|
||||||
|
# 100301-1330 - Changed AGENTDIRECT user selection launching to AGENTS link next to number-to-dial field
|
||||||
#
|
#
|
||||||
|
|
||||||
$version = '2.4-256';
|
$version = '2.4-257';
|
||||||
$build = '100221-1107';
|
$build = '100301-1330';
|
||||||
$mel=1; # Mysql Error Log enabled = 1
|
$mel=1; # Mysql Error Log enabled = 1
|
||||||
$mysql_log_count=64;
|
$mysql_log_count=64;
|
||||||
$one_mysql_log=0;
|
$one_mysql_log=0;
|
||||||
@@ -541,7 +542,7 @@ if ($campaign_login_list > 0)
|
|||||||
if ($VD_campaign)
|
if ($VD_campaign)
|
||||||
{
|
{
|
||||||
if ( (eregi("$VD_campaign",$rowx[0])) and (strlen($VD_campaign) == strlen($rowx[0])) )
|
if ( (eregi("$VD_campaign",$rowx[0])) and (strlen($VD_campaign) == strlen($rowx[0])) )
|
||||||
{$camp_form_code .= "<option value=\"$rowx[0]\" SELECTED>$rowx[0]$campname</option>\n";}
|
{$camp_form_code .= "<option value=\"$rowx[0]\" selected>$rowx[0]$campname</option>\n";}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (!ereg('login_allowable_campaigns',$camp_form_code))
|
if (!ereg('login_allowable_campaigns',$camp_form_code))
|
||||||
@@ -4816,12 +4817,12 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
|
|||||||
while (loop_ct < XFgroupCOUNT)
|
while (loop_ct < XFgroupCOUNT)
|
||||||
{
|
{
|
||||||
if (VARxfergroups[loop_ct] == LIVE_default_xfer_group)
|
if (VARxfergroups[loop_ct] == LIVE_default_xfer_group)
|
||||||
{XfeR_SelecT = 'SELECTED ';}
|
{XfeR_SelecT = 'selected ';}
|
||||||
else {XfeR_SelecT = '';}
|
else {XfeR_SelecT = '';}
|
||||||
live_XfeR_HTML = live_XfeR_HTML + "<option " + XfeR_SelecT + "value=\"" + VARxfergroups[loop_ct] + "\">" + VARxfergroups[loop_ct] + " - " + VARxfergroupsnames[loop_ct] + "</option>\n";
|
live_XfeR_HTML = live_XfeR_HTML + "<option " + XfeR_SelecT + "value=\"" + VARxfergroups[loop_ct] + "\">" + VARxfergroups[loop_ct] + " - " + VARxfergroupsnames[loop_ct] + "</option>\n";
|
||||||
loop_ct++;
|
loop_ct++;
|
||||||
}
|
}
|
||||||
document.getElementById("XfeRGrouPLisT").innerHTML = "<select size=1 name=XfeRGrouP class=\"cust_form\" id=XfeRGrouP>" + live_XfeR_HTML + "</select>";
|
document.getElementById("XfeRGrouPLisT").innerHTML = "<select size=1 name=XfeRGrouP id=XfeRGrouP class=\"cust_form\" onChange=\"XferAgentSelectLink();return false;\">" + live_XfeR_HTML + "</select>";
|
||||||
|
|
||||||
// INSERT VICIDIAL_LOG ENTRY FOR THIS CALL PROCESS
|
// INSERT VICIDIAL_LOG ENTRY FOR THIS CALL PROCESS
|
||||||
DialLog("start");
|
DialLog("start");
|
||||||
@@ -6448,7 +6449,7 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
|
|||||||
CalL_XC_a_NuMber = VDIC_data_VDIG[8];
|
CalL_XC_a_NuMber = VDIC_data_VDIG[8];
|
||||||
CalL_XC_b_Dtmf = VDIC_data_VDIG[9];
|
CalL_XC_b_Dtmf = VDIC_data_VDIG[9];
|
||||||
CalL_XC_b_NuMber = VDIC_data_VDIG[10];
|
CalL_XC_b_NuMber = VDIC_data_VDIG[10];
|
||||||
if (VDIC_data_VDIG[11].length > 0)
|
if ( (VDIC_data_VDIG[11].length > 1) && (VDIC_data_VDIG[11] != '---NONE---') )
|
||||||
{LIVE_default_xfer_group = VDIC_data_VDIG[11];}
|
{LIVE_default_xfer_group = VDIC_data_VDIG[11];}
|
||||||
else
|
else
|
||||||
{LIVE_default_xfer_group = default_xfer_group;}
|
{LIVE_default_xfer_group = default_xfer_group;}
|
||||||
@@ -6705,12 +6706,12 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
|
|||||||
while (loop_ct < XFgroupCOUNT)
|
while (loop_ct < XFgroupCOUNT)
|
||||||
{
|
{
|
||||||
if (VARxfergroups[loop_ct] == LIVE_default_xfer_group)
|
if (VARxfergroups[loop_ct] == LIVE_default_xfer_group)
|
||||||
{XfeR_SelecT = 'SELECTED ';}
|
{XfeR_SelecT = 'selected ';}
|
||||||
else {XfeR_SelecT = '';}
|
else {XfeR_SelecT = '';}
|
||||||
live_XfeR_HTML = live_XfeR_HTML + "<option " + XfeR_SelecT + "value=\"" + VARxfergroups[loop_ct] + "\">" + VARxfergroups[loop_ct] + " - " + VARxfergroupsnames[loop_ct] + "</option>\n";
|
live_XfeR_HTML = live_XfeR_HTML + "<option " + XfeR_SelecT + "value=\"" + VARxfergroups[loop_ct] + "\">" + VARxfergroups[loop_ct] + " - " + VARxfergroupsnames[loop_ct] + "</option>\n";
|
||||||
loop_ct++;
|
loop_ct++;
|
||||||
}
|
}
|
||||||
document.getElementById("XfeRGrouPLisT").innerHTML = "<select size=1 name=XfeRGrouP class=\"cust_form\" id=XfeRGrouP>" + live_XfeR_HTML + "</select>";
|
document.getElementById("XfeRGrouPLisT").innerHTML = "<select size=1 name=XfeRGrouP class=\"cust_form\" id=XfeRGrouP onChange=\"XferAgentSelectLink();return false;\">" + live_XfeR_HTML + "</select>";
|
||||||
|
|
||||||
if (lastcustserverip == server_ip)
|
if (lastcustserverip == server_ip)
|
||||||
{
|
{
|
||||||
@@ -9328,13 +9329,21 @@ function phone_number_format(formatphone) {
|
|||||||
{
|
{
|
||||||
if (xmlhttp.readyState == 4 && xmlhttp.status == 200)
|
if (xmlhttp.readyState == 4 && xmlhttp.status == 200)
|
||||||
{
|
{
|
||||||
// alert(xmlhttp.responseText);
|
var newRAlocationHTML = xmlhttp.responseText;
|
||||||
document.getElementById(RAlocation).innerHTML = xmlhttp.responseText + "\n";
|
// alert(newRAlocationHTML);
|
||||||
|
|
||||||
|
if (RAlocation == 'AgentXferViewSelect')
|
||||||
|
{
|
||||||
|
document.getElementById(RAlocation).innerHTML = newRAlocationHTML + "\n<BR><BR><a href=\"#\" onclick=\"AgentsXferSelect('0','AgentXferViewSelect');return false;\">Close Window</a> ";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
document.getElementById(RAlocation).innerHTML = newRAlocationHTML + "\n";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
delete xmlhttp;
|
delete xmlhttp;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -9517,6 +9526,7 @@ function phone_number_format(formatphone) {
|
|||||||
function AgentsXferSelect(AXuser,AXlocation)
|
function AgentsXferSelect(AXuser,AXlocation)
|
||||||
{
|
{
|
||||||
xfer_select_agents_active=0;
|
xfer_select_agents_active=0;
|
||||||
|
document.getElementById('AgentXferViewSelect').innerHTML = '';
|
||||||
hideDiv('AgentXferViewSpan');
|
hideDiv('AgentXferViewSpan');
|
||||||
hideDiv(AXlocation);
|
hideDiv(AXlocation);
|
||||||
document.vicidial_form.xfernumber.value = AXuser;
|
document.vicidial_form.xfernumber.value = AXuser;
|
||||||
@@ -9524,7 +9534,24 @@ function phone_number_format(formatphone) {
|
|||||||
|
|
||||||
|
|
||||||
// ################################################################################
|
// ################################################################################
|
||||||
// OnFocus function for number to dial
|
// OnChange function for transfer group select list
|
||||||
|
function XferAgentSelectLink()
|
||||||
|
{
|
||||||
|
var XfeRSelecT = document.getElementById("XfeRGrouP");
|
||||||
|
var XScheck = XfeRSelecT.value
|
||||||
|
if (XScheck.match(/AGENTDIRECT/))
|
||||||
|
{
|
||||||
|
showDiv('agentdirectlink');
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
hideDiv('agentdirectlink');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// ################################################################################
|
||||||
|
// function for number to dial for AGENTDIRECT in-group transfers
|
||||||
function XferAgentSelectLaunch()
|
function XferAgentSelectLaunch()
|
||||||
{
|
{
|
||||||
var XfeRSelecT = document.getElementById("XfeRGrouP");
|
var XfeRSelecT = document.getElementById("XfeRGrouP");
|
||||||
@@ -9552,12 +9579,12 @@ function phone_number_format(formatphone) {
|
|||||||
while (loop_ct < XFgroupCOUNT)
|
while (loop_ct < XFgroupCOUNT)
|
||||||
{
|
{
|
||||||
if (VARxfergroups[loop_ct] == 'AGENTDIRECT')
|
if (VARxfergroups[loop_ct] == 'AGENTDIRECT')
|
||||||
{XfeR_SelecT = 'SELECTED ';}
|
{XfeR_SelecT = 'selected ';}
|
||||||
else {XfeR_SelecT = '';}
|
else {XfeR_SelecT = '';}
|
||||||
live_XfeR_HTML = live_XfeR_HTML + "<option " + XfeR_SelecT + "value=\"" + VARxfergroups[loop_ct] + "\">" + VARxfergroups[loop_ct] + " - " + VARxfergroupsnames[loop_ct] + "</option>\n";
|
live_XfeR_HTML = live_XfeR_HTML + "<option " + XfeR_SelecT + "value=\"" + VARxfergroups[loop_ct] + "\">" + VARxfergroups[loop_ct] + " - " + VARxfergroupsnames[loop_ct] + "</option>\n";
|
||||||
loop_ct++;
|
loop_ct++;
|
||||||
}
|
}
|
||||||
document.getElementById("XfeRGrouPLisT").innerHTML = "<select size=1 name=XfeRGrouP class=\"cust_form\" id=XfeRGrouP>" + live_XfeR_HTML + "</select>";
|
document.getElementById("XfeRGrouPLisT").innerHTML = "<select size=1 name=XfeRGrouP class=\"cust_form\" id=XfeRGrouP onChange=\"XferAgentSelectLink();return false;\">" + live_XfeR_HTML + "</select>";
|
||||||
|
|
||||||
mainxfer_send_redirect('XfeRLOCAL',lastcustchannel,lastcustserverip,'','NO');
|
mainxfer_send_redirect('XfeRLOCAL',lastcustchannel,lastcustserverip,'','NO');
|
||||||
|
|
||||||
@@ -9970,6 +9997,7 @@ else
|
|||||||
hideDiv('TimerSpan');
|
hideDiv('TimerSpan');
|
||||||
hideDiv('CalLLoGDisplaYBox');
|
hideDiv('CalLLoGDisplaYBox');
|
||||||
hideDiv('LeaDInfOBox');
|
hideDiv('LeaDInfOBox');
|
||||||
|
hideDiv('agentdirectlink');
|
||||||
if (is_webphone!='Y')
|
if (is_webphone!='Y')
|
||||||
{hideDiv('webphoneSpan');}
|
{hideDiv('webphoneSpan');}
|
||||||
if (view_calls_in_queue_launch != '1')
|
if (view_calls_in_queue_launch != '1')
|
||||||
@@ -10595,6 +10623,8 @@ else
|
|||||||
{
|
{
|
||||||
if (VU_vicidial_transfers == '1')
|
if (VU_vicidial_transfers == '1')
|
||||||
{
|
{
|
||||||
|
XferAgentSelectLink();
|
||||||
|
|
||||||
if (showxfervar == 'ON')
|
if (showxfervar == 'ON')
|
||||||
{
|
{
|
||||||
var xfer_height = <?php echo $HTheight ?>;
|
var xfer_height = <?php echo $HTheight ?>;
|
||||||
@@ -10751,6 +10781,7 @@ else
|
|||||||
.preview_text {font-size: 13px; font-family: sans-serif; background: #CCFFCC}
|
.preview_text {font-size: 13px; font-family: sans-serif; background: #CCFFCC}
|
||||||
.preview_text_red {font-size: 13px; font-family: sans-serif; background: #FFCCCC}
|
.preview_text_red {font-size: 13px; font-family: sans-serif; background: #FFCCCC}
|
||||||
.body_small {font-size: 11px; font-family: sans-serif;}
|
.body_small {font-size: 11px; font-family: sans-serif;}
|
||||||
|
.body_small_bold {font-size: 11px; font-family: sans-serif; font-weight: bold;}
|
||||||
.body_tiny {font-size: 10px; font-family: sans-serif;}
|
.body_tiny {font-size: 10px; font-family: sans-serif;}
|
||||||
.log_text {font-size: 11px; font-family: monospace;}
|
.log_text {font-size: 11px; font-family: monospace;}
|
||||||
.log_text_red {font-size: 11px; font-family: monospace; font-weight: bold; background: #FF3333}
|
.log_text_red {font-size: 11px; font-family: monospace; font-weight: bold; background: #FF3333}
|
||||||
@@ -11093,7 +11124,7 @@ if ($agent_display_dialable_leads > 0)
|
|||||||
<TABLE cellpadding=0 cellspacing=1 border=0>
|
<TABLE cellpadding=0 cellspacing=1 border=0>
|
||||||
<TR>
|
<TR>
|
||||||
<TD ALIGN=LEFT COLSPAN=3>
|
<TD ALIGN=LEFT COLSPAN=3>
|
||||||
<span id="XfeRGrouPLisT"><select size=1 name=XfeRGrouP class="cust_form"><option>-- SELECT A GROUP TO SEND YOUR CALL TO --</option></select></span>
|
<span id="XfeRGrouPLisT"><select size=1 name=XfeRGrouP id=XfeRGrouP class="cust_form" onChange="XferAgentSelectLink();return false;"><option>-- SELECT A GROUP TO SEND YOUR CALL TO --</option></select></span>
|
||||||
|
|
||||||
<span STYLE="background-color: <?php echo $MAIN_COLOR ?>" id="LocalCloser"><IMG SRC="./images/vdc_XB_localcloser_OFF.gif" border=0 alt="LOCAL CLOSER" style="vertical-align:middle"></span>
|
<span STYLE="background-color: <?php echo $MAIN_COLOR ?>" id="LocalCloser"><IMG SRC="./images/vdc_XB_localcloser_OFF.gif" border=0 alt="LOCAL CLOSER" style="vertical-align:middle"></span>
|
||||||
</TD>
|
</TD>
|
||||||
@@ -11120,7 +11151,8 @@ if ($agent_display_dialable_leads > 0)
|
|||||||
<TD ALIGN=LEFT COLSPAN=2>
|
<TD ALIGN=LEFT COLSPAN=2>
|
||||||
<IMG SRC="./images/vdc_XB_number.gif" border=0 alt="Number to call" style="vertical-align:middle">
|
<IMG SRC="./images/vdc_XB_number.gif" border=0 alt="Number to call" style="vertical-align:middle">
|
||||||
|
|
||||||
<input type=text size=20 name=xfernumber maxlength=25 class="cust_form" value="<?php echo $preset_populate ?>" onFocus="XferAgentSelectLaunch();return false;">
|
<input type=text size=20 name=xfernumber maxlength=25 class="cust_form" value="<?php echo $preset_populate ?>">
|
||||||
|
<span id=agentdirectlink><font class="body_small_bold"><a href="#" onclick="XferAgentSelectLaunch();return false;">AGENTS</a></font></span>
|
||||||
<input type=hidden name=xferuniqueid>
|
<input type=hidden name=xferuniqueid>
|
||||||
</TD>
|
</TD>
|
||||||
<TD ALIGN=LEFT>
|
<TD ALIGN=LEFT>
|
||||||
|
|||||||
@@ -12,6 +12,7 @@
|
|||||||
# 90508-0644 - Changed to PHP long tags
|
# 90508-0644 - Changed to PHP long tags
|
||||||
# 91112-0719 - Added in-group names to select list
|
# 91112-0719 - Added in-group names to select list
|
||||||
# 100214-1421 - Sort menu alphabetically
|
# 100214-1421 - Sort menu alphabetically
|
||||||
|
# 100301-1401 - Added popup date selector
|
||||||
#
|
#
|
||||||
|
|
||||||
require("dbconnect.php");
|
require("dbconnect.php");
|
||||||
@@ -180,6 +181,21 @@ else
|
|||||||
$query_date_END = "$end_date $time_END";
|
$query_date_END = "$end_date $time_END";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$query_dateARRAY = explode(" ",$query_date_BEGIN);
|
||||||
|
$query_date_D = $query_dateARRAY[0];
|
||||||
|
$query_date_T = $query_dateARRAY[1];
|
||||||
|
$end_dateARRAY = explode(" ",$query_date_END);
|
||||||
|
$end_date_D = $end_dateARRAY[0];
|
||||||
|
$end_date_T = $end_dateARRAY[1];
|
||||||
|
|
||||||
|
|
||||||
|
?>
|
||||||
|
|
||||||
|
<script language="JavaScript" src="calendar_db.js"></script>
|
||||||
|
<link rel="stylesheet" href="calendar.css">
|
||||||
|
|
||||||
|
<?php
|
||||||
|
|
||||||
echo "<META HTTP-EQUIV=\"Content-Type\" CONTENT=\"text/html; charset=utf-8\">\n";
|
echo "<META HTTP-EQUIV=\"Content-Type\" CONTENT=\"text/html; charset=utf-8\">\n";
|
||||||
echo "<TITLE>IVR Stats Report</TITLE></HEAD><BODY BGCOLOR=WHITE marginheight=0 marginwidth=0 leftmargin=0 topmargin=0>\n";
|
echo "<TITLE>IVR Stats Report</TITLE></HEAD><BODY BGCOLOR=WHITE marginheight=0 marginwidth=0 leftmargin=0 topmargin=0>\n";
|
||||||
|
|
||||||
@@ -198,12 +214,48 @@ if ($DB > 0)
|
|||||||
echo "<BR>\n";
|
echo "<BR>\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
echo "<FORM ACTION=\"$PHP_SELF\" METHOD=GET>\n";
|
echo "<FORM ACTION=\"$PHP_SELF\" METHOD=GET name=vicidial_report id=vicidial_report>\n";
|
||||||
echo "<TABLE BORDER=0><TR><TD VALIGN=TOP>\n";
|
echo "<TABLE BORDER=0><TR><TD VALIGN=TOP>\n";
|
||||||
echo "<INPUT TYPE=HIDDEN NAME=DB VALUE=\"$DB\">\n";
|
echo "<INPUT TYPE=HIDDEN NAME=DB VALUE=\"$DB\">\n";
|
||||||
echo "Date Range:<BR>\n";
|
echo "Date Range:<BR>\n";
|
||||||
echo "<INPUT TYPE=TEXT NAME=query_date SIZE=19 MAXLENGTH=19 VALUE=\"$query_date_BEGIN\">\n";
|
|
||||||
echo " to <INPUT TYPE=TEXT NAME=end_date SIZE=19 MAXLENGTH=19 VALUE=\"$query_date_END\">\n";
|
echo "<INPUT TYPE=hidden NAME=query_date ID=query_date VALUE=\"$query_date\">\n";
|
||||||
|
echo "<INPUT TYPE=hidden NAME=end_date ID=end_date VALUE=\"$end_date\">\n";
|
||||||
|
echo "<INPUT TYPE=TEXT NAME=query_date_D SIZE=11 MAXLENGTH=10 VALUE=\"$query_date_D\">";
|
||||||
|
|
||||||
|
?>
|
||||||
|
<script language="JavaScript">
|
||||||
|
var o_cal = new tcal ({
|
||||||
|
// form name
|
||||||
|
'formname': 'vicidial_report',
|
||||||
|
// input name
|
||||||
|
'controlname': 'query_date_D'
|
||||||
|
});
|
||||||
|
o_cal.a_tpl.yearscroll = false;
|
||||||
|
// o_cal.a_tpl.weekstart = 1; // Monday week start
|
||||||
|
</script>
|
||||||
|
<?php
|
||||||
|
|
||||||
|
echo " <INPUT TYPE=TEXT NAME=query_date_T SIZE=9 MAXLENGTH=8 VALUE=\"$query_date_T\">";
|
||||||
|
|
||||||
|
echo "<BR> to <BR><INPUT TYPE=TEXT NAME=end_date_D SIZE=11 MAXLENGTH=10 VALUE=\"$end_date_D\">";
|
||||||
|
|
||||||
|
?>
|
||||||
|
<script language="JavaScript">
|
||||||
|
var o_cal = new tcal ({
|
||||||
|
// form name
|
||||||
|
'formname': 'vicidial_report',
|
||||||
|
// input name
|
||||||
|
'controlname': 'end_date_D'
|
||||||
|
});
|
||||||
|
o_cal.a_tpl.yearscroll = false;
|
||||||
|
// o_cal.a_tpl.weekstart = 1; // Monday week start
|
||||||
|
</script>
|
||||||
|
<?php
|
||||||
|
|
||||||
|
echo " <INPUT TYPE=TEXT NAME=end_date_T SIZE=9 MAXLENGTH=8 VALUE=\"$end_date_T\">";
|
||||||
|
|
||||||
|
|
||||||
echo "</TD><TD ROWSPAN=2 VALIGN=TOP>\n";
|
echo "</TD><TD ROWSPAN=2 VALIGN=TOP>\n";
|
||||||
echo "Inbound Groups: \n";
|
echo "Inbound Groups: \n";
|
||||||
echo "</TD><TD ROWSPAN=2 VALIGN=TOP>\n";
|
echo "</TD><TD ROWSPAN=2 VALIGN=TOP>\n";
|
||||||
@@ -245,7 +297,23 @@ echo "<option value=\"PM\">PM</option>\n";
|
|||||||
echo "<option value=\"ALL\">ALL</option>\n";
|
echo "<option value=\"ALL\">ALL</option>\n";
|
||||||
echo "<option value=\"RANGE\">RANGE</option>\n";
|
echo "<option value=\"RANGE\">RANGE</option>\n";
|
||||||
echo "</SELECT>\n";
|
echo "</SELECT>\n";
|
||||||
echo " <INPUT TYPE=submit NAME=SUBMIT VALUE=SUBMIT>\n";
|
|
||||||
|
?>
|
||||||
|
<SCRIPT LANGUAGE="JavaScript">
|
||||||
|
|
||||||
|
function submit_form()
|
||||||
|
{
|
||||||
|
document.vicidial_report.end_date.value = document.vicidial_report.end_date_D.value + " " + document.vicidial_report.end_date_T.value;
|
||||||
|
document.vicidial_report.query_date.value = document.vicidial_report.query_date_D.value + " " + document.vicidial_report.query_date_T.value;
|
||||||
|
|
||||||
|
document.vicidial_report.submit();
|
||||||
|
}
|
||||||
|
|
||||||
|
</SCRIPT>
|
||||||
|
|
||||||
|
<input type=button value="SUBMIT" name=smt id=smt onClick="submit_form()">
|
||||||
|
<?php
|
||||||
|
|
||||||
echo "</TD></TR></TABLE>\n";
|
echo "</TD></TR></TABLE>\n";
|
||||||
echo "</FORM>\n\n";
|
echo "</FORM>\n\n";
|
||||||
|
|
||||||
@@ -260,7 +328,8 @@ if ($groups_to_print < 1)
|
|||||||
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
echo "IVR Stats Report: $group_string $NOW_TIME\n";
|
echo "IVR Stats Report: $query_date_BEGIN to $query_date_END $NOW_TIME\n";
|
||||||
|
echo " $group_string\n";
|
||||||
|
|
||||||
$TOTALcalls=0;
|
$TOTALcalls=0;
|
||||||
$NOCALLERIDcalls=0;
|
$NOCALLERIDcalls=0;
|
||||||
@@ -493,17 +562,6 @@ else
|
|||||||
echo "+--------+--------+--------+--------+------+------+\n";
|
echo "+--------+--------+--------+--------+------+------+\n";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
##############################
|
##############################
|
||||||
######### TIME STATS
|
######### TIME STATS
|
||||||
|
|
||||||
@@ -660,14 +718,6 @@ else
|
|||||||
echo "+------+-------------------------------------------------------------------------------------------------------+-------+\n\n";
|
echo "+------+-------------------------------------------------------------------------------------------------------+-------+\n\n";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$ENDtime = date("U");
|
$ENDtime = date("U");
|
||||||
$RUNtime = ($ENDtime - $STARTtime);
|
$RUNtime = ($ENDtime - $STARTtime);
|
||||||
echo "\nRun Time: $RUNtime seconds\n";
|
echo "\nRun Time: $RUNtime seconds\n";
|
||||||
|
|||||||
@@ -3,10 +3,11 @@
|
|||||||
#
|
#
|
||||||
# Pulls all timeclock records for an agent
|
# Pulls all timeclock records for an agent
|
||||||
#
|
#
|
||||||
# Copyright (C) 2009 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
|
# Copyright (C) 2010 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
|
||||||
#
|
#
|
||||||
# CHANGES
|
# CHANGES
|
||||||
# 90602-2244 - First build
|
# 90602-2244 - First build
|
||||||
|
# 100301-1401 - Added popup date selector
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
@@ -46,12 +47,10 @@ $stmt = "SELECT use_non_latin FROM system_settings;";
|
|||||||
$rslt=mysql_query($stmt, $link);
|
$rslt=mysql_query($stmt, $link);
|
||||||
if ($DB) {echo "$stmt\n";}
|
if ($DB) {echo "$stmt\n";}
|
||||||
$qm_conf_ct = mysql_num_rows($rslt);
|
$qm_conf_ct = mysql_num_rows($rslt);
|
||||||
$i=0;
|
if ($qm_conf_ct > 0)
|
||||||
while ($i < $qm_conf_ct)
|
|
||||||
{
|
{
|
||||||
$row=mysql_fetch_row($rslt);
|
$row=mysql_fetch_row($rslt);
|
||||||
$non_latin = $row[0];
|
$non_latin = $row[0];
|
||||||
$i++;
|
|
||||||
}
|
}
|
||||||
##### END SETTINGS LOOKUP #####
|
##### END SETTINGS LOOKUP #####
|
||||||
###########################################
|
###########################################
|
||||||
@@ -84,6 +83,13 @@ if (!isset($end_date)) {$end_date = "$NOW_DATE 23:59:59";}
|
|||||||
$query_dateURL = ereg_replace(' ','+',$query_date);
|
$query_dateURL = ereg_replace(' ','+',$query_date);
|
||||||
$end_dateURL = ereg_replace(' ','+',$end_date);
|
$end_dateURL = ereg_replace(' ','+',$end_date);
|
||||||
|
|
||||||
|
$query_dateARRAY = explode(" ",$query_date);
|
||||||
|
$query_date_D = $query_dateARRAY[0];
|
||||||
|
$query_date_T = $query_dateARRAY[1];
|
||||||
|
$end_dateARRAY = explode(" ",$end_date);
|
||||||
|
$end_date_D = $end_dateARRAY[0];
|
||||||
|
$end_date_T = $end_dateARRAY[1];
|
||||||
|
|
||||||
$stmt="select campaign_id from vicidial_campaigns;";
|
$stmt="select campaign_id from vicidial_campaigns;";
|
||||||
$rslt=mysql_query($stmt, $link);
|
$rslt=mysql_query($stmt, $link);
|
||||||
if ($DB) {echo "$stmt\n";}
|
if ($DB) {echo "$stmt\n";}
|
||||||
@@ -177,6 +183,9 @@ if ($file_download < 1)
|
|||||||
-->
|
-->
|
||||||
</STYLE>
|
</STYLE>
|
||||||
|
|
||||||
|
<script language="JavaScript" src="calendar_db.js"></script>
|
||||||
|
<link rel="stylesheet" href="calendar.css">
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
echo "<META HTTP-EQUIV=\"Content-Type\" CONTENT=\"text/html; charset=utf-8\">\n";
|
echo "<META HTTP-EQUIV=\"Content-Type\" CONTENT=\"text/html; charset=utf-8\">\n";
|
||||||
echo "<TITLE>User Time-Clock Detail</TITLE></HEAD><BODY BGCOLOR=white marginheight=0 marginwidth=0 leftmargin=0 topmargin=0>\n";
|
echo "<TITLE>User Time-Clock Detail</TITLE></HEAD><BODY BGCOLOR=white marginheight=0 marginwidth=0 leftmargin=0 topmargin=0>\n";
|
||||||
@@ -470,7 +479,7 @@ else
|
|||||||
|
|
||||||
|
|
||||||
### BEGIN sort through output to display properly ###
|
### BEGIN sort through output to display properly ###
|
||||||
if (ereg("NAME|ID|TCLOCK|GROUP",$stage))
|
if ( (ereg("NAME|ID|TCLOCK|GROUP",$stage)) and ($k > 0) )
|
||||||
{
|
{
|
||||||
if (ereg("ID",$stage))
|
if (ereg("ID",$stage))
|
||||||
{sort($TOPsort, SORT_NUMERIC);}
|
{sort($TOPsort, SORT_NUMERIC);}
|
||||||
@@ -563,11 +572,44 @@ if ($file_download > 0)
|
|||||||
############################################################################
|
############################################################################
|
||||||
##### BEGIN HTML form section
|
##### BEGIN HTML form section
|
||||||
############################################################################
|
############################################################################
|
||||||
echo "<FORM ACTION=\"$PHP_SELF\" METHOD=GET>\n";
|
echo "<FORM ACTION=\"$PHP_SELF\" METHOD=GET name=vicidial_report id=vicidial_report>\n";
|
||||||
echo "<TABLE CELLSPACING=3><TR><TD VALIGN=TOP> Dates:<BR>";
|
echo "<TABLE CELLSPACING=3><TR><TD VALIGN=TOP> Dates:<BR>";
|
||||||
echo "<INPUT TYPE=hidden NAME=DB VALUE=\"$DB\">\n";
|
echo "<INPUT TYPE=hidden NAME=DB VALUE=\"$DB\">\n";
|
||||||
echo "<INPUT TYPE=TEXT NAME=query_date SIZE=20 MAXLENGTH=20 VALUE=\"$query_date\">\n";
|
echo "<INPUT TYPE=hidden NAME=query_date ID=query_date VALUE=\"$query_date\">\n";
|
||||||
echo "<BR> to <BR><INPUT TYPE=TEXT NAME=end_date SIZE=20 MAXLENGTH=20 VALUE=\"$end_date\">\n";
|
echo "<INPUT TYPE=hidden NAME=end_date ID=end_date VALUE=\"$end_date\">\n";
|
||||||
|
echo "<INPUT TYPE=TEXT NAME=query_date_D SIZE=11 MAXLENGTH=10 VALUE=\"$query_date_D\">";
|
||||||
|
|
||||||
|
?>
|
||||||
|
<script language="JavaScript">
|
||||||
|
var o_cal = new tcal ({
|
||||||
|
// form name
|
||||||
|
'formname': 'vicidial_report',
|
||||||
|
// input name
|
||||||
|
'controlname': 'query_date_D'
|
||||||
|
});
|
||||||
|
o_cal.a_tpl.yearscroll = false;
|
||||||
|
// o_cal.a_tpl.weekstart = 1; // Monday week start
|
||||||
|
</script>
|
||||||
|
<?php
|
||||||
|
|
||||||
|
echo " <INPUT TYPE=TEXT NAME=query_date_T SIZE=9 MAXLENGTH=8 VALUE=\"$query_date_T\">";
|
||||||
|
|
||||||
|
echo "<BR> to <BR><INPUT TYPE=TEXT NAME=end_date_D SIZE=11 MAXLENGTH=10 VALUE=\"$end_date_D\">";
|
||||||
|
|
||||||
|
?>
|
||||||
|
<script language="JavaScript">
|
||||||
|
var o_cal = new tcal ({
|
||||||
|
// form name
|
||||||
|
'formname': 'vicidial_report',
|
||||||
|
// input name
|
||||||
|
'controlname': 'end_date_D'
|
||||||
|
});
|
||||||
|
o_cal.a_tpl.yearscroll = false;
|
||||||
|
// o_cal.a_tpl.weekstart = 1; // Monday week start
|
||||||
|
</script>
|
||||||
|
<?php
|
||||||
|
|
||||||
|
echo " <INPUT TYPE=TEXT NAME=end_date_T SIZE=9 MAXLENGTH=8 VALUE=\"$end_date_T\">";
|
||||||
|
|
||||||
# echo "</TD><TD VALIGN=TOP> Campaigns:<BR>";
|
# echo "</TD><TD VALIGN=TOP> Campaigns:<BR>";
|
||||||
# echo "<SELECT SIZE=5 NAME=group[] multiple>\n";
|
# echo "<SELECT SIZE=5 NAME=group[] multiple>\n";
|
||||||
@@ -607,7 +649,25 @@ echo "<option value=\"AM\">AM</option>\n";
|
|||||||
echo "<option value=\"PM\">PM</option>\n";
|
echo "<option value=\"PM\">PM</option>\n";
|
||||||
echo "<option value=\"ALL\">ALL</option>\n";
|
echo "<option value=\"ALL\">ALL</option>\n";
|
||||||
echo "</SELECT><BR><BR>\n";
|
echo "</SELECT><BR><BR>\n";
|
||||||
echo "<INPUT TYPE=SUBMIT NAME=SUBMIT VALUE=SUBMIT>\n";
|
|
||||||
|
|
||||||
|
?>
|
||||||
|
<SCRIPT LANGUAGE="JavaScript">
|
||||||
|
|
||||||
|
function submit_form()
|
||||||
|
{
|
||||||
|
document.vicidial_report.end_date.value = document.vicidial_report.end_date_D.value + " " + document.vicidial_report.end_date_T.value;
|
||||||
|
document.vicidial_report.query_date.value = document.vicidial_report.query_date_D.value + " " + document.vicidial_report.query_date_T.value;
|
||||||
|
|
||||||
|
document.vicidial_report.submit();
|
||||||
|
}
|
||||||
|
|
||||||
|
</SCRIPT>
|
||||||
|
|
||||||
|
<input type=button value="SUBMIT" name=smt id=smt onClick="submit_form()">
|
||||||
|
<?php
|
||||||
|
|
||||||
|
|
||||||
echo "</TD><TD VALIGN=TOP> ";
|
echo "</TD><TD VALIGN=TOP> ";
|
||||||
|
|
||||||
echo "<FONT FACE=\"ARIAL,HELVETICA\" COLOR=BLACK SIZE=2> \n";
|
echo "<FONT FACE=\"ARIAL,HELVETICA\" COLOR=BLACK SIZE=2> \n";
|
||||||
|
|||||||
@@ -59,10 +59,11 @@
|
|||||||
# 91102-2013 - Changed in-group color styles for incoming calls waiting
|
# 91102-2013 - Changed in-group color styles for incoming calls waiting
|
||||||
# 91204-1548 - Added ability to change agent in-groups and blended
|
# 91204-1548 - Added ability to change agent in-groups and blended
|
||||||
# 100214-1127 - Added no-dialable-leads alert and in-groups stats option
|
# 100214-1127 - Added no-dialable-leads alert and in-groups stats option
|
||||||
|
# 100301-1229 - Added 3-WAY status for consultative transfer agents
|
||||||
#
|
#
|
||||||
|
|
||||||
$version = '2.2.0-50';
|
$version = '2.2.0-51';
|
||||||
$build = '100214-1127';
|
$build = '100301-1229';
|
||||||
|
|
||||||
header ("Content-type: text/html; charset=utf-8");
|
header ("Content-type: text/html; charset=utf-8");
|
||||||
|
|
||||||
@@ -664,6 +665,7 @@ function hide_ingroup_info()
|
|||||||
.violet {color: black; background-color: #EE82EE}
|
.violet {color: black; background-color: #EE82EE}
|
||||||
.thistle {color: black; background-color: #D8BFD8}
|
.thistle {color: black; background-color: #D8BFD8}
|
||||||
.olive {color: white; background-color: #808000}
|
.olive {color: white; background-color: #808000}
|
||||||
|
.lime {color: white; background-color: #006600}
|
||||||
.yellow {color: black; background-color: yellow}
|
.yellow {color: black; background-color: yellow}
|
||||||
.khaki {color: black; background-color: #F0E68C}
|
.khaki {color: black; background-color: #F0E68C}
|
||||||
.orange {color: black; background-color: orange}
|
.orange {color: black; background-color: orange}
|
||||||
@@ -1729,6 +1731,20 @@ $talking_to_print = mysql_num_rows($rslt);
|
|||||||
$Alead_id[$i] = $row[14];
|
$Alead_id[$i] = $row[14];
|
||||||
$Astate_change[$i] = $row[15];
|
$Astate_change[$i] = $row[15];
|
||||||
|
|
||||||
|
### 3-WAY Check ###
|
||||||
|
if ($Alead_id[$i]!=0)
|
||||||
|
{
|
||||||
|
$threewaystmt="select UNIX_TIMESTAMP(last_call_time) from vicidial_live_agents where lead_id='$Alead_id[$i]' and status='INCALL' order by UNIX_TIMESTAMP(last_call_time) desc";
|
||||||
|
$threewayrslt=mysql_query($threewaystmt, $link);
|
||||||
|
if (mysql_num_rows($threewayrslt)>1)
|
||||||
|
{
|
||||||
|
$Astatus[$i]="3-WAY";
|
||||||
|
$srow=mysql_fetch_row($threewayrslt);
|
||||||
|
$Acall_mostrecent[$i]=$srow[0];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
### END 3-WAY Check ###
|
||||||
|
|
||||||
$i++;
|
$i++;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1946,8 +1962,10 @@ $calls_to_list = mysql_num_rows($rslt);
|
|||||||
while(mb_strlen($user, 'utf-8')>20) {$user = mb_substr("$user", 0, -1,'utf8');}
|
while(mb_strlen($user, 'utf-8')>20) {$user = mb_substr("$user", 0, -1,'utf8');}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!eregi("INCALL|QUEUE|PARK",$Astatus[$i]))
|
if (!eregi("INCALL|QUEUE|PARK|3-WAY",$Astatus[$i]))
|
||||||
{$call_time_S = ($STARTtime - $Astate_change[$i]);}
|
{$call_time_S = ($STARTtime - $Astate_change[$i]);}
|
||||||
|
else if (eregi("3-WAY",$Astatus[$i]))
|
||||||
|
{$call_time_S = ($STARTtime - $Acall_mostrecent[$i]);}
|
||||||
else
|
else
|
||||||
{$call_time_S = ($STARTtime - $Acall_time[$i]);}
|
{$call_time_S = ($STARTtime - $Acall_time[$i]);}
|
||||||
|
|
||||||
@@ -1961,6 +1979,10 @@ $calls_to_list = mysql_num_rows($rslt);
|
|||||||
if ($call_time_S >= 300) {$G='<SPAN class="purple"><B>'; $EG='</B></SPAN>';}
|
if ($call_time_S >= 300) {$G='<SPAN class="purple"><B>'; $EG='</B></SPAN>';}
|
||||||
# if ($call_time_S >= 600) {$G='<SPAN class="purple"><B>'; $EG='</B></SPAN>';}
|
# if ($call_time_S >= 600) {$G='<SPAN class="purple"><B>'; $EG='</B></SPAN>';}
|
||||||
}
|
}
|
||||||
|
if ($Lstatus=='3-WAY')
|
||||||
|
{
|
||||||
|
if ($call_time_S >= 10) {$G='<SPAN class="lime"><B>'; $EG='</B></SPAN>';}
|
||||||
|
}
|
||||||
if ($Lstatus=='DEAD')
|
if ($Lstatus=='DEAD')
|
||||||
{
|
{
|
||||||
if ($call_time_S >= 21600)
|
if ($call_time_S >= 21600)
|
||||||
@@ -2012,7 +2034,7 @@ $calls_to_list = mysql_num_rows($rslt);
|
|||||||
# if ( (strlen($Acall_server_ip[$i])> 4) and ($Acall_server_ip[$i] != "$Aserver_ip[$i]") )
|
# if ( (strlen($Acall_server_ip[$i])> 4) and ($Acall_server_ip[$i] != "$Aserver_ip[$i]") )
|
||||||
# {$G='<SPAN class="orange"><B>'; $EG='</B></SPAN>';}
|
# {$G='<SPAN class="orange"><B>'; $EG='</B></SPAN>';}
|
||||||
|
|
||||||
if ( (eregi("INCALL",$status)) or (eregi("QUEUE",$status)) or (eregi("PARK",$status)) ) {$agent_incall++; $agent_total++;}
|
if ( (eregi("INCALL",$status)) or (eregi("QUEUE",$status)) or (eregi("3-WAY",$status)) or (eregi("PARK",$status))) {$agent_incall++; $agent_total++;}
|
||||||
if ( (eregi("READY",$status)) or (eregi("CLOSER",$status)) ) {$agent_ready++; $agent_total++;}
|
if ( (eregi("READY",$status)) or (eregi("CLOSER",$status)) ) {$agent_ready++; $agent_total++;}
|
||||||
if ( (eregi("READY",$status)) or (eregi("CLOSER",$status)) )
|
if ( (eregi("READY",$status)) or (eregi("CLOSER",$status)) )
|
||||||
{
|
{
|
||||||
@@ -2085,6 +2107,7 @@ $calls_to_list = mysql_num_rows($rslt);
|
|||||||
$Aecho .= " <SPAN class=\"khaki\"><B> </SPAN> - Agent Paused > 10 seconds</B>\n";
|
$Aecho .= " <SPAN class=\"khaki\"><B> </SPAN> - Agent Paused > 10 seconds</B>\n";
|
||||||
$Aecho .= " <SPAN class=\"yellow\"><B> </SPAN> - Agent Paused > 1 minute</B>\n";
|
$Aecho .= " <SPAN class=\"yellow\"><B> </SPAN> - Agent Paused > 1 minute</B>\n";
|
||||||
$Aecho .= " <SPAN class=\"olive\"><B> </SPAN> - Agent Paused > 5 minutes</B>\n";
|
$Aecho .= " <SPAN class=\"olive\"><B> </SPAN> - Agent Paused > 5 minutes</B>\n";
|
||||||
|
$Aecho .= " <SPAN class=\"lime\"><B> </SPAN> - Agent in 3-WAY > 10 seconds</B>\n";
|
||||||
$Aecho .= " <SPAN class=\"black\"><B> </SPAN> - Agent on a dead call</B>\n";
|
$Aecho .= " <SPAN class=\"black\"><B> </SPAN> - Agent on a dead call</B>\n";
|
||||||
|
|
||||||
if ($agent_ready > 0) {$B='<FONT class="b1">'; $BG='</FONT>';}
|
if ($agent_ready > 0) {$B='<FONT class="b1">'; $BG='</FONT>';}
|
||||||
|
|||||||
Reference in New Issue
Block a user