aboutsummaryrefslogtreecommitdiffstats
path: root/cdr
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-12-19 21:13:41 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-12-19 21:13:41 +0000
commit10717cc766b828c2b0b344ad7cd74148939bc294 (patch)
tree788562539a60bddcdd1880d1d76415845a03beac /cdr
parente5d58524be40d77f9d4717c40afff6b5c31fb1c3 (diff)
Merge Olle's comment patch (bug #3097)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4488 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'cdr')
-rwxr-xr-xcdr/cdr_csv.c35
1 files changed, 18 insertions, 17 deletions
diff --git a/cdr/cdr_csv.c b/cdr/cdr_csv.c
index bd18a7775..9de07f086 100755
--- a/cdr/cdr_csv.c
+++ b/cdr/cdr_csv.c
@@ -3,9 +3,9 @@
*
* Comma Separated Value CDR records.
*
- * Copyright (C) 1999, Mark Spencer
+ * Copyright (C) 1999-2004, Digium, inc
*
- * Mark Spencer <markster@linux-support.net>
+ * Mark Spencer <markster@digium.com>
*
* This program is free software, distributed under the terms of
* the GNU General Public License.
@@ -39,32 +39,33 @@
#include <unistd.h>
#include <time.h>
-/* The values are as follows:
+/*----------------------------------------------------
+ The values are as follows:
- "accountcode", // accountcode is the account name of detail records, Master.csv contains all records
- // Detail records are configured on a channel basis, IAX and SIP are determined by user
- // Zap is determined by channel in zaptel.conf
+ "accountcode", accountcode is the account name of detail records, Master.csv contains all records *
+ Detail records are configured on a channel basis, IAX and SIP are determined by user *
+ Zap is determined by channel in zaptel.conf
"source",
"destination",
"destination context",
"callerid",
"channel",
"destination channel", (if applicable)
- "last application", // Last application run on the channel
- "last app argument", // argument to the last channel
+ "last application", Last application run on the channel
+ "last app argument", argument to the last channel
"start time",
"answer time",
"end time",
- duration, // Duration is the whole length that the entire call lasted. ie. call rx'd to hangup
- // "end time" minus "start time"
- billable seconds, // the duration that a call was up after other end answered which will be <= to duration
- // "end time" minus "answer time"
- "disposition", // ANSWERED, NO ANSWER, BUSY
- "amaflags", // DOCUMENTATION, BILL, IGNORE etc, specified on a per channel basis like accountcode.
- "uniqueid", // unique call identifier
- "userfield" // user field set via SetCDRUserField
-*/
+ duration, Duration is the whole length that the entire call lasted. ie. call rx'd to hangup
+ "end time" minus "start time"
+ billable seconds, the duration that a call was up after other end answered which will be <= to duration
+ "end time" minus "answer time"
+ "disposition", ANSWERED, NO ANSWER, BUSY
+ "amaflags", DOCUMENTATION, BILL, IGNORE etc, specified on a per channel basis like accountcode.
+ "uniqueid", unique call identifier
+ "userfield" user field set via SetCDRUserField
+----------------------------------------------------------*/
static char *desc = "Comma Separated Values CDR Backend";