From 9398a2932012d9a08745b839e57681cd358b69e0 Mon Sep 17 00:00:00 2001 From: mattf Date: Mon, 25 May 2009 14:29:08 +0000 Subject: [PATCH] fixed bug in vicidial.php where auto-received calls were not transferring after placing manual dial call git-svn-id: svn://192.168.202.10@1126 3d104415-ff17-0410-8863-d5cf3c621b8a --- agc_2-X/branches/agc_2.0.5/www/agc/vicidial.php | 6 ++++-- agc_2-X/trunk/bin/Vtiger_OUT_sync2VICIDIAL_file.pl | 3 ++- agc_2-X/trunk/www/agc/vicidial.php | 6 ++++-- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/agc_2-X/branches/agc_2.0.5/www/agc/vicidial.php b/agc_2-X/branches/agc_2.0.5/www/agc/vicidial.php index 4250a7e8..1cb31294 100644 --- a/agc_2-X/branches/agc_2.0.5/www/agc/vicidial.php +++ b/agc_2-X/branches/agc_2.0.5/www/agc/vicidial.php @@ -226,10 +226,11 @@ # 90323-1554 - Initial call to agent phone now has campaign callerIDnumber # 90511-1018 - Added restriction not allowing dialing into agent sessions from manual dial # 90519-0636 - Fixed manual dial status and logging bug +# 90525-1014 - Fixed transfer issue of auto-received call after manual dial call # -$version = '2.0.5-205'; -$build = '90519-0636'; +$version = '2.0.5-206'; +$build = '90525-1014'; $mel=1; # Mysql Error Log enabled = 1 $mysql_log_count=60; $one_mysql_log=0; @@ -5671,6 +5672,7 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";} document.vicidial_form.callserverip.value = ''; lastcustchannel=''; lastcustserverip=''; + MDchannel=''; if( document.images ) { document.images['livecall'].src = image_livecall_OFF.src;} document.getElementById("WebFormSpan").innerHTML = "\"Web"; diff --git a/agc_2-X/trunk/bin/Vtiger_OUT_sync2VICIDIAL_file.pl b/agc_2-X/trunk/bin/Vtiger_OUT_sync2VICIDIAL_file.pl index 58c1d2cc..86367839 100644 --- a/agc_2-X/trunk/bin/Vtiger_OUT_sync2VICIDIAL_file.pl +++ b/agc_2-X/trunk/bin/Vtiger_OUT_sync2VICIDIAL_file.pl @@ -424,7 +424,8 @@ if ($report_hours_file > 0) if ($VAL_exists > 0) { - $stmtA = "SELECT pause_sec,wait_sec,talk_sec,dispo_sec,sub_status,vu.user,user_code,campaign_id,comments FROM vicidial_agent_log val,vicidial_users vu where event_time >= \"$TODAY 00:00:00\" and event_time <= \"$ENDDAY 23:59:59\" and val.user=vu.user and vu.user_code LIKE \"IMM%\" order by val.user;"; + # and vu.user_code LIKE \"IMM%\" + $stmtA = "SELECT pause_sec,wait_sec,talk_sec,dispo_sec,sub_status,vu.user,user_code,campaign_id,comments FROM vicidial_agent_log val,vicidial_users vu where event_time >= \"$TODAY 00:00:00\" and event_time <= \"$ENDDAY 23:59:59\" and val.user=vu.user order by val.user;"; $sthA = $dbhA->prepare($stmtA) or die "preparing: ",$dbhA->errstr; $sthA->execute or die "executing: $stmtA ", $dbhA->errstr; $sthArows=$sthA->rows; diff --git a/agc_2-X/trunk/www/agc/vicidial.php b/agc_2-X/trunk/www/agc/vicidial.php index 88eb0262..c0b0a5cd 100644 --- a/agc_2-X/trunk/www/agc/vicidial.php +++ b/agc_2-X/trunk/www/agc/vicidial.php @@ -229,10 +229,11 @@ # 90508-0727 - Changed to PHP long tags # 90511-1018 - Added restriction not allowing dialing into agent sessions from manual dial # 90519-0635 - Fixed manual dial status and logging bug +# 90525-1012 - Fixed transfer issue of auto-received call after manual dial call # -$version = '2.2.0-207'; -$build = '90519-0635'; +$version = '2.2.0-208'; +$build = '90525-1012'; $mel=1; # Mysql Error Log enabled = 1 $mysql_log_count=60; $one_mysql_log=0; @@ -5677,6 +5678,7 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";} document.vicidial_form.callserverip.value = ''; lastcustchannel=''; lastcustserverip=''; + MDchannel=''; if( document.images ) { document.images['livecall'].src = image_livecall_OFF.src;} document.getElementById("WebFormSpan").innerHTML = "\"Web";