Propchange: team/seanbright/cdr-syslog/cdr/cdr_syslog.c
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: team/seanbright/cdr-syslog/configs/cdr_syslog.conf.sample
URL: http://svn.asterisk.org/svn-view/asterisk/team/seanbright/cdr-syslog/configs/cdr_syslog.conf.sample?view=auto&rev=197811
==============================================================================
--- team/seanbright/cdr-syslog/configs/cdr_syslog.conf.sample (added)
+++ team/seanbright/cdr-syslog/configs/cdr_syslog.conf.sample Thu May 28 16:24:59 2009
@@ -1,0 +1,60 @@
+;
+; Syslog mappings for custom CDR logging
+;
+; The cdr_syslog module sends CDR records to syslog
+;
+; XXX: Documentation will be finished before commit. You should be able to do
+; something like this in /etc/syslog.conf:
+;
+; local0.info /var/log/asterisk-cdr.log
+;
+; And uncomment the [cdr-master] section and be good to go.
+;
+
+[general]
+; The syslog 'facility' to use when logging messages. This can be any of the
+; following:
+;
+; auth
+; authpriv
+; cron
+; daemon
+; ftp
+; kern
+; local0, local1, local2, local3, local4, local5, local6, local7
+; lpr
+; mail
+; news
+; syslog
+; user
+; uucp
+;
+; The default is 'daemon'
+;
+;facility=local0
+
+;
+; The level signifies the importance of the logged message, but we consider
+; these informational (info) messages by default. We allow customization so that
+; your syslog.conf settings can more easily filter CDR logging. This can be any
+; of the following:
+;
+; emerg
+; alert
+; crit
+; error
+; warning
+; notice
+; info
+; debug
+;
+; The default is 'info'
+;level=warn
+
+;[cdr-master]
+;facility = local0
+;level = info
+;template = "${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)}"
+
+;[cdr-simple]
+;template = "${EPOCH}","${CDR(src)}","${CDR(dst)}"
Propchange: team/seanbright/cdr-syslog/configs/cdr_syslog.conf.sample
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
+/* Define if your system has the SYSLOG_FACILITY_LOG_AUTH headers. */
+#undef HAVE_SYSLOG_FACILITY_LOG_AUTH
+
+/* Define if your system has the SYSLOG_FACILITY_LOG_AUTHPRIV headers. */
+#undef HAVE_SYSLOG_FACILITY_LOG_AUTHPRIV
+
+/* Define SYSLOG_FACILITY_LOG_AUTHPRIV headers version */
+#undef HAVE_SYSLOG_FACILITY_LOG_AUTHPRIV_VERSION
+
+/* Define SYSLOG_FACILITY_LOG_AUTH headers version */
+#undef HAVE_SYSLOG_FACILITY_LOG_AUTH_VERSION
+
+/* Define if your system has the SYSLOG_FACILITY_LOG_CRON headers. */
+#undef HAVE_SYSLOG_FACILITY_LOG_CRON
+
+/* Define SYSLOG_FACILITY_LOG_CRON headers version */
+#undef HAVE_SYSLOG_FACILITY_LOG_CRON_VERSION
+
+/* Define if your system has the SYSLOG_FACILITY_LOG_DAEMON headers. */
+#undef HAVE_SYSLOG_FACILITY_LOG_DAEMON
+
+/* Define SYSLOG_FACILITY_LOG_DAEMON headers version */
+#undef HAVE_SYSLOG_FACILITY_LOG_DAEMON_VERSION
+
+/* Define if your system has the SYSLOG_FACILITY_LOG_FTP headers. */
+#undef HAVE_SYSLOG_FACILITY_LOG_FTP
+
+/* Define SYSLOG_FACILITY_LOG_FTP headers version */
+#undef HAVE_SYSLOG_FACILITY_LOG_FTP_VERSION
+
+/* Define if your system has the SYSLOG_FACILITY_LOG_KERN headers. */
+#undef HAVE_SYSLOG_FACILITY_LOG_KERN
+
+/* Define SYSLOG_FACILITY_LOG_KERN headers version */
+#undef HAVE_SYSLOG_FACILITY_LOG_KERN_VERSION
+
+/* Define if your system has the SYSLOG_FACILITY_LOG_LOCAL0 headers. */
+#undef HAVE_SYSLOG_FACILITY_LOG_LOCAL0
+
+/* Define SYSLOG_FACILITY_LOG_LOCAL0 headers version */
+#undef HAVE_SYSLOG_FACILITY_LOG_LOCAL0_VERSION
+
+/* Define if your system has the SYSLOG_FACILITY_LOG_LOCAL1 headers. */
+#undef HAVE_SYSLOG_FACILITY_LOG_LOCAL1
+
+/* Define SYSLOG_FACILITY_LOG_LOCAL1 headers version */
+#undef HAVE_SYSLOG_FACILITY_LOG_LOCAL1_VERSION
+
+/* Define if your system has the SYSLOG_FACILITY_LOG_LOCAL2 headers. */
+#undef HAVE_SYSLOG_FACILITY_LOG_LOCAL2
+
+/* Define SYSLOG_FACILITY_LOG_LOCAL2 headers version */
+#undef HAVE_SYSLOG_FACILITY_LOG_LOCAL2_VERSION
+
+/* Define if your system has the SYSLOG_FACILITY_LOG_LOCAL3 headers. */
+#undef HAVE_SYSLOG_FACILITY_LOG_LOCAL3
+
+/* Define SYSLOG_FACILITY_LOG_LOCAL3 headers version */
+#undef HAVE_SYSLOG_FACILITY_LOG_LOCAL3_VERSION
+
+/* Define if your system has the SYSLOG_FACILITY_LOG_LOCAL4 headers. */
+#undef HAVE_SYSLOG_FACILITY_LOG_LOCAL4
+
+/* Define SYSLOG_FACILITY_LOG_LOCAL4 headers version */
+#undef HAVE_SYSLOG_FACILITY_LOG_LOCAL4_VERSION
+
+/* Define if your system has the SYSLOG_FACILITY_LOG_LOCAL5 headers. */
+#undef HAVE_SYSLOG_FACILITY_LOG_LOCAL5
+
+/* Define SYSLOG_FACILITY_LOG_LOCAL5 headers version */
+#undef HAVE_SYSLOG_FACILITY_LOG_LOCAL5_VERSION
+
+/* Define if your system has the SYSLOG_FACILITY_LOG_LOCAL6 headers. */
+#undef HAVE_SYSLOG_FACILITY_LOG_LOCAL6
+
+/* Define SYSLOG_FACILITY_LOG_LOCAL6 headers version */
+#undef HAVE_SYSLOG_FACILITY_LOG_LOCAL6_VERSION
+
+/* Define if your system has the SYSLOG_FACILITY_LOG_LOCAL7 headers. */
+#undef HAVE_SYSLOG_FACILITY_LOG_LOCAL7
+
+/* Define SYSLOG_FACILITY_LOG_LOCAL7 headers version */
+#undef HAVE_SYSLOG_FACILITY_LOG_LOCAL7_VERSION
+
+/* Define if your system has the SYSLOG_FACILITY_LOG_LPR headers. */
+#undef HAVE_SYSLOG_FACILITY_LOG_LPR
+
+/* Define SYSLOG_FACILITY_LOG_LPR headers version */
+#undef HAVE_SYSLOG_FACILITY_LOG_LPR_VERSION
+
+/* Define if your system has the SYSLOG_FACILITY_LOG_MAIL headers. */
+#undef HAVE_SYSLOG_FACILITY_LOG_MAIL
+
+/* Define SYSLOG_FACILITY_LOG_MAIL headers version */
+#undef HAVE_SYSLOG_FACILITY_LOG_MAIL_VERSION
+
+/* Define if your system has the SYSLOG_FACILITY_LOG_NEWS headers. */
+#undef HAVE_SYSLOG_FACILITY_LOG_NEWS
+
+/* Define SYSLOG_FACILITY_LOG_NEWS headers version */
+#undef HAVE_SYSLOG_FACILITY_LOG_NEWS_VERSION
+
+/* Define if your system has the SYSLOG_FACILITY_LOG_SYSLOG headers. */
+#undef HAVE_SYSLOG_FACILITY_LOG_SYSLOG
+
+/* Define SYSLOG_FACILITY_LOG_SYSLOG headers version */
+#undef HAVE_SYSLOG_FACILITY_LOG_SYSLOG_VERSION
+
+/* Define if your system has the SYSLOG_FACILITY_LOG_USER headers. */
+#undef HAVE_SYSLOG_FACILITY_LOG_USER
+
+/* Define SYSLOG_FACILITY_LOG_USER headers version */
+#undef HAVE_SYSLOG_FACILITY_LOG_USER_VERSION
+
+/* Define if your system has the SYSLOG_FACILITY_LOG_UUCP headers. */
+#undef HAVE_SYSLOG_FACILITY_LOG_UUCP
+
+/* Define SYSLOG_FACILITY_LOG_UUCP headers version */
+#undef HAVE_SYSLOG_FACILITY_LOG_UUCP_VERSION
+
/* Define to 1 if you have the <syslog.h> header file. */
#undef HAVE_SYSLOG_H
+
+/* Define if your system has the SYSLOG_LEVEL_LOG_ALERT headers. */
+#undef HAVE_SYSLOG_LEVEL_LOG_ALERT
+
+/* Define SYSLOG_LEVEL_LOG_ALERT headers version */
+#undef HAVE_SYSLOG_LEVEL_LOG_ALERT_VERSION
+
+/* Define if your system has the SYSLOG_LEVEL_LOG_CRIT headers. */
+#undef HAVE_SYSLOG_LEVEL_LOG_CRIT
+
+/* Define SYSLOG_LEVEL_LOG_CRIT headers version */
+#undef HAVE_SYSLOG_LEVEL_LOG_CRIT_VERSION
+
+/* Define if your system has the SYSLOG_LEVEL_LOG_DEBUG headers. */
+#undef HAVE_SYSLOG_LEVEL_LOG_DEBUG
+
+/* Define SYSLOG_LEVEL_LOG_DEBUG headers version */
+#undef HAVE_SYSLOG_LEVEL_LOG_DEBUG_VERSION
+
+/* Define if your system has the SYSLOG_LEVEL_LOG_EMERG headers. */
+#undef HAVE_SYSLOG_LEVEL_LOG_EMERG
+
+/* Define SYSLOG_LEVEL_LOG_EMERG headers version */
+#undef HAVE_SYSLOG_LEVEL_LOG_EMERG_VERSION
+
+/* Define if your system has the SYSLOG_LEVEL_LOG_ERR headers. */
+#undef HAVE_SYSLOG_LEVEL_LOG_ERR
+
+/* Define SYSLOG_LEVEL_LOG_ERR headers version */
+#undef HAVE_SYSLOG_LEVEL_LOG_ERR_VERSION
+
+/* Define if your system has the SYSLOG_LEVEL_LOG_INFO headers. */
+#undef HAVE_SYSLOG_LEVEL_LOG_INFO
+
+/* Define SYSLOG_LEVEL_LOG_INFO headers version */
+#undef HAVE_SYSLOG_LEVEL_LOG_INFO_VERSION
+
+/* Define if your system has the SYSLOG_LEVEL_LOG_NOTICE headers. */
+#undef HAVE_SYSLOG_LEVEL_LOG_NOTICE
+
+/* Define SYSLOG_LEVEL_LOG_NOTICE headers version */
+#undef HAVE_SYSLOG_LEVEL_LOG_NOTICE_VERSION
+
+/* Define if your system has the SYSLOG_LEVEL_LOG_WARNING headers. */
+#undef HAVE_SYSLOG_LEVEL_LOG_WARNING
+
+/* Define SYSLOG_LEVEL_LOG_WARNING headers version */
+#undef HAVE_SYSLOG_LEVEL_LOG_WARNING_VERSION
/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
*/
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum