2006-06-08 snapshot
git-svn-id: svn://192.168.202.10@8 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
@@ -157,7 +157,7 @@ while(<STDIN>) {
|
||||
{$callerid = $calleridname;}
|
||||
|
||||
|
||||
if ($channel =~ /^SIP/) {$channel =~ s/-.*//gi;}
|
||||
# if ($channel =~ /^SIP/) {$channel =~ s/-.*//gi;}
|
||||
# if ($channel =~ /^Zap\//) {$channel =~ s/-\d$//gi;}
|
||||
if (length($callerid)<10) {$callerid = $parked_by;}
|
||||
if (length($pin)>0) {$callerid = $pin;}
|
||||
@@ -294,7 +294,7 @@ if ($dbhA->has_selected_record)
|
||||
|
||||
|
||||
### insert a LIVE record to the vicidial_auto_calls table
|
||||
$stmtA = "INSERT INTO vicidial_auto_calls values('','$server_ip','$channel_group','LIVE','$new_lead_id','$uniqueid','$callerid','$channel','$phone_code','$phone_number','$SQLdate')";
|
||||
$stmtA = "INSERT INTO vicidial_auto_calls values('','$server_ip','$channel_group','LIVE','$new_lead_id','$uniqueid','$callerid','$channel','$phone_code','$phone_number','$SQLdate','IN')";
|
||||
$dbhA->query($stmtA);
|
||||
if($M){print STDERR "\n|$stmtA|\n";}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user