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
This commit is contained in:
mattf
2009-05-25 14:29:08 +00:00
parent 9c0c203778
commit 9398a29320
3 changed files with 10 additions and 5 deletions
@@ -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 = "<IMG SRC=\"./images/vdc_LB_webform_OFF.gif\" border=0 alt=\"Web Form\">";
@@ -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;
+4 -2
View File
@@ -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 = "<IMG SRC=\"./images/vdc_LB_webform_OFF.gif\" border=0 alt=\"Web Form\">";