CSV CDR's

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

CSV CDR's

Postby Nelius » Mon Feb 10, 2014 5:15 am

Hi there.

How does one enable csv cdr logging exactly? We would like to get an output file logged in a csv format with all cdr's. The "cdr.conf" file says:

; To get CDRs to be logged to the plain-jane /var/log/asterisk/cdr-csv/Master.csv
; file, define the [csv] category in this file. No database necessary. The example
; config files are set up to provide this kind of output by default.
;

We've also had a look, under /var/log/asterisk there's no "cdr-csv".

The CSV category on the cdr.conf file is defined as follows:

[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"

Are we missing something? Please help

Thanks.
Vicibox Redux 3.1.14 64 bit
Asterisk: 1.4.39.2-vici | VERSION: 2.8-433a | BUILD: 140411-1434
Servers: 1 x Database; 1 x Web; 6 x Dialers; 2 x Archive
Nelius
 
Posts: 31
Joined: Wed May 29, 2013 3:25 am

Re: CSV CDR's

Postby geoff3dmg » Mon Feb 10, 2014 6:20 am

Edit the modules.conf file in /etc/asterisk so that the cdr_csv.so module is loaded. Then restart asterisk. Bear in mind, depending on your call volumes, this will put considerable disk IO load on your server(s),
Vicibox 5.03 from .iso | VERSION: 2.10-451a BUILD: 140902-0816 | Asterisk 1.8.28.2-vici | Multi-Server | Amfeltec H/W Timing Cards | No Extra Software After Installation | Dell PowerEdge 1850 | Pentium 4 'Prescott' Xenon Quad @ 3.40GHz
geoff3dmg
 
Posts: 403
Joined: Tue Jan 29, 2013 4:35 am
Location: Lancashire, UK

Re: CSV CDR's

Postby williamconley » Mon Feb 10, 2014 2:01 pm

And note that this is an asterisk question. There are plentiful sites available for asterisk itself, and this is a fairly standard module/configuration. Google it ... you'll get directions ... 8-)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: CSV CDR's

Postby Nelius » Tue Feb 11, 2014 10:12 am

Hi all.

Above info helped a lot, got it sorted thank you very much!!!!.
Vicibox Redux 3.1.14 64 bit
Asterisk: 1.4.39.2-vici | VERSION: 2.8-433a | BUILD: 140411-1434
Servers: 1 x Database; 1 x Web; 6 x Dialers; 2 x Archive
Nelius
 
Posts: 31
Joined: Wed May 29, 2013 3:25 am


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 83 guests

cron