updated language builds
release 2.2.0rc5 flagged git-svn-id: svn://192.168.202.10@1339 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
@@ -232,12 +232,13 @@
|
||||
# 100109-1336 - Fixed Manual dial live call detection
|
||||
# 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
|
||||
# 100207-1110 - Changed Pause Codes function to allow for multiple pause codes per pause period
|
||||
#
|
||||
|
||||
$version = '2.2.0-140';
|
||||
$build = '100202-2306';
|
||||
$version = '2.2.0-141';
|
||||
$build = '100207-1110';
|
||||
$mel=1; # Mysql Error Log enabled = 1
|
||||
$mysql_log_count=300;
|
||||
$mysql_log_count=309;
|
||||
$one_mysql_log=0;
|
||||
|
||||
require("dbconnect.php");
|
||||
@@ -1864,7 +1865,7 @@ if ($ACTION == 'manDiaLnextCaLL')
|
||||
$stmt = "select pause_epoch,pause_sec,wait_epoch,talk_epoch,dispo_epoch,agent_log_id from vicidial_agent_log where agent_log_id >= '$agent_log_id' and user='$user' order by agent_log_id desc limit 1;";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
if ($mel > 0) {mysql_error_logging($NOW_TIME,$link,$mel,$stmt,'00XXX',$user,$server_ip,$session_name,$one_mysql_log);}
|
||||
if ($mel > 0) {mysql_error_logging($NOW_TIME,$link,$mel,$stmt,'00301',$user,$server_ip,$session_name,$one_mysql_log);}
|
||||
$VDpr_ct = mysql_num_rows($rslt);
|
||||
if ( ($VDpr_ct > 0) and (strlen($row[3]<5)) and (strlen($row[4]<5)) )
|
||||
{
|
||||
@@ -1875,7 +1876,7 @@ if ($ACTION == 'manDiaLnextCaLL')
|
||||
$stmt="UPDATE vicidial_agent_log set pause_sec='$pause_sec',wait_epoch='$StarTtime' where agent_log_id='$agent_log_id';";
|
||||
if ($format=='debug') {echo "\n<!-- $stmt -->";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
if ($mel > 0) {mysql_error_logging($NOW_TIME,$link,$mel,$stmt,'00XXX',$user,$server_ip,$session_name,$one_mysql_log);}
|
||||
if ($mel > 0) {mysql_error_logging($NOW_TIME,$link,$mel,$stmt,'00302',$user,$server_ip,$session_name,$one_mysql_log);}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2293,7 +2294,7 @@ if ($ACTION == 'manDiaLonly')
|
||||
$stmt = "select pause_epoch,pause_sec,wait_epoch,talk_epoch,dispo_epoch,agent_log_id from vicidial_agent_log where agent_log_id >= '$agent_log_id' and user='$user' order by agent_log_id desc limit 1;";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
if ($mel > 0) {mysql_error_logging($NOW_TIME,$link,$mel,$stmt,'00XXX',$user,$server_ip,$session_name,$one_mysql_log);}
|
||||
if ($mel > 0) {mysql_error_logging($NOW_TIME,$link,$mel,$stmt,'00303',$user,$server_ip,$session_name,$one_mysql_log);}
|
||||
$VDpr_ct = mysql_num_rows($rslt);
|
||||
if ( ($VDpr_ct > 0) and (strlen($row[3]<5)) and (strlen($row[4]<5)) )
|
||||
{
|
||||
@@ -2304,7 +2305,7 @@ if ($ACTION == 'manDiaLonly')
|
||||
$stmt="UPDATE vicidial_agent_log set pause_sec='$pause_sec',wait_epoch='$StarTtime' where agent_log_id='$agent_log_id';";
|
||||
if ($format=='debug') {echo "\n<!-- $stmt -->";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
if ($mel > 0) {mysql_error_logging($NOW_TIME,$link,$mel,$stmt,'00XXX',$user,$server_ip,$session_name,$one_mysql_log);}
|
||||
if ($mel > 0) {mysql_error_logging($NOW_TIME,$link,$mel,$stmt,'00304',$user,$server_ip,$session_name,$one_mysql_log);}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6139,11 +6140,61 @@ if ($ACTION == 'PauseCodeSubmit')
|
||||
}
|
||||
else
|
||||
{
|
||||
$stmt="UPDATE vicidial_agent_log set sub_status=\"$status\" where agent_log_id='$agent_log_id';";
|
||||
if ($format=='debug') {echo "\n<!-- $stmt -->";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
if ($mel > 0) {mysql_error_logging($NOW_TIME,$link,$mel,$stmt,'00175',$user,$server_ip,$session_name,$one_mysql_log);}
|
||||
$affected_rows = mysql_affected_rows($link);
|
||||
### if this is the first pause code entry in a pause session, simply update and log to queue_log
|
||||
if ($stage < 1)
|
||||
{
|
||||
$stmt="UPDATE vicidial_agent_log set sub_status=\"$status\" where agent_log_id='$agent_log_id';";
|
||||
if ($format=='debug') {echo "\n<!-- $stmt -->";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
if ($mel > 0) {mysql_error_logging($NOW_TIME,$link,$mel,$stmt,'00175',$user,$server_ip,$session_name,$one_mysql_log);}
|
||||
$affected_rows = mysql_affected_rows($link);
|
||||
}
|
||||
### this is not the first pause code entry, insert new vicidial_agent_log entry
|
||||
else
|
||||
{
|
||||
$pause_sec=0;
|
||||
$stmt = "select pause_epoch from vicidial_agent_log where agent_log_id='$agent_log_id';";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
if ($mel > 0) {mysql_error_logging($NOW_TIME,$link,$mel,$stmt,'00305',$user,$server_ip,$session_name,$one_mysql_log);}
|
||||
$VDpr_ct = mysql_num_rows($rslt);
|
||||
if ($VDpr_ct > 0)
|
||||
{
|
||||
$row=mysql_fetch_row($rslt);
|
||||
$pause_sec = ($StarTtime - $row[0]);
|
||||
}
|
||||
$stmt="UPDATE vicidial_agent_log set pause_sec='$pause_sec' where agent_log_id='$agent_log_id';";
|
||||
if ($format=='debug') {echo "\n<!-- $stmt -->";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
if ($mel > 0) {mysql_error_logging($NOW_TIME,$link,$mel,$stmt,'00306',$user,$server_ip,$session_name,$one_mysql_log);}
|
||||
|
||||
$user_group='';
|
||||
$stmt="SELECT user_group FROM vicidial_users where user='$user' LIMIT 1;";
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
if ($mel > 0) {mysql_error_logging($NOW_TIME,$link,$mel,$stmt,'00309',$user,$server_ip,$session_name,$one_mysql_log);}
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$ug_record_ct = mysql_num_rows($rslt);
|
||||
if ($ug_record_ct > 0)
|
||||
{
|
||||
$row=mysql_fetch_row($rslt);
|
||||
$user_group = trim("$row[0]");
|
||||
}
|
||||
|
||||
$stmt="INSERT INTO vicidial_agent_log (user,server_ip,event_time,campaign_id,pause_epoch,pause_sec,wait_epoch,user_group,sub_status) values('$user','$server_ip','$NOW_TIME','$campaign','$StarTtime','0','$StarTtime','$user_group','$status');";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
if ($mel > 0) {mysql_error_logging($NOW_TIME,$link,$mel,$stmt,'00307',$user,$server_ip,$session_name,$one_mysql_log);}
|
||||
$affected_rows = mysql_affected_rows($link);
|
||||
$agent_log_id = mysql_insert_id($link);
|
||||
|
||||
$stmt="UPDATE vicidial_live_agents SET agent_log_id='$agent_log_id' where user='$user';";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
if ($mel > 0) {mysql_error_logging($NOW_TIME,$link,$mel,$stmt,'00308',$VD_login,$server_ip,$session_name,$one_mysql_log);}
|
||||
$VLAaffected_rows_update = mysql_affected_rows($link);
|
||||
}
|
||||
|
||||
### if entry accepted, add a queue_log entry if QM integration is enabled
|
||||
if ($affected_rows > 0)
|
||||
{
|
||||
#############################################
|
||||
@@ -6188,7 +6239,7 @@ if ($ACTION == 'PauseCodeSubmit')
|
||||
}
|
||||
}
|
||||
}
|
||||
echo " Pause Code has been updated to $status for $agent_log_id\n";
|
||||
echo ' Pause Code ' . $status . " has been recorded\nNext agent_log_id:\n" . $agent_log_id . "\n";
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -178,6 +178,8 @@ $ENTRYdate = date("YmdHis");
|
||||
$MT[0]='';
|
||||
$agents='@agents';
|
||||
|
||||
$script_height = ($script_height - 20);
|
||||
|
||||
$IFRAME=0;
|
||||
|
||||
#############################################
|
||||
|
||||
@@ -273,10 +273,11 @@
|
||||
# 100109-1338 - Fixed Manual dial live call detection
|
||||
# 100116-0709 - Added presets to script and web form variables
|
||||
# 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
|
||||
#
|
||||
|
||||
$version = '2.2.0-251';
|
||||
$build = '100203-0640';
|
||||
$version = '2.2.0-252';
|
||||
$build = '100207-1109';
|
||||
$mel=1; # Mysql Error Log enabled = 1
|
||||
$mysql_log_count=64;
|
||||
$one_mysql_log=0;
|
||||
@@ -2238,6 +2239,7 @@ $HKwidth = ($MASTERwidth + 20); # 450 - Hotkeys button
|
||||
$HSwidth = ($MASTERwidth + 1); # 431 - Header spacer
|
||||
$CLwidth = ($MASTERwidth - 160); # 270 - Calls in queue link
|
||||
|
||||
$WRheight = ($MASTERheight + 160); # 460 - Warning boxes
|
||||
$CQheight = ($MASTERheight + 140); # 440 - Calls in queue section
|
||||
$SLheight = ($MASTERheight + 122); # 422 - SideBar link, Calls in queue link
|
||||
$HKheight = ($MASTERheight + 105); # 405 - HotKey active Button
|
||||
@@ -2744,6 +2746,7 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
|
||||
var timer_action='';
|
||||
var timer_action_message='';
|
||||
var timer_action_seconds='';
|
||||
var pause_code_counter=1;
|
||||
var DiaLControl_auto_HTML = "<IMG SRC=\"../agc/images/vdc_LB_pause_OFF.gif\" border=0 alt=\" Pause \"><a href=\"#\" onclick=\"AutoDial_ReSume_PauSe('VDADready');\"><IMG SRC=\"../agc/images/vdc_LB_resume.gif\" border=0 alt=\"Résumé\"></a>";
|
||||
var DiaLControl_auto_HTML_ready = "<a href=\"#\" onclick=\"AutoDial_ReSume_PauSe('VDADpause');\"><IMG SRC=\"../agc/images/vdc_LB_pause.gif\" border=0 alt=\" Pause \"></a><IMG SRC=\"../agc/images/vdc_LB_resume_OFF.gif\" border=0 alt=\"Résumé\">";
|
||||
var DiaLControl_auto_HTML_OFF = "<IMG SRC=\"../agc/images/vdc_LB_pause_OFF.gif\" border=0 alt=\" Pause \"><IMG SRC=\"../agc/images/vdc_LB_resume_OFF.gif\" border=0 alt=\"Résumé\">";
|
||||
@@ -4301,7 +4304,7 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
|
||||
// Request list of USERONLY callbacks for this agent
|
||||
function CalLBacKsLisTCheck()
|
||||
{
|
||||
if ( (AutoDialWaiting == 1) || (VD_live_customer_call==1) || (alt_dial_active==1) )
|
||||
if ( (AutoDialWaiting == 1) || (VD_live_customer_call==1) || (alt_dial_active==1) || (MD_channel_look==1) )
|
||||
{
|
||||
alert("VOUS DEVEZ ÊTRE EN PAUSE POUR POUVOIR CONSULTER LA LISTE DES RAPPELS AUTOMATIQUES");
|
||||
}
|
||||
@@ -4412,7 +4415,7 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
|
||||
// Open page to enter details for a new manual dial lead
|
||||
function NeWManuaLDiaLCalL(TVfast)
|
||||
{
|
||||
if ( (AutoDialWaiting == 1) || (VD_live_customer_call==1) || (alt_dial_active==1) )
|
||||
if ( (AutoDialWaiting == 1) || (VD_live_customer_call==1) || (alt_dial_active==1) || (MD_channel_look==1) )
|
||||
{
|
||||
alert("VOUS DEVEZ ÊTRE EN PAUSE POUR COMPOSER UN APPEL MANUEL");
|
||||
}
|
||||
@@ -4922,7 +4925,7 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
|
||||
else
|
||||
{
|
||||
web_form_vars =
|
||||
"lead_id=" + document.vicidial_form.lead_id.value +
|
||||
"&lead_id=" + document.vicidial_form.lead_id.value +
|
||||
"&vendor_id=" + document.vicidial_form.vendor_lead_code.value +
|
||||
"&list_id=" + document.vicidial_form.list_id.value +
|
||||
"&gmt_offset_now=" + document.vicidial_form.gmt_offset_now.value +
|
||||
@@ -5017,7 +5020,7 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
|
||||
else
|
||||
{
|
||||
web_form_vars_two =
|
||||
"lead_id=" + document.vicidial_form.lead_id.value +
|
||||
"&lead_id=" + document.vicidial_form.lead_id.value +
|
||||
"&vendor_id=" + document.vicidial_form.vendor_lead_code.value +
|
||||
"&list_id=" + document.vicidial_form.list_id.value +
|
||||
"&gmt_offset_now=" + document.vicidial_form.gmt_offset_now.value +
|
||||
@@ -5338,7 +5341,7 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
|
||||
else
|
||||
{
|
||||
web_form_vars =
|
||||
"lead_id=" + document.vicidial_form.lead_id.value +
|
||||
"&lead_id=" + document.vicidial_form.lead_id.value +
|
||||
"&vendor_id=" + document.vicidial_form.vendor_lead_code.value +
|
||||
"&list_id=" + document.vicidial_form.list_id.value +
|
||||
"&gmt_offset_now=" + document.vicidial_form.gmt_offset_now.value +
|
||||
@@ -5433,7 +5436,7 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
|
||||
else
|
||||
{
|
||||
web_form_vars_two =
|
||||
"lead_id=" + document.vicidial_form.lead_id.value +
|
||||
"&lead_id=" + document.vicidial_form.lead_id.value +
|
||||
"&vendor_id=" + document.vicidial_form.vendor_lead_code.value +
|
||||
"&list_id=" + document.vicidial_form.list_id.value +
|
||||
"&gmt_offset_now=" + document.vicidial_form.gmt_offset_now.value +
|
||||
@@ -5550,7 +5553,7 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
|
||||
if ( (view_scripts == 1) && (campaign_script.length > 0) )
|
||||
{
|
||||
web_form_vars =
|
||||
"lead_id=" + document.vicidial_form.lead_id.value +
|
||||
"&lead_id=" + document.vicidial_form.lead_id.value +
|
||||
"&vendor_id=" + document.vicidial_form.vendor_lead_code.value +
|
||||
"&list_id=" + document.vicidial_form.list_id.value +
|
||||
"&gmt_offset_now=" + document.vicidial_form.gmt_offset_now.value +
|
||||
@@ -5936,7 +5939,7 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
|
||||
if ( (view_scripts == 1) && (campaign_script.length > 0) )
|
||||
{
|
||||
web_form_vars =
|
||||
"lead_id=" + document.vicidial_form.lead_id.value +
|
||||
"&lead_id=" + document.vicidial_form.lead_id.value +
|
||||
"&vendor_id=" + document.vicidial_form.vendor_lead_code.value +
|
||||
"&list_id=" + document.vicidial_form.list_id.value +
|
||||
"&gmt_offset_now=" + document.vicidial_form.gmt_offset_now.value +
|
||||
@@ -6087,6 +6090,7 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
|
||||
VDRP_stage = 'PAUSED';
|
||||
AutoDialReady = 0;
|
||||
AutoDialWaiting = 0;
|
||||
pause_code_counter = 0;
|
||||
if (dial_method == "INBOUND_MAN")
|
||||
{
|
||||
auto_dial_level=starting_dial_level;
|
||||
@@ -6668,7 +6672,7 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
|
||||
else
|
||||
{
|
||||
web_form_vars =
|
||||
"lead_id=" + document.vicidial_form.lead_id.value +
|
||||
"&lead_id=" + document.vicidial_form.lead_id.value +
|
||||
"&vendor_id=" + document.vicidial_form.vendor_lead_code.value +
|
||||
"&list_id=" + document.vicidial_form.list_id.value +
|
||||
"&gmt_offset_now=" + document.vicidial_form.gmt_offset_now.value +
|
||||
@@ -6763,7 +6767,7 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
|
||||
else
|
||||
{
|
||||
web_form_vars_two =
|
||||
"lead_id=" + document.vicidial_form.lead_id.value +
|
||||
"&lead_id=" + document.vicidial_form.lead_id.value +
|
||||
"&vendor_id=" + document.vicidial_form.vendor_lead_code.value +
|
||||
"&list_id=" + document.vicidial_form.list_id.value +
|
||||
"&gmt_offset_now=" + document.vicidial_form.gmt_offset_now.value +
|
||||
@@ -6863,7 +6867,7 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
|
||||
if ( (view_scripts == 1) && (CalL_ScripT_id.length > 0) )
|
||||
{
|
||||
web_form_vars =
|
||||
"lead_id=" + document.vicidial_form.lead_id.value +
|
||||
"&lead_id=" + document.vicidial_form.lead_id.value +
|
||||
"&vendor_id=" + document.vicidial_form.vendor_lead_code.value +
|
||||
"&list_id=" + document.vicidial_form.list_id.value +
|
||||
"&gmt_offset_now=" + document.vicidial_form.gmt_offset_now.value +
|
||||
@@ -7044,7 +7048,7 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
|
||||
if ( (webvars_refresh > 0) || (force_webvars_refresh > 0) )
|
||||
{
|
||||
web_form_vars =
|
||||
"lead_id=" + document.vicidial_form.lead_id.value +
|
||||
"&lead_id=" + document.vicidial_form.lead_id.value +
|
||||
"&vendor_id=" + document.vicidial_form.vendor_lead_code.value +
|
||||
"&list_id=" + document.vicidial_form.list_id.value +
|
||||
"&gmt_offset_now=" + document.vicidial_form.gmt_offset_now.value +
|
||||
@@ -7169,7 +7173,7 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
|
||||
else
|
||||
{
|
||||
web_form_vars_two =
|
||||
"lead_id=" + document.vicidial_form.lead_id.value +
|
||||
"&lead_id=" + document.vicidial_form.lead_id.value +
|
||||
"&vendor_id=" + document.vicidial_form.vendor_lead_code.value +
|
||||
"&list_id=" + document.vicidial_form.list_id.value +
|
||||
"&gmt_offset_now=" + document.vicidial_form.gmt_offset_now.value +
|
||||
@@ -7810,7 +7814,7 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
|
||||
// Generate the Pause Code Chooser panel
|
||||
function PauseCodeSelectContent_create()
|
||||
{
|
||||
if ( (AutoDialWaiting == 1) || (VD_live_customer_call==1) || (alt_dial_active==1) )
|
||||
if ( (AutoDialWaiting == 1) || (VD_live_customer_call==1) || (alt_dial_active==1) || (MD_channel_look==1) )
|
||||
{
|
||||
alert("VOUS DEVEZ ÊTRE FAIT UNE PAUSE POUR ÉCRIRE Un CODE De PAUSE DANS LeMODE D'AUTO-DIAL");
|
||||
}
|
||||
@@ -8085,7 +8089,6 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -8119,7 +8122,8 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
|
||||
}
|
||||
if (xmlhttp)
|
||||
{
|
||||
VMCpausecode_query = "server_ip=" + server_ip + "&session_name=" + session_name + "&user=" + user + "&pass=" + pass + "&ACTION=PauseCodeSubmit&format=text&status=" + newpausecode + "&agent_log_id=" + agent_log_id + "&campaign=" + campaign + "&extension=" + extension + "&protocol=" + protocol + "&phone_ip=" + phone_ip + "&enable_sipsak_messages=" + enable_sipsak_messages;
|
||||
VMCpausecode_query = "server_ip=" + server_ip + "&session_name=" + session_name + "&user=" + user + "&pass=" + pass + "&ACTION=PauseCodeSubmit&format=text&status=" + newpausecode + "&agent_log_id=" + agent_log_id + "&campaign=" + campaign + "&extension=" + extension + "&protocol=" + protocol + "&phone_ip=" + phone_ip + "&enable_sipsak_messages=" + enable_sipsak_messages + "&stage=" + pause_code_counter;
|
||||
pause_code_counter++;
|
||||
xmlhttp.open('POST', 'vdc_db_query.php');
|
||||
xmlhttp.setRequestHeader('Content-Type','application/x-www-form-urlencoded; charset=UTF-8');
|
||||
xmlhttp.send(VMCpausecode_query);
|
||||
@@ -8127,11 +8131,17 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
|
||||
{
|
||||
if (xmlhttp.readyState == 4 && xmlhttp.status == 200)
|
||||
{
|
||||
// alert(xmlhttp.responseText);
|
||||
var check_pause_code = null;
|
||||
var check_pause_code = xmlhttp.responseText;
|
||||
var check_PC_array=check_pause_code.split("\n");
|
||||
if (check_PC_array[1] == 'Next agent_log_id:')
|
||||
{agent_log_id = check_PC_array[2];}
|
||||
// alert(xmlhttp.responseText + "\n|" + check_PC_array[1] + "\n|" + check_PC_array[2] + "|" + agent_log_id + "|" + pause_code_counter);
|
||||
}
|
||||
}
|
||||
delete xmlhttp;
|
||||
}
|
||||
// return agent_log_id;
|
||||
}
|
||||
|
||||
|
||||
@@ -9260,7 +9270,7 @@ function phone_number_format(formatphone) {
|
||||
{
|
||||
if (CQauto_call_id > 0)
|
||||
{
|
||||
if ( (AutoDialWaiting == 1) || (VD_live_customer_call==1) || (alt_dial_active==1) )
|
||||
if ( (AutoDialWaiting == 1) || (VD_live_customer_call==1) || (alt_dial_active==1) || (MD_channel_look==1) )
|
||||
{
|
||||
alert("VOUS DEVEZ ÊTRE PAUSED GRAB AUX APPELS EN QUEUE");
|
||||
}
|
||||
@@ -9495,7 +9505,7 @@ function phone_number_format(formatphone) {
|
||||
// Visualiser the groups selection span
|
||||
function OpeNGrouPSelectioN()
|
||||
{
|
||||
if ( (AutoDialWaiting == 1) || (VD_live_customer_call==1) || (alt_dial_active==1) )
|
||||
if ( (AutoDialWaiting == 1) || (VD_live_customer_call==1) || (alt_dial_active==1) || (MD_channel_look==1) )
|
||||
{
|
||||
alert("VOUS DEVEZ ÊTRE pause pour changer de groupe");
|
||||
}
|
||||
@@ -9518,9 +9528,9 @@ function phone_number_format(formatphone) {
|
||||
// Visualiser the territories selection span
|
||||
function OpeNTerritorYSelectioN()
|
||||
{
|
||||
if ( (AutoDialWaiting == 1) || (VD_live_customer_call==1) || (alt_dial_active==1) )
|
||||
if ( (AutoDialWaiting == 1) || (VD_live_customer_call==1) || (alt_dial_active==1) || (MD_channel_look==1) )
|
||||
{
|
||||
alert("VOUS DEVEZ ÊTRE pause pour changer de groupe");
|
||||
alert("YOU MUST BE PAUSED TO CHANGE TERRITORIES");
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -10615,7 +10625,7 @@ echo "</head>\n";
|
||||
</font></span>
|
||||
|
||||
<span style="position:absolute;left:0px;top:0px;z-index:51;" id="CallBacKsLisTBox">
|
||||
<table border=1 bgcolor="#CCFFCC" width=<?php echo $CAwidth ?> height=460><TR><TD align=center VALIGN=top> RAPPELS PERSONNELS <?php echo $VD_login ?>:<BR>Selectionnez un rappel a éffectuer immédiatement. Une fois éffectué, ce rappel diparaitra de la liste.
|
||||
<table border=1 bgcolor="#CCFFCC" width=<?php echo $CAwidth ?> height=<?php echo $WRheight ?>><TR><TD align=center VALIGN=top> RAPPELS PERSONNELS <?php echo $VD_login ?>:<BR>Selectionnez un rappel a éffectuer immédiatement. Une fois éffectué, ce rappel diparaitra de la liste.
|
||||
<BR>
|
||||
<div class="scroll_callback" id="CallBacKsLisT"></div>
|
||||
<BR>
|
||||
@@ -10626,7 +10636,7 @@ echo "</head>\n";
|
||||
</span>
|
||||
|
||||
<span style="position:absolute;left:0px;top:0px;z-index:52;" id="NeWManuaLDiaLBox">
|
||||
<table border=1 bgcolor="#CCFFCC" width=<?php echo $CAwidth ?> height=460><TR><TD align=center VALIGN=top> NOUVEL APPEL MANUEL VERS <?php echo "$VD_login in campaign $VD_campaign" ?>:<BR><BR>Nouveau prospect: remplissez le formulaire ci dessous.
|
||||
<table border=1 bgcolor="#CCFFCC" width=<?php echo $CAwidth ?> height=<?php echo $WRheight ?>><TR><TD align=center VALIGN=top> NOUVEL APPEL MANUEL VERS <?php echo "$VD_login in campaign $VD_campaign" ?>:<BR><BR>Nouveau prospect: remplissez le formulaire ci dessous.
|
||||
<BR>
|
||||
<?php
|
||||
if (eregi("X",$dial_prefix))
|
||||
@@ -10860,7 +10870,7 @@ if ($agent_display_dialable_leads > 0)
|
||||
</span>
|
||||
|
||||
<span style="position:absolute;left:0px;top:12px;z-index:39;" id="NoneInSessionBox">
|
||||
<table border=1 bgcolor="#CCFFFF" width=<?php echo $CAwidth ?> height=500><TR><TD align=center> Votre session est vide: <span id="NoneInSessionID"></span><BR>
|
||||
<table border=1 bgcolor="#CCFFFF" width=<?php echo $CAwidth ?> height=<?php echo $WRheight ?>><TR><TD align=center> Votre session est vide: <span id="NoneInSessionID"></span><BR>
|
||||
<a href="#" onclick="NoneInSessionOK();return false;">Retour</a>
|
||||
<BR><BR>
|
||||
<a href="#" onclick="NoneInSessionCalL();return false;">Rappeler l'agent</a>
|
||||
@@ -10868,7 +10878,7 @@ if ($agent_display_dialable_leads > 0)
|
||||
</span>
|
||||
|
||||
<span style="position:absolute;left:0px;top:0px;z-index:40;" id="CustomerGoneBox">
|
||||
<table border=1 bgcolor="#CCFFFF" width=<?php echo $CAwidth ?> height=500><TR><TD align=center> Le client a raccroché: <span id="CustomerGoneChanneL"></span><BR>
|
||||
<table border=1 bgcolor="#CCFFFF" width=<?php echo $CAwidth ?> height=<?php echo $WRheight ?>><TR><TD align=center> Le client a raccroché: <span id="CustomerGoneChanneL"></span><BR>
|
||||
<a href="#" onclick="CustomerGoneOK();return false;">Retour</a>
|
||||
<BR><BR>
|
||||
<a href="#" onclick="CustomerGoneHangup();return false;">Terminer et Statuer l'Appel</a>
|
||||
@@ -10876,7 +10886,7 @@ if ($agent_display_dialable_leads > 0)
|
||||
</span>
|
||||
|
||||
<span style="position:absolute;left:0px;top:0px;z-index:41;" id="WrapupBox">
|
||||
<table border=1 bgcolor="#CCFFCC" width=<?php echo $CAwidth ?> height=550><TR><TD align=center> Traitement Post Appel : <span id="WrapupTimer"></span> secondes restant pour le traitement post appel<BR><BR>
|
||||
<table border=1 bgcolor="#CCFFCC" width=<?php echo $CAwidth ?> height=<?php echo $WRheight ?>><TR><TD align=center> Traitement Post Appel : <span id="WrapupTimer"></span> secondes restant pour le traitement post appel<BR><BR>
|
||||
<span id="WrapupMessage"><?php echo $wrapup_message ?></span>
|
||||
<BR><BR>
|
||||
<a href="#" onclick="WrapupFinish();return false;">Terminer le traitement post appel et continuer</a>
|
||||
@@ -10891,17 +10901,17 @@ if ($agent_display_dialable_leads > 0)
|
||||
</span>
|
||||
|
||||
<span style="position:absolute;left:0px;top:0px;z-index:43;" id="AgenTDisablEBoX">
|
||||
<table border=1 bgcolor="#FFFFFF" width=<?php echo $CAwidth ?> height=500><TR><TD align=center>Votre session a été neutralisée<BR><a href="#" onclick="LogouT('DISABLED');return false;">DÉCONNEXION</a><BR><BR><a href="#" onclick="hideDiv('AgenTDisablEBoX');return false;">Retour</a>
|
||||
<table border=1 bgcolor="#FFFFFF" width=<?php echo $CAwidth ?> height=<?php echo $WRheight ?>><TR><TD align=center>Votre session a été neutralisée<BR><a href="#" onclick="LogouT('DISABLED');return false;">DÉCONNEXION</a><BR><BR><a href="#" onclick="hideDiv('AgenTDisablEBoX');return false;">Retour</a>
|
||||
</TD></TR></TABLE>
|
||||
</span>
|
||||
|
||||
<span style="position:absolute;left:0px;top:0px;z-index:44;" id="SysteMDisablEBoX">
|
||||
<table border=1 bgcolor="#FFFFFF" width=<?php echo $CAwidth ?> height=500><TR><TD align=center>Il ya un problème de synchronisation avec votre système, s'il vous plaît dites-le à votre administrateur système<BR><BR><BR><a href="#" onclick="hideDiv('SysteMDisablEBoX');return false;">Retour</a>
|
||||
<table border=1 bgcolor="#FFFFFF" width=<?php echo $CAwidth ?> height=<?php echo $WRheight ?>><TR><TD align=center>Il ya un problème de synchronisation avec votre système, s'il vous plaît dites-le à votre administrateur système<BR><BR><BR><a href="#" onclick="hideDiv('SysteMDisablEBoX');return false;">Retour</a>
|
||||
</TD></TR></TABLE>
|
||||
</span>
|
||||
|
||||
<span style="position:absolute;left:0px;top:0px;z-index:45;" id="LogouTBox">
|
||||
<table border=1 bgcolor="#FFFFFF" width=<?php echo $CAwidth ?> height=500><TR><TD align=center><BR><span id="LogouTBoxLink">DÉCONNEXION</span></TD></TR></TABLE>
|
||||
<table border=1 bgcolor="#FFFFFF" width=<?php echo $CAwidth ?> height=<?php echo $WRheight ?>><TR><TD align=center><BR><span id="LogouTBoxLink">DÉCONNEXION</span></TD></TR></TABLE>
|
||||
</span>
|
||||
|
||||
<span style="position:absolute;left:0px;top:70px;z-index:46;" id="DispoButtonHideA">
|
||||
@@ -10917,7 +10927,7 @@ if ($agent_display_dialable_leads > 0)
|
||||
</span>
|
||||
|
||||
<span style="position:absolute;left:0px;top:0px;z-index:49;" id="DispoSelectBox">
|
||||
<table border=1 bgcolor="#CCFFCC" width=<?php echo $CAwidth ?> height=460><TR><TD align=center VALIGN=top> STATUER L'APPEL :<span id="DispoSelectPhonE"></span> <span id="DispoSelectHAspan"><a href="#" onclick="DispoHanguPAgaiN()">Décrochement Encore</a></span> <span id="DispoSelectMaxMin"><a href="#" onclick="DispoMinimize()"> réduire </a></span><BR>
|
||||
<table border=1 bgcolor="#CCFFCC" width=<?php echo $CAwidth ?> height=<?php echo $WRheight ?>><TR><TD align=center VALIGN=top> STATUER L'APPEL :<span id="DispoSelectPhonE"></span> <span id="DispoSelectHAspan"><a href="#" onclick="DispoHanguPAgaiN()">Décrochement Encore</a></span> <span id="DispoSelectMaxMin"><a href="#" onclick="DispoMinimize()"> réduire </a></span><BR>
|
||||
<span id="DispoSelectContent"> Selection du status de fin d'appel </span>
|
||||
<input type=hidden name=DispoSelection><BR>
|
||||
<input type=checkbox name=DispoSelectStop size=1 value="0"> PAUSE DE LA NUMEROTATION <BR>
|
||||
@@ -10930,7 +10940,7 @@ if ($agent_display_dialable_leads > 0)
|
||||
</span>
|
||||
|
||||
<span style="position:absolute;left:0px;top:0px;z-index:64;" id="PauseCodeSelectBox">
|
||||
<table border=1 bgcolor="#CCFFCC" width=<?php echo $CAwidth ?> height=460><TR><TD align=center VALIGN=top> CHOISISSEZ Un CODE De PAUSE :<BR>
|
||||
<table border=1 bgcolor="#CCFFCC" width=<?php echo $CAwidth ?> height=<?php echo $WRheight ?>><TR><TD align=center VALIGN=top> CHOISISSEZ Un CODE De PAUSE :<BR>
|
||||
<span id="PauseCodeSelectContent"> Pause Code Selection </span>
|
||||
<input type=hidden name=PauseCodeSelection>
|
||||
<BR><BR>
|
||||
@@ -10938,7 +10948,7 @@ if ($agent_display_dialable_leads > 0)
|
||||
</span>
|
||||
|
||||
<span style="position:absolute;left:0px;top:0px;z-index:65;" id="GroupAliasSelectBox">
|
||||
<table border=1 bgcolor="#CCFFCC" width=<?php echo $CAwidth ?> height=460><TR><TD align=center VALIGN=top> CHOISIR UN GROUPE ALIAS :<BR>
|
||||
<table border=1 bgcolor="#CCFFCC" width=<?php echo $CAwidth ?> height=<?php echo $WRheight ?>><TR><TD align=center VALIGN=top> CHOISIR UN GROUPE ALIAS :<BR>
|
||||
<span id="GroupAliasSelectContent"> Groupe de sélection Alias </span>
|
||||
<input type=hidden name=GroupAliasSelection>
|
||||
<BR><BR>
|
||||
@@ -10949,7 +10959,7 @@ if ($agent_display_dialable_leads > 0)
|
||||
|
||||
|
||||
<span style="position:absolute;left:0px;top:0px;z-index:50;" id="CallBackSelectBox">
|
||||
<table border=1 bgcolor="#CCFFCC" width=<?php echo $CAwidth ?> height=460><TR><TD align=center VALIGN=top> Choisissez une date de Rappel :<span id="CallBackDatE"></span><BR>
|
||||
<table border=1 bgcolor="#CCFFCC" width=<?php echo $CAwidth ?> height=<?php echo $WRheight ?>><TR><TD align=center VALIGN=top> Choisissez une date de Rappel :<span id="CallBackDatE"></span><BR>
|
||||
<input type=hidden name=CallBackDatESelectioN ID="CallBackDatESelectioN">
|
||||
<input type=hidden name=CallBackTimESelectioN ID="CallBackTimESelectioN">
|
||||
<span id="CallBackDatEPrinT">Choisissez une date ci-dessous</span>
|
||||
@@ -11002,7 +11012,7 @@ if ($agent_display_dialable_leads > 0)
|
||||
</span>
|
||||
|
||||
<span style="position:absolute;left:0px;top:0px;z-index:53;" id="CloserSelectBox">
|
||||
<table border=1 bgcolor="#CCFFCC" width=<?php echo $CAwidth ?> height=460><TR><TD align=center VALIGN=top> UN CHOIX DE GROUPE D'ARRIVÉE PLUS ÉTROIT <BR>
|
||||
<table border=1 bgcolor="#CCFFCC" width=<?php echo $CAwidth ?> height=<?php echo $WRheight ?>><TR><TD align=center VALIGN=top> UN CHOIX DE GROUPE D'ARRIVÉE PLUS ÉTROIT <BR>
|
||||
<span id="CloserSelectContent"> Un Choix De Groupe D'arrivée Plus étroit </span>
|
||||
<input type=hidden name=CloserSelectList><BR>
|
||||
<?php
|
||||
@@ -11020,7 +11030,7 @@ if ($agent_display_dialable_leads > 0)
|
||||
</span>
|
||||
|
||||
<span style="position:absolute;left:0px;top:0px;z-index:54;" id="TerritorySelectBox">
|
||||
<table border=1 bgcolor="#CCFFCC" width=<?php echo $CAwidth ?> height=460><TR><TD align=center VALIGN=top> TERRITORY SELECTION <BR>
|
||||
<table border=1 bgcolor="#CCFFCC" width=<?php echo $CAwidth ?> height=<?php echo $WRheight ?>><TR><TD align=center VALIGN=top> TERRITORY SELECTION <BR>
|
||||
<span id="TerritorySelectContent"> Territory Selection </span>
|
||||
<input type=hidden name=TerritorySelectList><BR>
|
||||
<a href="#" onclick="TerritorySelectContent_create();return false;"> REINITIALISATION </a> |
|
||||
|
||||
Reference in New Issue
Block a user