Sommaire

Enregistrements CDR

1. cdr.conf

Ce fichier permet l’enregistrement des détails d’un appel dans une base de donnés.

;
; Asterisk Call Detail Record engine configuration
;
; CDR is Call Detail Record, which provides logging services 
via a variety of
; pluggable backend modules.  Detailed call information 
can be recorded to
; databases, files, etc.  Useful for billing, fraud prevention, 
compliance with
; Sarbanes-Oxley aka The Enron Act, QOS evaluations, and more.
;

[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

; Define the CDR batch mode, where instead of pos-
ting the CDR at the end of
; every call, the data will be stored in a buffer to help 
alleviate load on the
; asterisk server.  Default is "no".
;
; WARNING WARNING WARNING
; Use of batch mode may result in data loss after unsafe 
asterisk termination
; ie. software crash, power failure, kill -9, etc.
; WARNING WARNING WARNING
;
;batch=no

; Define the maximum number of CDRs to accumulate in the buffer 
before posting
; them to the backend engines.  ’batch’ must be set 
to ’yes’.  Default is 100.
;size=100

; Define the maximum time to accumulate CDRs in the buffer 
before posting them
; to the backend engines.  If this time limit is reached, 
then it will post the
; records, regardless of the value defined for ’size’. 
’batch’ must be set to
; ’yes’.  Note that time is in seconds.  Default is 300 
(5 minutes).
;time=300 ...