summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/cdr-voipswitch.import4
-rwxr-xr-xbin/test_scrub_sql4
2 files changed, 4 insertions, 4 deletions
diff --git a/bin/cdr-voipswitch.import b/bin/cdr-voipswitch.import
index a8ab9d944..69d0636a7 100644
--- a/bin/cdr-voipswitch.import
+++ b/bin/cdr-voipswitch.import
@@ -122,7 +122,7 @@ my $row;
while ( $row = $sth->fetchrow_hashref ) {
my $ip = $row->{ip_number};
- if ( $ip =~ /^([\d\.]+)\/([\d\.]*)$/ ) {
+ if ( $ip =~ /^([\d\.]+)\/([\d\.]*)/ ) {
$ip = $1;
#$nat_ip = $2;
}
@@ -144,7 +144,7 @@ while ( $row = $sth->fetchrow_hashref ) {
uniqueid => $row->{id_cc},
orig_call_id => $row->{clid},
billsec => $row->{effective_duration},
- lastdata => $row->{dtmf},
+ #lastdata => $row->{dtmf},
disposition => $row->{call_data},
cdrbatchnum => $cdrbatchnum,
diff --git a/bin/test_scrub_sql b/bin/test_scrub_sql
index fb26fe940..fe66805d3 100755
--- a/bin/test_scrub_sql
+++ b/bin/test_scrub_sql
@@ -15,11 +15,11 @@
foreach my $table (qw(
part_export_option
- payment_gateway
payment_gateway_option
+ payment_gateway
agent_payment_gateway
- queue
queue_arg
+ queue
cust_pay_batch
)) {
print "DELETE FROM $table;\n";