small fix for manual dial lead insertion with vendor_lead_code
git-svn-id: svn://192.168.202.10@1845 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
+4
-3
@@ -58,10 +58,11 @@
|
||||
# 111114-0037 - Added scheduled callback and qm-dispo-code fields to external_status function
|
||||
# 120301-1745 - Fixed ereg statements dashes
|
||||
# 120529-1551 - Fixed callback_datetime filter
|
||||
# 120731-1206 - Allow dot in vendor_id
|
||||
#
|
||||
|
||||
$version = '2.4-24';
|
||||
$build = '120529-1551';
|
||||
$version = '2.4-25';
|
||||
$build = '120731-1206s';
|
||||
|
||||
$startMS = microtime();
|
||||
|
||||
@@ -216,7 +217,7 @@ if ($non_latin < 1)
|
||||
$agent_user=ereg_replace("[^0-9a-zA-Z]","",$agent_user);
|
||||
$function = ereg_replace("[^-\_0-9a-zA-Z]","",$function);
|
||||
$value = ereg_replace("[^-\_0-9a-zA-Z]","",$value);
|
||||
$vendor_id = ereg_replace("[^-\_0-9a-zA-Z]","",$vendor_id);
|
||||
$vendor_id = ereg_replace("[^-\.\_0-9a-zA-Z]","",$vendor_id);
|
||||
$focus = ereg_replace("[^-\_0-9a-zA-Z]","",$focus);
|
||||
$preview = ereg_replace("[^-\_0-9a-zA-Z]","",$preview);
|
||||
$notes = ereg_replace("\+"," ",$notes);
|
||||
|
||||
@@ -310,10 +310,11 @@
|
||||
# 120513-0045 - Added Dial In-group and No-Dial compatibility
|
||||
# 120514-0934 - Added Dial In-group cid-override
|
||||
# 120619-0616 - Corrected xfer_log logging of manual preview dialed calls
|
||||
# 120731-1205 - Small fix for vendor_lead_code population on new lead during manual dial
|
||||
#
|
||||
|
||||
$version = '2.6-208';
|
||||
$build = '120619-0616';
|
||||
$version = '2.6-209';
|
||||
$build = '120731-1205';
|
||||
$mel=1; # Mysql Error Log enabled = 1
|
||||
$mysql_log_count=441;
|
||||
$one_mysql_log=0;
|
||||
@@ -1557,7 +1558,7 @@ if ($ACTION == 'manDiaLnextCaLL')
|
||||
else
|
||||
{
|
||||
### insert a new lead in the system with this phone number
|
||||
$stmt = "INSERT INTO vicidial_list SET phone_code='$phone_code',phone_number='$phone_number',list_id='$list_id',status='QUEUE',user='$user',called_since_last_reset='Y',entry_date='$ENTRYdate',last_local_call_time='$NOW_TIME';";
|
||||
$stmt = "INSERT INTO vicidial_list SET phone_code='$phone_code',phone_number='$phone_number',list_id='$list_id',status='QUEUE',user='$user',called_since_last_reset='Y',entry_date='$ENTRYdate',last_local_call_time='$NOW_TIME',vendor_lead_code='$vendor_lead_code';";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
if ($mel > 0) {mysql_error_logging($NOW_TIME,$link,$mel,$stmt,'00023',$user,$server_ip,$session_name,$one_mysql_log);}
|
||||
|
||||
Reference in New Issue
Block a user