mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-02 19:16:15 +00:00
cdr_custom: Allow absolute filenames.
A follow up to #893 that brings the same functionality to
cdr_custom. Also update the sample configuration files to note support
for absolute paths.
(cherry picked from commit 084c04f711
)
This commit is contained in:
committed by
Asterisk Development Team
parent
10963cd27e
commit
c1df33a717
@@ -6,6 +6,11 @@
|
||||
; in /var/log/asterisk). Depending on which mapping you uncomment, you may see
|
||||
; Master.csv, Simple.csv, or both.
|
||||
;
|
||||
; Alternatively, you can also specify the location of your CSV file using an
|
||||
; absolute path, e.g.:
|
||||
;
|
||||
; /srv/pbx/cdr/Master.csv => ${CSV_QUOTE(${CDR(clid)})},...
|
||||
;
|
||||
;[mappings]
|
||||
;Master.csv => ${CSV_QUOTE(${CDR(clid)})},${CSV_QUOTE(${CDR(src)})},${CSV_QUOTE(${CDR(dst)})},${CSV_QUOTE(${CDR(dcontext)})},${CSV_QUOTE(${CDR(channel)})},${CSV_QUOTE(${CDR(dstchannel)})},${CSV_QUOTE(${CDR(lastapp)})},${CSV_QUOTE(${CDR(lastdata)})},${CSV_QUOTE(${CDR(start)})},${CSV_QUOTE(${CDR(answer)})},${CSV_QUOTE(${CDR(end)})},${CSV_QUOTE(${CDR(duration)})},${CSV_QUOTE(${CDR(billsec)})},${CSV_QUOTE(${CDR(disposition)})},${CSV_QUOTE(${CDR(amaflags)})},${CSV_QUOTE(${CDR(accountcode)})},${CSV_QUOTE(${CDR(uniqueid)})},${CSV_QUOTE(${CDR(userfield)})},${CDR(sequence)}
|
||||
;
|
||||
|
@@ -16,6 +16,11 @@
|
||||
; You can also create more than one template if desired. All logs will appear
|
||||
; in the cel-custom directory under your Asterisk logs directory.
|
||||
;
|
||||
; Alternatively, you can also specify the location of your CSV file using an
|
||||
; absolute path, e.g.:
|
||||
;
|
||||
; /srv/pbx/cel/Master.csv => ${CSV_QUOTE(${eventtype})},...
|
||||
;
|
||||
|
||||
;
|
||||
; Within a mapping, use the CALLERID() and CHANNEL() functions to retrieve
|
||||
|
Reference in New Issue
Block a user