[asterisk-bugs] [Asterisk 0019259]: 3 examples of loss of CDR data

Asterisk Bug Tracker noreply at bugs.digium.com
Tue May 10 05:25:35 CDT 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=19259 
====================================================================== 
Reported By:                one47
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   19259
Category:                   CDR/General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.2.18 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2011-05-10 05:23 CDT
Last Modified:              2011-05-10 05:25 CDT
====================================================================== 
Summary:                    3 examples of loss of CDR data
Description: 
Discovered in 1.6.2.18, but looking at 1.8 and trunk, it probably still
applies, as this code appears to be largely unchanged.

If transferring (ast_do_masquerade) a bridged channel into an unbridged
channel, CDR data is lost. I have found 3 scenarios so far where CDR data
or records are lost.
====================================================================== 

---------------------------------------------------------------------- 
 (0134707) one47 (reporter) - 2011-05-10 05:25
 https://issues.asterisk.org/view.php?id=19259#c134707 
---------------------------------------------------------------------- 
Sadly I do not yet have a patch for this, but can think of 2 possible
solutions. One is to flag the CDRs that are going to be overwritten by a
bridge so that they are not swapped by ast_do_masquerade(). The other is
that CDRs are simply never swapped where one channel is bridged and the
other unbridged.

IMHO This needs the attention of a CDR expert. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-05-10 05:25 one47          Note Added: 0134707                          
======================================================================




More information about the asterisk-bugs mailing list