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

Asterisk Bug Tracker noreply at bugs.digium.com
Thu May 5 16:11:32 CDT 2011


The following issue requires your FEEDBACK. 
====================================================================== 
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:            
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-05 16:11 CDT
====================================================================== 
Summary:                    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.


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

---------------------------------------------------------------------- 
 (0134540) rmudgett (administrator) - 2011-05-05 16:11
 https://issues.asterisk.org/view.php?id=18212#c134540 
---------------------------------------------------------------------- 
Is the dial application done inside a macro?

If so, the macro should have its own h exten.  When the bridge is broken
because of a hangup, it will run the h exten found in the macro context
before closing the CDR. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-05-05 16:11 rmudgett       Note Added: 0134540                          
2011-05-05 16:11 rmudgett       Status                   assigned => feedback
======================================================================




More information about the asterisk-bugs mailing list