[freeside-commits] branch master updated. bf50a8356a7344b4f75c7bc7f952019b98867f26
Jeremy Davis
jeremyd at 420.am
Thu Dec 4 06:53:04 PST 2014
The branch, master has been updated
via bf50a8356a7344b4f75c7bc7f952019b98867f26 (commit)
from 7c8aa3f08b006c9772889d95c5dcef0a6a69bf17 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit bf50a8356a7344b4f75c7bc7f952019b98867f26
Author: Jeremy Davis <jeremyd at freeside.biz>
Date: Thu Dec 4 09:51:07 2014 -0500
Ticket #32088 Thinktel integration
diff --git a/bin/cdr-thinktel.import b/bin/cdr-thinktel.import
old mode 100644
new mode 100755
index ccbd78c..9afd34c
--- 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 ) {
-----------------------------------------------------------------------
Summary of changes:
bin/cdr-thinktel.import | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
mode change 100644 => 100755 bin/cdr-thinktel.import
More information about the freeside-commits
mailing list