[asterisk-bugs] [Asterisk 0011592]: Allow for the conditional logging of CDRs based on the call disposition

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Dec 18 13:04:31 CST 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11592 
====================================================================== 
Reported By:                kratzers
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   11592
Category:                   Addons/cdr_addon_mysql
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     feedback
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!): 497 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             12-18-2007 11:01 CST
Last Modified:              12-18-2007 13:04 CST
====================================================================== 
Summary:                    Allow for the conditional logging of CDRs based on
the call disposition
Description: 
In our setting, we've found it desirable to log CDR conditionally based on
the call disposition. For instance, only log CDRs for calls that were
either answered or not answered. Removing unwanted records ex post facto
using mysql triggers is inefficient and ugly, so I thought it might be
useful to be able to do this natively. Attached is a patch which allows
users to specify the dispositions to log using a mask such as
NOANSWER|ANSWERED. The default is to log everything:
FAILED|BUSY|NOANSWER|ANSWERED.
====================================================================== 

---------------------------------------------------------------------- 
 kratzers - 12-18-07 13:04  
---------------------------------------------------------------------- 
I hadn't really thought about it before, but I agree. The only immediately
obvious disadvantage of doing this globally that I see is that it wouldn't
be possible to have full CDRs in cdr-csv (or elsewhere) and only a subset
in a database table. It would be all or nothing. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
12-18-07 13:04  kratzers       Note Added: 0075665                          
======================================================================




More information about the asterisk-bugs mailing list