#$primary->freesiderewritestatus( 'taqua-accountcode-primary' );
my $error = $primary->replace;
if ( $error ) {
- warn "WARNING: error rewriting primary CDR (will retry): $error\n"
+ warn "WARNING: error rewriting primary CDR (will retry): $error\n";
next;
}
sleep 30; #i dunno, wait and see if the database comes back?
}
+ last if sigterm() || sigint();
+
}
myexit() if sigterm() || sigint();