diff options
author | Jeremy Davis <jeremyd@freeside.biz> | 2014-12-04 09:51:07 -0500 |
---|---|---|
committer | Jeremy Davis <jeremyd@freeside.biz> | 2014-12-04 09:51:07 -0500 |
commit | bf50a8356a7344b4f75c7bc7f952019b98867f26 (patch) | |
tree | 5f8c25cd89822fa06f6a567db38d8c5b9d478a34 /bin | |
parent | 7c8aa3f08b006c9772889d95c5dcef0a6a69bf17 (diff) |
Ticket #32088 Thinktel integration
Diffstat (limited to 'bin')
-rwxr-xr-x[-rw-r--r--] | bin/cdr-thinktel.import | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/cdr-thinktel.import b/bin/cdr-thinktel.import index ccbd78c39..9afd34cc5 100644..100755 --- a/bin/cdr-thinktel.import +++ b/bin/cdr-thinktel.import @@ -52,7 +52,8 @@ $ftp->login($login, $password) warn "Retrieving directory listing\n" if $opt_v; $ftp->cwd('/'); -my @files = $ftp->ls(); +my @files = grep { $_ =~ /MetaSwitch/ } $ftp->ls(); + warn scalar(@files)." CDR files found.\n" if $opt_v; # apply date range if ( $opt_a ) { |