[asterisk-bugs] [Asterisk 0012368]: CDR written with incorrect uniqueid

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Apr 4 10:54:48 CDT 2008


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.digium.com/view.php?id=12368 
====================================================================== 
Reported By:                bcnit
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12368
Category:                   CDR/General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.18 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             04-04-2008 10:54 CDT
Last Modified:              04-04-2008 10:54 CDT
====================================================================== 
Summary:                    CDR written with incorrect uniqueid
Description: 
Under certain circumstances, I am experiencing multiple CDRs with the same
unique ID. This is 100% reproducible.

The situation is this:

SIP device A calls SIP device B, B puts A on hold and on a second line,
dials C. B speaks to C and then transfers C to A by pressing the 'transfer'
button on the phone (or hanging the handset up which performs a transfer
automatically).

The unique ID which is duplicated is the one allocated to the original A
to B call (it is duplicated onto the B to C call).

Dialplan debugging shows that when the call from B to C is made it is
allocated a genuinely unique unique ID, but when this CDR comes to be
written out, the unique ID is empty and is replaced with the unique ID of
the original call (i.e. the first call from A to B).

If CDR logging to MySQL is configured as documented on the voip-info wiki
(with the uniqueID field being the primary key), Asterisk can't write the
duplicate record out to the database.

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

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
04-04-08 10:54  bcnit          Asterisk Version          => 1.4.18          
04-04-08 10:54  bcnit          SVN Branch (only for SVN checkou => N/A          
  
======================================================================




More information about the asterisk-bugs mailing list