Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cdr.conf
- [general]
- ; Define whether or not to use CDR logging. Setting this to "no" will override
- ; any loading of backend CDR modules. Default is "yes".
- enable=yes
- [csv]
- usegmtime=yes ; log date/time in GMT. Default is "no"
- loguniqueid=yes ; log uniqueid. Default is "no"
- loguserfield=yes ; log user field. Default is "no"
- cdr_custom.conf
- ;
- ; 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 => ${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)})}
- ;Simple.csv => ${CSV_QUOTE(${EPOCH})},${CSV_QUOTE(${CDR(src)})},${CSV_QUOTE(${CDR(dst)})}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement