[asterisk-bugs] [Asterisk 0011379]: 1.4.14 breaks cdr posting
noreply at bugs.digium.com
noreply at bugs.digium.com
Mon Nov 26 13:42:16 CST 2007
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=11379
======================================================================
Reported By: cmaj
Assigned To: murf
======================================================================
Project: Asterisk
Issue ID: 11379
Category: CDR/General
Reproducibility: always
Severity: major
Priority: normal
Status: assigned
Asterisk Version: 1.4.14
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 11-26-2007 11:46 CST
Last Modified: 11-26-2007 13:42 CST
======================================================================
Summary: 1.4.14 breaks cdr posting
Description:
Just upgraded from 1.4.8, to what I thought was a stable bug fix release of
1.4.14, and lookie here, CDR posting is completely busted.
======================================================================
----------------------------------------------------------------------
cmaj - 11-26-07 13:42
----------------------------------------------------------------------
Here's the change that did it. Just need to roll back these two lines:
Index: main/cdr.c
===================================================================
--- main/cdr.c (revision 82261)
+++ main/cdr.c (revision 82262)
@@ -977,6 +977,8 @@
struct ast_cdr_beitem *i;
for ( ; cdr ; cdr = cdr->next) {
+ if (cdr->disposition < AST_CDR_ANSWERED &&
(ast_strlen_zero(cdr-
>channel) || ast_strlen_zero(cdr->dstchannel)))
+ continue; /* people don't want to see unanswered
single-
channel events */
chan = S_OR(cdr->channel, "<unknown>");
check_post(cdr);
if (ast_tvzero(cdr->end))
Issue History
Date Modified Username Field Change
======================================================================
11-26-07 13:42 cmaj Note Added: 0074359
======================================================================
More information about the asterisk-bugs
mailing list