aboutsummaryrefslogtreecommitdiffstats
path: root/cdr
diff options
context:
space:
mode:
Diffstat (limited to 'cdr')
-rwxr-xr-xcdr/cdr_csv.c5
-rwxr-xr-xcdr/cdr_custom.c7
-rwxr-xr-xcdr/cdr_manager.c8
-rwxr-xr-xcdr/cdr_odbc.c9
-rwxr-xr-xcdr/cdr_pgsql.c9
-rwxr-xr-xcdr/cdr_sqlite.c13
-rwxr-xr-xcdr/cdr_tds.c12
7 files changed, 48 insertions, 15 deletions
diff --git a/cdr/cdr_csv.c b/cdr/cdr_csv.c
index 3f2b9641b..958eb7913 100755
--- a/cdr/cdr_csv.c
+++ b/cdr/cdr_csv.c
@@ -18,10 +18,11 @@
* at the top of the source tree.
*/
-/*
+/*! \file
*
- * Comma Separated Value CDR records.
+ * \brief Comma Separated Value CDR records.
*
+ * \arg See also \ref AstCDR
*/
#include <sys/types.h>
diff --git a/cdr/cdr_custom.c b/cdr/cdr_custom.c
index 35e1dc18a..34c47b962 100755
--- a/cdr/cdr_custom.c
+++ b/cdr/cdr_custom.c
@@ -18,10 +18,13 @@
* at the top of the source tree.
*/
-/*
+/*! \file
*
- * Comma Separated Value CDR records.
+ * \brief Custom Comma Separated Value CDR records.
*
+ * \arg See also \ref AstCDR
+ *
+ * Logs in LOG_DIR/cdr_custom
*/
#include <sys/types.h>
diff --git a/cdr/cdr_manager.c b/cdr/cdr_manager.c
index 7acc07de1..71546b120 100755
--- a/cdr/cdr_manager.c
+++ b/cdr/cdr_manager.c
@@ -14,10 +14,14 @@
* at the top of the source tree.
*/
-/*
+/*! \file
*
- * Asterisk Call Manager CDR records.
+ * \brief Asterisk Call Manager CDR records.
*
+ * See also
+ * \arg \ref AstCDR
+ * \arg \ref AstAMI
+ * \arg \ref Config_ami
*/
#include <sys/types.h>
diff --git a/cdr/cdr_odbc.c b/cdr/cdr_odbc.c
index 87c58ee2d..3fc4ca926 100755
--- a/cdr/cdr_odbc.c
+++ b/cdr/cdr_odbc.c
@@ -16,10 +16,15 @@
* at the top of the source tree.
*/
-/*
+/*! \file
*
- * ODBC CDR Backend
+ * \brief ODBC CDR Backend
*
+ * \author Brian K. West <brian@bkw.org>
+ *
+ * See also:
+ * \arg http://www.unixodbc.org
+ * \arg \ref Config_cdr
*/
#include <sys/types.h>
diff --git a/cdr/cdr_pgsql.c b/cdr/cdr_pgsql.c
index 6bd5a149a..01d6dbb0a 100755
--- a/cdr/cdr_pgsql.c
+++ b/cdr/cdr_pgsql.c
@@ -20,10 +20,15 @@
* at the top of the source tree.
*/
-/*
+/*! \file
*
- * PostgreSQL CDR logger
+ * \brief PostgreSQL CDR logger
+ *
+ * \author Matthew D. Hardeman <mhardemn@papersoft.com>
*
+ * See also
+ * \arg \ref Config_cdr
+ * \arg http://www.postgresql.org/
*/
#include <sys/types.h>
diff --git a/cdr/cdr_sqlite.c b/cdr/cdr_sqlite.c
index 6bab3bd88..74f3078e3 100755
--- a/cdr/cdr_sqlite.c
+++ b/cdr/cdr_sqlite.c
@@ -3,7 +3,6 @@
*
* Copyright (C) 2004 - 2005, Holger Schurig
*
- * Holger Schurig <hs4233@mail.mn-solutions.de>
*
* Ideas taken from other cdr_*.c files
*
@@ -18,10 +17,17 @@
* at the top of the source tree.
*/
-/*
+/*! \file
+ *
+ * \brief Store CDR records in a SQLite database.
+ *
+ * \author Holger Schurig <hs4233@mail.mn-solutions.de>
*
- * Store CDR records in a SQLite database.
+ * See also
+ * \arg \ref Config_cdr
+ * \arg http://www.sqlite.org/
*
+ * Creates the database and table on-the-fly
*/
#include <sys/types.h>
@@ -52,6 +58,7 @@ static sqlite* db = NULL;
AST_MUTEX_DEFINE_STATIC(sqlite_lock);
+/*! \brief SQL table format */
static char sql_create_table[] = "CREATE TABLE cdr ("
" AcctId INTEGER PRIMARY KEY,"
" clid VARCHAR(80),"
diff --git a/cdr/cdr_tds.c b/cdr/cdr_tds.c
index 69785ff11..55a0053e0 100755
--- a/cdr/cdr_tds.c
+++ b/cdr/cdr_tds.c
@@ -14,10 +14,16 @@
* at the top of the source tree.
*/
-/*
+/*! \file
*
- * FreeTDS CDR logger
+ * \brief FreeTDS CDR logger
*
+ * See also
+ * \arg \ref Config_cdr
+ * \arg http://www.freetds.org/
+ */
+
+/*! \verbatim
*
* Table Structure for `cdr`
*
@@ -44,6 +50,8 @@ CREATE TABLE [dbo].[cdr] (
[uniqueid] [varchar] (32) NULL
) ON [PRIMARY]
+\endverbatim
+
*/
#include <sys/types.h>