fixed issue with recording_log vicidial_id on manual dial calls that did not answer
git-svn-id: svn://192.168.202.10@1850 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
@@ -3535,6 +3535,7 @@ if ($stage == "start")
|
||||
if ($stage == "end")
|
||||
{
|
||||
$status_dispo = 'DISPO';
|
||||
$log_no_enter=0;
|
||||
if ($alt_num_status > 0)
|
||||
{$status_dispo = 'ALTNUM';}
|
||||
##### get call type from vicidial_live_agents table
|
||||
@@ -3561,7 +3562,7 @@ if ($stage == "end")
|
||||
{
|
||||
echo "LOG NOT ENTERED\n";
|
||||
echo "uniqueid $uniqueid or lead_id: $lead_id is not valid\n";
|
||||
exit;
|
||||
$log_no_enter=1;
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -4560,6 +4561,14 @@ if ($stage == "end")
|
||||
}
|
||||
}
|
||||
|
||||
if ($log_no_enter > 0)
|
||||
{
|
||||
$fp = fopen ("./vicidial_debug.txt", "a");
|
||||
fwrite ($fp, "$NOW_TIME|DIAL_LOG_1N|$uniqueid|$lead_id|$user|$inOUT|$VLA_inOUT|$start_epoch|$phone_number|$MDnextCID|$agentchannel|$loop_count|$total_rec|$total_hangup|$VDstop_rec_after_each_call\n");
|
||||
fclose($fp);
|
||||
|
||||
exit;
|
||||
}
|
||||
|
||||
$talk_sec=0;
|
||||
$talk_epochSQL='';
|
||||
|
||||
@@ -8285,8 +8285,9 @@ function set_length(SLnumber,SLlength_goal,SLdirection)
|
||||
delete xmlhttp;
|
||||
}
|
||||
}
|
||||
else {process_post_hangup=1;}
|
||||
if (process_post_hangup==1)
|
||||
else
|
||||
{process_post_hangup=1;}
|
||||
if (process_post_hangup==1)
|
||||
{
|
||||
VD_live_customer_call = 0;
|
||||
VD_live_call_secondS = 0;
|
||||
|
||||
Reference in New Issue
Block a user