diff options
author | ivan <ivan> | 2011-05-09 20:39:04 +0000 |
---|---|---|
committer | ivan <ivan> | 2011-05-09 20:39:04 +0000 |
commit | f0926d220112f41d3e5becd48612ee4f6db808c4 (patch) | |
tree | 481c507fcd3ebbb1ce92678719cfc0a9e7b5fe4b | |
parent | fde2470a7cece53bfd0b51b6e345f3153cbfa744 (diff) |
better retry behavior for non-found taqua CDR rewrites, RT#12181
-rw-r--r-- | FS/bin/freeside-cdrrewrited | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/bin/freeside-cdrrewrited b/FS/bin/freeside-cdrrewrited index f46504844..7c759f5c3 100644 --- a/FS/bin/freeside-cdrrewrited +++ b/FS/bin/freeside-cdrrewrited @@ -105,7 +105,7 @@ while (1) { my $cantfind = "can't find primary CDR with session ". $cdr->sessionnum. ", src ". $cdr->subscriber; - if ( $cdr->calldate_unix + $accountcode_giveup > time ) { + if ( $cdr->calldate_unix - $accountcode_giveup > time ) { push @status, 'taqua-accountcode-NOTFOUND'; $cdr->status('done'); #so it doesn't try to rate } else { |