2006-04-19_snapshot

git-svn-id: svn://192.168.202.10@4 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2006-07-07 15:16:35 +00:00
parent 23592859ca
commit 4862328b6e
13 changed files with 1289 additions and 252 deletions
+11 -2
View File
@@ -95,10 +95,11 @@
# 60413-1541 Added USERONLY Callback listings output - CalLBacKLisT
# Added USERONLY Callback count output - CalLBacKCounT
# 60414-1140 Added Callback lead lookup for manual dialing
# 60419-1517 After CALLBK is sent to agent, update callback record to INACTIVE
#
$version = '0.0.28';
$build = '60414-1140';
$version = '0.0.29';
$build = '60419-1517';
require("dbconnect.php");
@@ -1065,6 +1066,14 @@ if ($ACTION == 'VDADcheckINCOMING')
$stmt="UPDATE vicidial_agent_log set wait_sec='$wait_sec',talk_epoch='$StarTtime',lead_id='$lead_id' where agent_log_id='$agent_log_id';";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
### If CALLBK, change vicidial_callback record to INACTIVE
if ($dispo == 'CALLBK')
{
$stmt="UPDATE vicidial_callbacks set status='INACTIVE' where lead_id='$lead_id' order by callback_id desc LIMIT 1;";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
}
}
else
{