[asterisk-bugs] [Asterisk 0007274]: [patch] record spooling support in cdr_addon_mysql.c

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Sep 25 11:56:01 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=7274 
====================================================================== 
Reported By:                jpabuyer
Assigned To:                juggie
====================================================================== 
Project:                    Asterisk
Issue ID:                   7274
Category:                   Addons/cdr_addon_mysql
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     assigned
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 33482 
Disclaimer on File?:        No 
Request Review:              
====================================================================== 
Date Submitted:             06-02-2006 17:39 CDT
Last Modified:              09-25-2007 11:56 CDT
====================================================================== 
Summary:                    [patch] record spooling support in cdr_addon_mysql.c
Description: 
I am losing CDR records on my MySQL backend. I just compared CSV records
with MySQL's and I was surprised with the difference. Searching a bit, I
hit this bug: http://bugs.digium.com/view.php?id=4953

Questions:

1.- kpfleming says "The spooling issue will continue to be a problem for
v1-0 users, but HEAD (and v1-2) users can use the built-in spooling in
the CDR engine.". That "built-in spooling" has to be enabled somewhere
or is it automatic?

2.- If there is a built-in spooling into CDR itself and there is no
spooling in cdr_addon_mysql, when the mysql server is down, crashed,
full, unwired, firewalled, or whatever.. is built-in spooling in CDR
itself supposed to handle that??

I'm using asterisk-1.2.7.1 and asterisk-addons-1.2.2

Joseph Benden's patch makes a great job spooling records, but you guys
made him take out spooling support from cdr_addon_mysql because in asterisk
1.2.x CDR's built-in spooling support was going to take care of not losing
records. But that's not happening right now.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0004953 [patch] cdr_addon_mysql - Lost cdr reco...
====================================================================== 

---------------------------------------------------------------------- 
 juggie - 09-25-07 11:56  
---------------------------------------------------------------------- 
i just noticed this assigned to me.

I'm working on some changes to the cdr core which will allow this.

I will need to create a branch of asterisk-addons to modify
cdr_addon_mysql.

I'll look into it and let you know when i have something ready for
testing, atm i'm about 75% done.

This would only be a solution by 1.6+. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
09-25-07 11:56  juggie         Note Added: 0071077                          
======================================================================




More information about the asterisk-bugs mailing list