diff options
author | ivan <ivan> | 2011-05-09 22:14:36 +0000 |
---|---|---|
committer | ivan <ivan> | 2011-05-09 22:14:36 +0000 |
commit | a1727d31b39699e3e5220f9c2fa63b2171a7c535 (patch) | |
tree | ff5e90d9250722001c21c836658e3308e3b207f4 /FS/bin | |
parent | 7fb4524a6efd3aeffe137b1bb42141f38d7be988 (diff) |
better retry behavior for non-found taqua CDR rewrites, RT#12181
Diffstat (limited to 'FS/bin')
-rw-r--r-- | FS/bin/freeside-cdrrewrited | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/FS/bin/freeside-cdrrewrited b/FS/bin/freeside-cdrrewrited index ac0a1ce4f..bcbde1a39 100644 --- a/FS/bin/freeside-cdrrewrited +++ b/FS/bin/freeside-cdrrewrited @@ -106,10 +106,10 @@ while (1) { my $cantfind = "can't find primary CDR with session ". $cdr->sessionnum. ", src ". $cdr->subscriber; if ( $cdr->calldate_unix + $accountcode_giveup < time ) { - warn" ERROR: $cantfind; giving up\n"; + warn "ERROR: $cantfind; giving up\n"; push @status, 'taqua-accountcode-NOTFOUND'; $cdr->status('done'); #so it doesn't try to rate - delete $accountcode_unmatch($cdr->acctid}; #so it doesn't suck mem + delete $accountcode_unmatch{$cdr->acctid}; #so it doesn't suck mem } else { warn "WARNING: $cantfind; will keep trying\n"; $accountcode_unmatch{$cdr->acctid} = time; |