From e227d6760ca6d02bd8e976f72d557e6e252286c4 Mon Sep 17 00:00:00 2001 From: mattf Date: Sat, 28 Jun 2008 06:56:36 +0000 Subject: [PATCH] fixed bug in vicidial.php manual dial that did not populate source_id changed campaign_cid to VARCHAR(20) in Trunk git-svn-id: svn://192.168.202.10@900 3d104415-ff17-0410-8863-d5cf3c621b8a --- agc_2-X/branches/agc_2.0.4/www/agc/vicidial.php | 1 + agc_2-X/trunk/UPGRADE | 2 ++ agc_2-X/trunk/docs/TIMECLOCK_PROCESS.txt | 10 +++++++++- agc_2-X/trunk/extras/MySQL_AST_CREATE_tables.sql | 4 ++-- agc_2-X/trunk/extras/upgrade_2.0.5.sql | 4 ++++ agc_2-X/trunk/www/agc/vicidial.php | 1 + 6 files changed, 19 insertions(+), 3 deletions(-) diff --git a/agc_2-X/branches/agc_2.0.4/www/agc/vicidial.php b/agc_2-X/branches/agc_2.0.4/www/agc/vicidial.php index 9a45f3e1..d4b52c86 100644 --- a/agc_2-X/branches/agc_2.0.4/www/agc/vicidial.php +++ b/agc_2-X/branches/agc_2.0.4/www/agc/vicidial.php @@ -3419,6 +3419,7 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";} CBcomments = MDnextResponse_array[31]; dialed_number = MDnextResponse_array[32]; dialed_label = MDnextResponse_array[33]; + source_id = MDnextResponse_array[34]; lead_dial_number = document.vicidial_form.phone_number.value; var dispnum = document.vicidial_form.phone_number.value; diff --git a/agc_2-X/trunk/UPGRADE b/agc_2-X/trunk/UPGRADE index a93556a7..f33f841f 100644 --- a/agc_2-X/trunk/UPGRADE +++ b/agc_2-X/trunk/UPGRADE @@ -127,6 +127,8 @@ NOTE: Upgrading from 1.1.12-3 to 2.0.1 is at the bottom 27. Changed add-to-DNC list to allow for multiple phone numbers per submission +28. Date/time and phone formats that appear in the VICIDIAL agent screen are now + customizable as defined in the Admin -> System Settings screen. diff --git a/agc_2-X/trunk/docs/TIMECLOCK_PROCESS.txt b/agc_2-X/trunk/docs/TIMECLOCK_PROCESS.txt index be33ee1f..394afe48 100644 --- a/agc_2-X/trunk/docs/TIMECLOCK_PROCESS.txt +++ b/agc_2-X/trunk/docs/TIMECLOCK_PROCESS.txt @@ -4,11 +4,14 @@ Timeclock process flow 2008-05-12 This will outline the process I have thought through for adding a timeclock component to the VICIDIAL system. The objective is to add the following features to make VICIDIAL a more well-rounded product: - Allow vicidial users to clock-in to the system +- Allow vicidial managers to clock users in and out as well as edit timeclock records +- Maintain an audit trail for manager-modified records - Add a SHIFT section to administration +- Have reports showing all timeclock totals for various parameters(user-group/time-period/user/current-status/etc...) +Future planned features: - Allow restrictions of agent-login by shift - Allow ability to not allow agents to log-in to any VICIDIAL page(admin or agent) without clocking in. -- Have reports showing all timeclock totals for various parameters(user-group/campaign/time-period/in-groups/etc...) - ability to allow managers to alter timeclock records with audit trail - reports showing user log activity outside of shift timeframes @@ -26,6 +29,11 @@ timeclock.php - linked to from vicidial.php/admin.php/welcome.php to give easy a timeclock_auto_logout.pl - script that runs at the defined system_settings.timeclock_end_of_day field that will go through all agents that are currently logged into the timeclock for the day and log them out with the AUTOLOGOUT event. Only runs once a day. Triggered by the ADMIN_keepalive_all.pl script. Defined to run by the '9' flag in the keepalive settings of the astguiclient.conf file +timeclock_report.php - report linked from the reports page that shows completed timeclock records by user and user-group across a timeframe + +timeclock_edit.php - page that allows managers to edit existing completed timeclock records + + More to come... 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 9af14987..153afecd 100644 --- a/agc_2-X/trunk/extras/MySQL_AST_CREATE_tables.sql +++ b/agc_2-X/trunk/extras/MySQL_AST_CREATE_tables.sql @@ -503,7 +503,7 @@ local_call_time VARCHAR(10) DEFAULT '9am-9pm', voicemail_ext VARCHAR(10), dial_timeout TINYINT UNSIGNED default '60', dial_prefix VARCHAR(20) default '9', -campaign_cid VARCHAR(10) default '0000000000', +campaign_cid VARCHAR(20) default '0000000000', campaign_vdad_exten VARCHAR(20) default '8365', campaign_rec_exten VARCHAR(20) default '8309', campaign_recording ENUM('NEVER','ONDEMAND','ALLCALLS','ALLFORCE') default 'ONDEMAND', @@ -1217,5 +1217,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='1094'; +UPDATE system_settings SET db_schema_version='1095'; 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 cf3e3ca7..2059a380 100644 --- a/agc_2-X/trunk/extras/upgrade_2.0.5.sql +++ b/agc_2-X/trunk/extras/upgrade_2.0.5.sql @@ -290,3 +290,7 @@ ALTER TABLE system_settings ADD vdc_customer_date_format VARCHAR(50) default 'AL ALTER TABLE system_settings ADD vdc_header_phone_format VARCHAR(50) default 'US_PARN (000)000-0000'; UPDATE system_settings SET db_schema_version='1094'; + +ALTER TABLE vicidial_campaigns MODIFY campaign_cid VARCHAR(20) default '0000000000'; + +UPDATE system_settings SET db_schema_version='1095'; diff --git a/agc_2-X/trunk/www/agc/vicidial.php b/agc_2-X/trunk/www/agc/vicidial.php index ce9badaf..8adc02f4 100644 --- a/agc_2-X/trunk/www/agc/vicidial.php +++ b/agc_2-X/trunk/www/agc/vicidial.php @@ -3559,6 +3559,7 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";} CBcomments = MDnextResponse_array[31]; dialed_number = MDnextResponse_array[32]; dialed_label = MDnextResponse_array[33]; + source_id = MDnextResponse_array[34]; lead_dial_number = document.vicidial_form.phone_number.value; var dispnum = document.vicidial_form.phone_number.value;