avoid infinite looping on bad CDRs in voip_inbound, from #16723
authorMark Wells <mark@freeside.biz>
Tue, 19 Jun 2012 19:15:29 +0000 (12:15 -0700)
committerMark Wells <mark@freeside.biz>
Tue, 19 Jun 2012 19:15:29 +0000 (12:15 -0700)
FS/FS/part_pkg/voip_inbound.pm

index ecc4f47..9054f7b 100644 (file)
@@ -242,6 +242,7 @@ sub calc_usage {
                                          );
       if ( $reason ) {
         warn "not charging for CDR ($reason)\n" if $DEBUG;
+        $cdr_search->adjust(1);
         next;
       }