summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2015-01-14 12:36:18 -0800
committerMark Wells <mark@freeside.biz>2015-01-14 12:36:18 -0800
commit53565181442e97c9763047fd7d3c004f80618411 (patch)
tree56180ac32cee3627a18bcdf9a2b822460be43c34
parent46913d918c2313e003578c2d8f649319a4f6a87d (diff)
voip_ms CDRs: fix misnamed module, set better default for import script, #31835
-rw-r--r--FS/FS/Misc/Getopt.pm4
-rwxr-xr-x[-rw-r--r--]bin/cdr-voip_ms.import4
2 files changed, 4 insertions, 4 deletions
diff --git a/FS/FS/Misc/Getopt.pm b/FS/FS/Misc/Getopt.pm
index 973295b62..a9d0ecff5 100644
--- a/FS/FS/Misc/Getopt.pm
+++ b/FS/FS/Misc/Getopt.pm
@@ -1,8 +1,8 @@
-package FS::Getopt;
+package FS::Misc::Getopt;
=head1 NAME
-FS::Getopt - Getopt::Std for Freeside command line/cron scripts
+FS::Misc::Getopt - Getopt::Std for Freeside command line/cron scripts
=head1 SYNOPSIS
diff --git a/bin/cdr-voip_ms.import b/bin/cdr-voip_ms.import
index 1b4805d0c..31fff0bbb 100644..100755
--- a/bin/cdr-voip_ms.import
+++ b/bin/cdr-voip_ms.import
@@ -40,8 +40,8 @@ foreach my $part_export (@exports) {
debug "Downloading records since most recent batch: ".
time2str('%Y-%m-%d', $opt{start});
} else {
- $opt{start} = 0;
- debug "Downloading records since time = zero.";
+ $opt{start} = 1262332800;
+ debug "Downloading records since January 2010.";
}
}