voip_ms CDRs: fix misnamed module, set better default for import script, #31835
authorMark Wells <mark@freeside.biz>
Wed, 14 Jan 2015 20:36:18 +0000 (12:36 -0800)
committerMark Wells <mark@freeside.biz>
Wed, 14 Jan 2015 20:36:18 +0000 (12:36 -0800)
FS/FS/Misc/Getopt.pm
bin/cdr-voip_ms.import [changed mode: 0644->0755]

index 973295b..a9d0ecf 100644 (file)
@@ -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
 
old mode 100644 (file)
new mode 100755 (executable)
index 1b4805d..31fff0b
@@ -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.";
     }
   }