-
Notifications
You must be signed in to change notification settings - Fork 19
/
cdr_custom.conf
13 lines (11 loc) · 1.01 KB
/
cdr_custom.conf
1
2
3
4
5
6
7
8
9
10
11
12
;
; Mappings for custom config file
;
; to get your csv output in a format tailored to your liking, uncomment the following
; and look for the output in the cdr-custom/Master.csv file (usually in /var/log/asterisk).
;
;
;[mappings]
;Master.csv => "${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)}"
[mappings]
Master.csv => "${CDR(accountcode)}","${CDR(src)}","${CDR(dst)}","${CDR(dcontext)}","${CDR(clid)}","${CDR(channel)}","${CDR(dstchannel)}","","","${CDR(start)}","${CDR(answer)}","${CDR(end)}","${CDR(duration)}","${CDR(billsec)}","${CDR(disposition)}","${CDR(amaflags)}","${CDR(uniqueid)}","${CDR(userfield)}","${CDR(hangupdirection)}","${CDR(bill-context)}","${CDR(bill-rate)}","${CDR(A-Number)}","${CDR(B-Number)}","${CDR(A-IMSI)}","${CDR(B-IMSI)}"