diff options
author | Mark Wells <mark@freeside.biz> | 2015-01-14 12:36:01 -0800 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2015-01-14 12:36:01 -0800 |
commit | 3296dc745adc1e45230a26715a1fff04fa1c3654 (patch) | |
tree | d6f0239fb42ad61e737e2ddba4a082e9e9b4ab58 | |
parent | 362c62f4bd5cfbab019a05c9de62abc1c6e47e2b (diff) |
voip_ms CDRs: fix misnamed module, set better default for import script, #31835
-rw-r--r-- | FS/FS/Misc/Getopt.pm | 4 | ||||
-rwxr-xr-x | bin/cdr-voip_ms.import | 4 |
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 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."; } } |