Added Lead Tools Advanced page

Added agent manual dial by lead ID
Several small fixes
hopper script features added for campaign restriction

git-svn-id: svn://192.168.202.10@2036 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2013-10-17 02:14:44 +00:00
parent a824050877
commit 771ae6db9e
21 changed files with 4384 additions and 76 deletions
+14
View File
@@ -1454,6 +1454,20 @@ if ($ACTION == 'manDiaLnextCaLL')
if (strlen($phone_number) > 5)
{$override_dial_number = $phone_number;}
else
{
##### gather local call time setting from campaign
$stmt="SELECT phone_number FROM vicidial_list where lead_id='$lead_id';";
$rslt=mysql_to_mysqli($stmt, $link);
if ($mel > 0) {mysql_error_logging($NOW_TIME,$link,$mel,$stmt,'00XXX',$user,$server_ip,$session_name,$one_mysql_log);}
if ($DB) {echo "$stmt\n";}
$lid_chk_ct = mysqli_num_rows($rslt);
if ($lid_chk_ct > 0)
{
$row=mysqli_fetch_row($rslt);
$phone_number = $row[0];
}
}
}
else
{