From: Mark Wells Date: Wed, 14 Jan 2015 20:36:01 +0000 (-0800) Subject: voip_ms CDRs: fix misnamed module, set better default for import script, #31835 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=3296dc745adc1e45230a26715a1fff04fa1c3654 voip_ms CDRs: fix misnamed module, set better default for import script, #31835 --- 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."; } }