[asterisk-bugs] [Asterisk 0012876]: [patch] Support for CDR's and syslogd

Asterisk Bug Tracker noreply at bugs.digium.com
Sat Feb 28 08:51:31 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12876 
====================================================================== 
Reported By:                bbryant
Assigned To:                murf
====================================================================== 
Project:                    Asterisk
Issue ID:                   12876
Category:                   CDR/NewFeature
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 123009 
Request Review:              
====================================================================== 
Date Submitted:             2008-06-17 12:32 CDT
Last Modified:              2009-02-28 08:51 CST
====================================================================== 
Summary:                    [patch] Support for CDR's and syslogd
Description: 
This patch adds support for using custom cdr's with syslogd. 

This code has been tested with a minimal configuration of syslogd, but I
was not able to get syslogd to output to a particular file.

Testing of this feature by somebody with syslog experience would be
appreciated to see if it's a code flaw or syslog configuration issue.

> syslog.conf
asterisk.*             /var/log/asterisk_cdr_custom.log

> asterisk/cdr_custom.conf
[mappings]
syslog.asterisk => "${CDR(clid)}", "${CDR(src)}", "${CDR(dst)}",
"${CDR(dcontext)}", "${CDR(channel)}", "${CDR(dstchannel)}",
"${CDR(lastapp)}", "${CDR(lastdata)}", "${CDR(start)}", "${CDR(answer)}",
"${CDR(end)}", "${CDR(duration)}", "${CDR(billsec)}",
"${CDR(disposition)}"," ${CDR(amaflags)}", "${CDR(accountcode)}",
"${CDR(uniqueid)}", "${CDR(userfield)}"
====================================================================== 

---------------------------------------------------------------------- 
 (0100947) russell (administrator) - 2009-02-28 08:51
 http://bugs.digium.com/view.php?id=12876#c100947 
---------------------------------------------------------------------- 
Yes, this bug should still be open.  It's a new feature that needs to be
reviewed and taken to completion.

I wouldn't expect any comments from bbryant, until if and when he joins us
again.  Brett wrote this while working as an intern in our group last
Summer. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-02-28 08:51 russell        Note Added: 0100947                          
======================================================================




More information about the asterisk-bugs mailing list