[asterisk-bugs] [Asterisk 0018212]: [patch] CDR's being written on caller hangup
Asterisk Bug Tracker
noreply at bugs.digium.com
Fri May 13 11:28:28 CDT 2011
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=18212
======================================================================
Reported By: leearcher
Assigned To: rmudgett
======================================================================
Project: Asterisk
Issue ID: 18212
Category: CDR/cdr_adaptive_odbc
Reproducibility: always
Severity: minor
Priority: normal
Status: feedback
Target Version: 1.8.5
Asterisk Version: SVN
JIRA: SWP-2559
Regression: No
Reviewboard Link: https://reviewboard.asterisk.org/r/1206/
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2010-10-26 03:00 CDT
Last Modified: 2011-05-13 11:28 CDT
======================================================================
Summary: [patch] CDR's being written on caller hangup
Description:
I have an issue where I need to log who hung up on the CDR. I have the
various CDR(whohungup)=XXX in the dial plan and can see this on the console
when I test each end hanging up first. However the CDR is written
instantly one party hangs up and not after all extensions have finished
executing the CDR(whohungup) has been changed. I have set
endbeforehexten=no in cdr.conf but this doesn't seem to make any
difference.
======================================================================
----------------------------------------------------------------------
(0134908) svnbot (reporter) - 2011-05-13 11:28
https://issues.asterisk.org/view.php?id=18212#c134908
----------------------------------------------------------------------
Repository: asterisk
Revision: 318868
U branches/1.8/main/features.c
------------------------------------------------------------------------
r318868 | rmudgett | 2011-05-13 11:28:27 -0500 (Fri, 13 May 2011) | 19
lines
CDR's are being written immediately on caller hangup.
CDR's are being written immediately on caller hangup. The dialplan is not
able to modify it in the h exten. The h exten in the initial context is
not run before closing CDR's when the bridge is unlinked if a macro is
active and does not have an h exten.
* Make ast_bridge_call() check for an h exten in the current context and
if a macro is active then the initial context. The first h exten found is
then run before closing the CDR.
(closes issue https://issues.asterisk.org/view.php?id=18212)
Reported by: leearcher
Patches:
issue18212_v1.8.patch uploaded by rmudgett (license 664)
Tested by: rmudgett
Review: https://reviewboard.asterisk.org/r/1206/
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=318868
Issue History
Date Modified Username Field Change
======================================================================
2011-05-13 11:28 svnbot Checkin
2011-05-13 11:28 svnbot Note Added: 0134908
======================================================================
More information about the asterisk-bugs
mailing list