[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
Thu Dec 27 13:19:03 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-27-2007 13:19 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-27-07 13:19  
---------------------------------------------------------------------- 
I am migrating this to the core of Asterisk as suggested. In the event that
anyone might stumble upon this issue and want to use the patch, I've
attached a second patch which fixes a bug in the first patch. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
12-27-07 13:19  kratzers       Note Added: 0076055                          
======================================================================




More information about the asterisk-bugs mailing list