From 777e0e68f1200ea601fc4eabe0ed4da13628b233 Mon Sep 17 00:00:00 2001 From: Jeremy Davis Date: Thu, 4 Dec 2014 09:54:10 -0500 Subject: [PATCH] Ticket #32088 Thinktel integration --- bin/cdr-thinktel.import | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/cdr-thinktel.import b/bin/cdr-thinktel.import index ccbd78c39..9afd34cc5 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 ) { -- 2.11.0