X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=bin%2Fcdr-voipswitch.import;h=69d0636a7efeeebcc832df1915ca96d74ebc764b;hp=a8ab9d9445ec08f8405497a9c9230c72776d9d9a;hb=HEAD;hpb=08c277b9867608b9ba8ddc8ae8c67d1ca8bb3ff5 diff --git a/bin/cdr-voipswitch.import b/bin/cdr-voipswitch.import old mode 100644 new mode 100755 index a8ab9d944..69d0636a7 --- 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,