diff --git a/agc_2-X/trunk/agi/agi-VDAD_ALL_inbound.agi b/agc_2-X/trunk/agi/agi-VDAD_ALL_inbound.agi index 0022d05f..615a6eaf 100644 --- a/agc_2-X/trunk/agi/agi-VDAD_ALL_inbound.agi +++ b/agc_2-X/trunk/agi/agi-VDAD_ALL_inbound.agi @@ -40,6 +40,12 @@ #exten => 1234,2,AGI(agi-VDAD_ALL_inbound.agi,CID-----LB-----INB-----7274515134-----Closer-----park----------999-----1-----OUTB) #exten => 1234,3,Hangup # +# ;inbound with removal of first digit of callerID on all calls: +#exten => 1234,1,Answer ; Answer the line +#exten => 1234,n,set(CALLERID(num)=${CALLERID(num):1}) +#exten => 1234,n,AGI(agi-VDAD_ALL_inbound.agi,CID-----LB-----INB-----7274515134-----Closer-----park----------999-----1-----OUTB) +#exten => 1234,n,Hangup +# # Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # # changes: diff --git a/agc_2-X/trunk/docs/QC_PROCESS.txt b/agc_2-X/trunk/docs/QC_PROCESS.txt index dbf47583..5598fed6 100644 --- a/agc_2-X/trunk/docs/QC_PROCESS.txt +++ b/agc_2-X/trunk/docs/QC_PROCESS.txt @@ -10,6 +10,15 @@ This will outline the process I have thought through for adding a Quality Assura +The back-end process will work like this: +- ADMIN_keepalive_ALL.pl script will look for the 'Q' in the keepalive definition in /etc/astguiclient.conf file. If it is set, it will trigger a script to gather the QC records every five minutes(with a 15 second delay) since the last QC gathering as defined in the system_settings table qc_last_pull_time field(which is populated with the START time of the last QC-pull run). +- There will also be an optional method of pulling QC records available to the QC managers that enables them to specify a date range to pull and insert records +- Selected records from the vicidial_log and vicidial_closer_log tables will be taken and inserted into the qc_vicidial_list_original table and the qc_vicidial_list table at the same time. +- QC agents are then able to run their process starting with the earliest records for their selected campaign/groups +- After QC agents have PASSed, FINISHed and COMMITted the QC records, then they can be exported + + + The QC agent will login to a new qc.php screen within the agc web directory. They will then have a screen very similar to the vicidial.php login screen(but in a different color) that will have a user/pass to fill in. Then when they login they will see a green screen similar to the vicidial.php inbound(CLOSER-type) screen that will show them their allowable qc in-groups and campaigns. The agent will then choose which in-groups and campaigns that they want to QC the records for and then they will submit and they will be logged-in to the QC system. @@ -35,12 +44,45 @@ COMMIT - QC record is committed to the system and cannot be modified by anyone The Database Changes: +# This table contains the original lead information before changes + CREATE TABLE qc_vicidial_list_original ( +qc_id INT(9) UNSIGNED AUTO_INCREMENT PRIMARY KEY NOT NULL, +original_id VARCHAR(20) UNIQUE NOT NULL, +modify_date TIMESTAMP, +status VARCHAR(6), +qc_import_date DATETIME, +user VARCHAR(20), +closer VARCHAR(20), +vendor_lead_code VARCHAR(20), +source_id VARCHAR(50), +list_id BIGINT(14) UNSIGNED, +phone_code VARCHAR(10), +phone_number VARCHAR(12), +title VARCHAR(4), +first_name VARCHAR(30), +middle_initial VARCHAR(1), +last_name VARCHAR(30), +address1 VARCHAR(100), +address2 VARCHAR(100), +address3 VARCHAR(100), +city VARCHAR(50), +state VARCHAR(2), +province VARCHAR(50), +postal_code VARCHAR(10), +country_code VARCHAR(3), +gender ENUM('M','F','U') default 'U', +date_of_birth DATE, +alt_phone VARCHAR(12), +email VARCHAR(70), +security_phrase VARCHAR(100), +comments VARCHAR(255), +); + # This table contains the updated QC record CREATE TABLE qc_vicidial_list ( -qc_id INT(9) UNSIGNED AUTO_INCREMENT PRIMARY KEY NOT NULL, +qc_id INT(9) UNSIGNED NOT NULL, lead_id INT(9) UNSIGNED NOT NULL, -vicidial_log_id INT(9) UNSIGNED NOT NULL, -closecallid INT(9) UNSIGNED NOT NULL, +original_id VARCHAR(20) NOT NULL, modify_date TIMESTAMP, status VARCHAR(6), qc_status VARCHAR(6), @@ -57,7 +99,7 @@ qc_changed ENUM('0','1') default '0', user VARCHAR(20), closer VARCHAR(20), vendor_lead_code VARCHAR(20), -source_id VARCHAR(6), +source_id VARCHAR(50), list_id BIGINT(14) UNSIGNED, phone_code VARCHAR(10), phone_number VARCHAR(12), @@ -73,53 +115,20 @@ state VARCHAR(2), province VARCHAR(50), postal_code VARCHAR(10), country_code VARCHAR(3), -gender ENUM('M','F'), +gender ENUM('M','F','U') default 'U', date_of_birth DATE, alt_phone VARCHAR(12), email VARCHAR(70), security_phrase VARCHAR(100), comments VARCHAR(255), -index (phone_number), +index (qc_id), index (lead_id), +index (original_id), +index (phone_number), index (status), index (qc_stage) ); -# This table contains the original lead information before changes - CREATE TABLE qc_vicidial_list_original ( -qc_id INT(9) UNSIGNED PRIMARY KEY NOT NULL, -modify_date TIMESTAMP, -status VARCHAR(6), -qc_date DATETIME, -qc_user VARCHAR(20), -qc_stage VARCHAR(6), -user VARCHAR(20), -closer VARCHAR(20), -vendor_lead_code VARCHAR(20), -source_id VARCHAR(6), -list_id BIGINT(14) UNSIGNED, -phone_code VARCHAR(10), -phone_number VARCHAR(12), -title VARCHAR(4), -first_name VARCHAR(30), -middle_initial VARCHAR(1), -last_name VARCHAR(30), -address1 VARCHAR(100), -address2 VARCHAR(100), -address3 VARCHAR(100), -city VARCHAR(50), -state VARCHAR(2), -province VARCHAR(50), -postal_code VARCHAR(10), -country_code VARCHAR(3), -gender ENUM('M','F'), -date_of_birth DATE, -alt_phone VARCHAR(12), -email VARCHAR(70), -security_phrase VARCHAR(100), -comments VARCHAR(255), -); - # This table contains the session information for qc_agents CREATE TABLE qc_agent_sessions ( qc_session_id INT(9) UNSIGNED PRIMARY KEY NOT NULL, @@ -144,12 +153,7 @@ qc_user_level INT(2) default '0', campaign_group_id VARCHAR(20) ); -# For the log table, some fields will need to be added to the vicidial_log table: -ALTER TABLE vicidial_log ADD qc_stage ENUM('NONE','LOCK_1','PASS','LOCK_2','FINISH',COMMIT') default 'NONE'; - -# For the closer log table, some fields will need to be added to the vicidial_closer_log table: -ALTER TABLE vicidial_closer_log ADD qc_stage ENUM('NONE','LOCK_1','PASS','LOCK_2','FINISH',COMMIT') default 'NONE'; - +ALTER TABLE system_settings ADD qc_last_pull_time DATETIME; diff --git a/agc_2-X/trunk/extras/MySQL_AST_CREATE_tables.sql b/agc_2-X/trunk/extras/MySQL_AST_CREATE_tables.sql index a775b21f..8d1093d7 100644 --- a/agc_2-X/trunk/extras/MySQL_AST_CREATE_tables.sql +++ b/agc_2-X/trunk/extras/MySQL_AST_CREATE_tables.sql @@ -132,18 +132,20 @@ channel VARCHAR(100), server_ip VARCHAR(15), extension VARCHAR(100), start_time DATETIME, -start_epoch INT(10), +start_epoch INT(10) UNSIGNED, end_time DATETIME, -end_epoch INT(10), -length_in_sec INT(10), +end_epoch INT(10) UNSIGNED, +length_in_sec MEDIUMINT(8) UNSIGNED, length_in_min DOUBLE(8,2), filename VARCHAR(50), location VARCHAR(255), lead_id INT(9) UNSIGNED, user VARCHAR(20), -index (filename), +vicidial_id VARCHAR(20), +index(filename), index(lead_id), -index(user) +index(user), +index(vicidial_id) ); CREATE TABLE live_inbound ( @@ -244,7 +246,7 @@ modify_date TIMESTAMP, status VARCHAR(6), user VARCHAR(20), vendor_lead_code VARCHAR(20), -source_id VARCHAR(6), +source_id VARCHAR(50), list_id BIGINT(14) UNSIGNED, gmt_offset_now DECIMAL(4,2) DEFAULT '0.00', called_since_last_reset ENUM('Y','N','Y1','Y2','Y3','Y4','Y5','Y6','Y7','Y8','Y9','Y10') default 'N', @@ -974,7 +976,8 @@ timeclock_last_reset_date DATE, vdc_header_date_format VARCHAR(50) default 'MS_DASH_24HR 2008-06-24 23:59:59', vdc_customer_date_format VARCHAR(50) default 'AL_TEXT_AMPM OCT 24, 2008 11:59:59 PM', vdc_header_phone_format VARCHAR(50) default 'US_PARN (000)000-0000', -vdc_agent_api_active ENUM('0','1') default '0' +vdc_agent_api_active ENUM('0','1') default '0', +qc_last_pull_time DATETIME ); CREATE TABLE vicidial_campaigns_list_mix ( @@ -1219,5 +1222,5 @@ INSERT INTO vicidial_state_call_times SET state_call_time_id='utah',state_call_t INSERT INTO vicidial_state_call_times SET state_call_time_id='washington',state_call_time_state='WA',state_call_time_name='Washington 8am',sct_default_start='800',sct_default_stop='2100'; INSERT INTO vicidial_state_call_times SET state_call_time_id='wyoming',state_call_time_state='WY',state_call_time_name='Wyoming 8am-8pm',sct_default_start='800',sct_default_stop='2000'; -UPDATE system_settings SET db_schema_version='1097'; +UPDATE system_settings SET db_schema_version='1098'; diff --git a/agc_2-X/trunk/extras/upgrade_2.0.5.sql b/agc_2-X/trunk/extras/upgrade_2.0.5.sql index 129f80dc..391d4af9 100644 --- a/agc_2-X/trunk/extras/upgrade_2.0.5.sql +++ b/agc_2-X/trunk/extras/upgrade_2.0.5.sql @@ -293,3 +293,15 @@ UPDATE system_settings SET db_schema_version='1096'; ALTER TABLE vicidial_campaigns ADD display_queue_count ENUM('Y','N') default 'Y'; UPDATE system_settings SET db_schema_version='1097'; + +ALTER TABLE vicidial_list MODIFY source_id VARCHAR(50); + +ALTER TABLE recording_log ADD vicidial_id VARCHAR(20); +CREATE INDEX vicidial_id ON recording_log (vicidial_id); +ALTER TABLE recording_log MODIFY start_epoch INT(10) UNSIGNED; +ALTER TABLE recording_log MODIFY end_epoch INT(10) UNSIGNED; +ALTER TABLE recording_log MODIFY length_in_sec MEDIUMINT(8) UNSIGNED; + +ALTER TABLE system_settings ADD qc_last_pull_time DATETIME; + +UPDATE system_settings SET db_schema_version='1098'; diff --git a/agc_2-X/trunk/translations/raw_translation_files/TO_BE_TRANSLATED_2.0.5.txt b/agc_2-X/trunk/translations/raw_translation_files/TO_BE_TRANSLATED_2.0.5.txt index 32fec572..91a2a742 100644 --- a/agc_2-X/trunk/translations/raw_translation_files/TO_BE_TRANSLATED_2.0.5.txt +++ b/agc_2-X/trunk/translations/raw_translation_files/TO_BE_TRANSLATED_2.0.5.txt @@ -228,6 +228,7 @@ Agent API Active: || Agent Display Queue Count -<\/B> If set to Y, when a customer is waiting for an agent, the Queue Calls display at the top of the agent screen will turn red and show the number of waiting calls. Default is Y|| Agent Display Queue Count: || agents in dead calls|| +QC Last Pull Time: || ############################################################ CLIENT diff --git a/agc_2-X/trunk/www/agc/manager_send.php b/agc_2-X/trunk/www/agc/manager_send.php index 8a87f10f..5792377f 100644 --- a/agc_2-X/trunk/www/agc/manager_send.php +++ b/agc_2-X/trunk/www/agc/manager_send.php @@ -71,6 +71,7 @@ # 80331-1433 - Added second transfer try for VICIDIAL transfers on manual dial calls # 80402-0121 - Fixes for manual dial transfers on some systems # 80424-0442 - Added non_latin lookup from system_settings +# 80707-2325 - Added vicidial_id to recording_log for tracking of vicidial or closer log to recording # require("dbconnect.php"); @@ -1244,6 +1245,8 @@ if ( ($ACTION=="MonitorConf") || ($ACTION=="StopMonitorConf") ) { $row=''; $rowx=''; $channel_live=1; + $uniqueidSQL=''; + if ( (strlen($exten)<3) or (strlen($channel)<4) or (strlen($filename)<15) ) { $channel_live=0; @@ -1270,6 +1273,26 @@ if ( ($ACTION=="MonitorConf") || ($ACTION=="StopMonitorConf") ) } else { + if ($uniqueid=='IN') + { + $four_hours_ago = date("Y-m-d H:i:s", mktime(date("H")-4,date("i"),date("s"),date("m"),date("d"),date("Y"))); + + ### check to see if lead should be alt_dialed + $stmt="SELECT closecallid from vicidial_closer_log where lead_id='$lead_id' and call_date > \"$four_hours_ago\" order by call_date desc limit 1;"; + $rslt=mysql_query($stmt, $link); + $VAC_qm_ct = mysql_num_rows($rslt); + if ($VAC_qm_ct > 0) + { + $row=mysql_fetch_row($rslt); + $uniqueidSQL = ",vicidial_id='$row[0]'"; + } + } + else + { + if (strlen($uniqueid) > 8) + {$uniqueidSQL = ",vicidial_id='$uniqueid'";} + } + $stmt="SELECT recording_id,start_epoch FROM recording_log where filename='$filename'"; $rslt=mysql_query($stmt, $link); if ($DB) {echo "$stmt\n";} @@ -1283,7 +1306,7 @@ if ( ($ACTION=="MonitorConf") || ($ACTION=="StopMonitorConf") ) $length_in_min = ($length_in_sec / 60); $length_in_min = sprintf("%8.2f", $length_in_min); - $stmt = "UPDATE recording_log set end_time='$NOW_TIME',end_epoch='$StarTtime',length_in_sec=$length_in_sec,length_in_min='$length_in_min' where filename='$filename'"; + $stmt = "UPDATE recording_log set end_time='$NOW_TIME',end_epoch='$StarTtime',length_in_sec=$length_in_sec,length_in_min='$length_in_min' $uniqueidSQL where filename='$filename'"; if ($DB) {echo "$stmt\n";} $rslt=mysql_query($stmt, $link); } diff --git a/agc_2-X/trunk/www/agc/vdc_db_query.php b/agc_2-X/trunk/www/agc/vdc_db_query.php index b65788a0..ad5600ff 100644 --- a/agc_2-X/trunk/www/agc/vdc_db_query.php +++ b/agc_2-X/trunk/www/agc/vdc_db_query.php @@ -151,10 +151,11 @@ # 80430-1957 - Changed to leave lead_id in vicidial_live_agents record until after dispo # 80630-2153 - Added queue_log logging for Manual dial calls # 80703-0139 - Added alter customer phone permissions +# 80707-2325 - Added vicidial_id to recording_log for tracking of vicidial or closer log to recording # -$version = '2.0.5-75'; -$build = '80703-0139'; +$version = '2.0.5-76'; +$build = '80707-2325'; require("dbconnect.php"); @@ -1122,6 +1123,7 @@ if ($ACTION == 'manDiaLlogCaLL') { $MT[0]=''; $row=''; $rowx=''; + $vidSQL=''; if ($stage == "start") { @@ -1201,12 +1203,12 @@ if ($stage == "end") if ($check_inbound > 0) { ##### look for the start epoch in the vicidial_closer_log table - $stmt="SELECT start_epoch,term_reason FROM vicidial_closer_log where phone_number='$phone_number' and lead_id='$lead_id' and user='$user' order by closecallid desc limit 1;"; + $stmt="SELECT start_epoch,term_reason,closecallid FROM vicidial_closer_log where phone_number='$phone_number' and lead_id='$lead_id' and user='$user' order by closecallid desc limit 1;"; } else { ##### look for the start epoch in the vicidial_log table - $stmt="SELECT start_epoch,term_reason FROM vicidial_log where uniqueid='$uniqueid' and lead_id='$lead_id';"; + $stmt="SELECT start_epoch,term_reason,uniqueid FROM vicidial_log where uniqueid='$uniqueid' and lead_id='$lead_id';"; } $rslt=mysql_query($stmt, $link); if ($DB) {echo "$stmt\n";} @@ -1216,6 +1218,7 @@ if ($stage == "end") $row=mysql_fetch_row($rslt); $start_epoch = $row[0]; $VDterm_reason = $row[1]; + $VDvicidial_id = $row[2]; $length_in_sec = ($StarTtime - $start_epoch); } else @@ -1494,13 +1497,14 @@ if ($stage == "end") if ( (ereg("NONE",$term_reason)) or (ereg("NONE",$VDterm_reason)) or (strlen($VDterm_reason) < 1) ) { ### check to see if lead should be alt_dialed - $stmt="SELECT term_reason from vicidial_log where uniqueid='$uniqueid' and lead_id='$lead_id' order by call_date desc limit 1;"; + $stmt="SELECT term_reason,uniqueid from vicidial_log where uniqueid='$uniqueid' and lead_id='$lead_id' order by call_date desc limit 1;"; $rslt=mysql_query($stmt, $link); $VAC_qm_ct = mysql_num_rows($rslt); if ($VAC_qm_ct > 0) { $row=mysql_fetch_row($rslt); $VDterm_reason = $row[0]; + $VDvicidial_id = $row[1]; } if (ereg("CALLER",$VDterm_reason)) { @@ -1534,13 +1538,14 @@ if ($stage == "end") if ( (ereg("NONE",$term_reason)) or (ereg("NONE",$VDterm_reason)) or (strlen($VDterm_reason) < 1) ) { ### check to see if lead should be alt_dialed - $stmt="SELECT term_reason from vicidial_closer_log where lead_id='$lead_id' and call_date > \"$four_hours_ago\" order by call_date desc limit 1;"; + $stmt="SELECT term_reason,closecallid from vicidial_closer_log where lead_id='$lead_id' and call_date > \"$four_hours_ago\" order by call_date desc limit 1;"; $rslt=mysql_query($stmt, $link); $VAC_qm_ct = mysql_num_rows($rslt); if ($VAC_qm_ct > 0) { $row=mysql_fetch_row($rslt); $VDterm_reason = $row[0]; + $VDvicidial_id = $row[1]; } if (ereg("CALLER",$VDterm_reason)) { @@ -1615,7 +1620,7 @@ if ($stage == "end") echo "REC_STOP|$rec_channels[$loop_count]|$filename[$loop_count]|"; if (strlen($filename)>2) { - $stmt="SELECT recording_id,start_epoch FROM recording_log where filename='$filename[$loop_count]'"; + $stmt="SELECT recording_id,start_epoch,vicidial_id FROM recording_log where filename='$filename[$loop_count]'"; if ($format=='debug') {echo "\n";} $rslt=mysql_query($stmt, $link); if ($rslt) {$fn_count = mysql_num_rows($rslt);} @@ -1623,13 +1628,15 @@ if ($stage == "end") { $row=mysql_fetch_row($rslt); $recording_id = $row[0]; - $start_time = $row[1]; + $start_time = $row[1]; + $vicidial_id = $row[2]; + if (strlen($vicidial_id)<1) {$vidSQL = ",vicidial_id='$VDvicidial_id'";} $length_in_sec = ($StarTtime - $start_time); $length_in_min = ($length_in_sec / 60); $length_in_min = sprintf("%8.2f", $length_in_min); - $stmt="UPDATE recording_log set end_time='$NOW_TIME',end_epoch='$StarTtime',length_in_sec=$length_in_sec,length_in_min='$length_in_min' where filename='$filename[$loop_count]' and end_epoch is NULL;"; + $stmt="UPDATE recording_log set end_time='$NOW_TIME',end_epoch='$StarTtime',length_in_sec=$length_in_sec,length_in_min='$length_in_min' $vidSQL where filename='$filename[$loop_count]' and end_epoch is NULL;"; if ($format=='debug') {echo "\n";} $rslt=mysql_query($stmt, $link); diff --git a/agc_2-X/trunk/www/agc/vicidial.php b/agc_2-X/trunk/www/agc/vicidial.php index 3dd4efe1..19d2ded4 100644 --- a/agc_2-X/trunk/www/agc/vicidial.php +++ b/agc_2-X/trunk/www/agc/vicidial.php @@ -182,10 +182,11 @@ # 80630-2210 - Added queue_log entries for Manual Dial # 80703-0139 - Added alter customer phone permissions # 80703-1106 - Added API functionality for Hangup and Dispo, added Agent Display Queue Count +# 80707-2325 - Added vicidial_id to recording_log for tracking of vicidial or closer log to recording # -$version = '2.0.5-160'; -$build = '80703-1106'; +$version = '2.0.5-161'; +$build = '80707-2325'; require("dbconnect.php"); @@ -1969,6 +1970,7 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";} var vdc_customer_date_format = ''; var vdc_header_phone_format = ''; var disable_alter_custphone = ''; + var inOUT = 'OUT'; var DiaLControl_auto_HTML = "\"Pause\"\"Resume\""; var DiaLControl_auto_HTML_ready = "\"Pause\"\"Resume\""; var DiaLControl_auto_HTML_OFF = "\"Pause\"\"Resume\""; @@ -2630,6 +2632,14 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";} // Send MonitorConf/StopMonitorConf command for recording of conferences function conf_send_recording(taskconfrectype,taskconfrec,taskconffile) { + if (inOUT == 'OUT') + { + var tmp_vicidial_id = document.vicidial_form.uniqueid.value; + } + else + { + var tmp_vicidial_id = 'IN'; + } var xmlhttp=false; /*@cc_on @*/ /*@if (@_jscript_version >= 5) @@ -2698,7 +2708,7 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";} document.getElementById("RecorDControl").innerHTML = conf_rec_start_html; } } - confmonitor_query = "server_ip=" + server_ip + "&session_name=" + session_name + "&user=" + user + "&pass=" + pass + "&ACTION=" + taskconfrectype + "&format=text&channel=" + channelrec + "&filename=" + filename + "&exten=" + query_recording_exten + "&ext_context=" + ext_context + "&lead_id=" + document.vicidial_form.lead_id.value + "&ext_priority=1"; + confmonitor_query = "server_ip=" + server_ip + "&session_name=" + session_name + "&user=" + user + "&pass=" + pass + "&ACTION=" + taskconfrectype + "&format=text&channel=" + channelrec + "&filename=" + filename + "&exten=" + query_recording_exten + "&ext_context=" + ext_context + "&lead_id=" + document.vicidial_form.lead_id.value + "&ext_priority=1&uniqueid=" + tmp_vicidial_id; xmlhttp.open('POST', 'manager_send.php'); xmlhttp.setRequestHeader('Content-Type','application/x-www-form-urlencoded; charset=UTF-8'); xmlhttp.send(confmonitor_query); @@ -4099,6 +4109,7 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";} { if (typeof(xmlhttprequestcheckauto) == "undefined") { + inOUT = 'OUT'; all_record = 'NO'; all_record_count=0; document.vicidial_form.lead_id.value = ''; @@ -4263,6 +4274,7 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";} if (VDIC_data_VDIG[1].length > 0) { + inOUT = 'IN'; if (VDIC_data_VDIG[2].length > 2) { document.getElementById("MainStatuSSpan").style.background = VDIC_data_VDIG[2]; @@ -5051,7 +5063,7 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";} // Update vicidial_list lead record with disposition selection function DispoSelect_submit() { - + inOUT = 'OUT'; var DispoChoice = document.vicidial_form.DispoSelection.value; if (DispoChoice.length < 1) {alert("You Must Select a Disposition");} diff --git a/agc_2-X/trunk/www/vicidial/admin.php b/agc_2-X/trunk/www/vicidial/admin.php index dd867284..1159535b 100644 --- a/agc_2-X/trunk/www/vicidial/admin.php +++ b/agc_2-X/trunk/www/vicidial/admin.php @@ -13993,7 +13993,7 @@ if ($ADD==311111111111111) echo "\n"; echo "\n"; echo "\n"; + echo "\n"; echo "
\n"; echo ""; - $stmt="SELECT version,install_date,use_non_latin,webroot_writable,enable_queuemetrics_logging,queuemetrics_server_ip,queuemetrics_dbname,queuemetrics_login,queuemetrics_pass,queuemetrics_url,queuemetrics_log_id,queuemetrics_eq_prepend,vicidial_agent_disable,allow_sipsak_messages,admin_home_url,enable_agc_xfer_log,db_schema_version,auto_user_add_value,timeclock_end_of_day,timeclock_last_reset_date,vdc_header_date_format,vdc_customer_date_format,vdc_header_phone_format,vdc_agent_api_active from system_settings;"; + $stmt="SELECT version,install_date,use_non_latin,webroot_writable,enable_queuemetrics_logging,queuemetrics_server_ip,queuemetrics_dbname,queuemetrics_login,queuemetrics_pass,queuemetrics_url,queuemetrics_log_id,queuemetrics_eq_prepend,vicidial_agent_disable,allow_sipsak_messages,admin_home_url,enable_agc_xfer_log,db_schema_version,auto_user_add_value,timeclock_end_of_day,timeclock_last_reset_date,vdc_header_date_format,vdc_customer_date_format,vdc_header_phone_format,vdc_agent_api_active,qc_last_pull_time from system_settings;"; $rslt=mysql_query($stmt, $link); $row=mysql_fetch_row($rslt); $version = $row[0]; @@ -14020,6 +14020,7 @@ if ($ADD==311111111111111) $vdc_customer_date_format = $row[21]; $vdc_header_phone_format = $row[22]; $vdc_agent_api_active = $row[23]; + $qc_last_pull_time = $row[24]; echo "
MODIFY VICIDIAL SYSTEM SETTINGS
\n"; echo "\n"; @@ -14059,6 +14060,7 @@ if ($ADD==311111111111111) echo "
Enable Agent Transfer Logfile: $NWB#settings-enable_agc_xfer_log$NWE
Timeclock End Of Day: $NWB#settings-timeclock_end_of_day$NWE
Timeclock Last Auto Logout: $timeclock_last_reset_date
QC Last Pull Time: $qc_last_pull_time
Agent Screen Header Date Format: