[asterisk-bugs] [Asterisk 0018212]: [patch] CDR's being written on caller hangup

Asterisk Bug Tracker noreply at bugs.digium.com
Fri May 13 11:30:32 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:                     closed
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:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-10-26 03:00 CDT
Last Modified:              2011-05-13 11:30 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.


====================================================================== 

---------------------------------------------------------------------- 
 (0134909) svnbot (reporter) - 2011-05-13 11:30
 https://issues.asterisk.org/view.php?id=18212#c134909 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 318869

_U  trunk/
U   trunk/main/features.c

------------------------------------------------------------------------
r318869 | rmudgett | 2011-05-13 11:30:30 -0500 (Fri, 13 May 2011) | 26
lines

Merged revisions 318868 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r318868 | rmudgett | 2011-05-13 11:28:26 -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=318869 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-05-13 11:30 svnbot         Checkin                                      
2011-05-13 11:30 svnbot         Note Added: 0134909                          
======================================================================




More information about the asterisk-bugs mailing list