X-Git-Url: http://git.asterisk.org/gitweb/?p=asterisk%2Fasterisk.git;a=blobdiff_plain;f=configs%2Fcdr.conf.sample;h=882f48735b84a59d49545115217ff9d8d668facd;hp=0c0413163b304e5668fdae6db42f3f918fb4b1b0;hb=901e275c4c794933cad91244b90abe4f02390deb;hpb=f22962a0c1973a867893bc144e5bd1bd44053a84;ds=sidebyside diff --git a/configs/cdr.conf.sample b/configs/cdr.conf.sample index 0c04131..882f487 100644 --- a/configs/cdr.conf.sample +++ b/configs/cdr.conf.sample @@ -21,8 +21,35 @@ ; mode, you will see one CDR, with one of the call targets on one side, and the originating ; channel on the other, and then one CDR for each channel attempted. This may seem ; redundant, but cannot be helped. +; +; In brief, this option controls the reporting of unanswered calls which only have an A +; party. Calls which get offered to an outgoing line, but are unanswered, are still +; logged, and that is the intended behaviour. (It also results in some B side CDRs being +; output, as they have the B side channel as their source channel, and no destination +; channel.) ;unanswered = no +; Define whether or not to log congested calls. Setting this to "yes" will +; report each call that fails to complete due to congestion conditions. Default +; is "no". +;congestion = no + +; Normally, CDR's are not closed out until after all extensions are finished +; executing. By enabling this option, the CDR will be ended before executing +; the "h" extension so that CDR values such as "end" and "billsec" may be +; retrieved inside of of this extension. The default value is "no". +;endbeforehexten=no + +; Normally, the 'billsec' field logged to the backends (text files or databases) +; is simply the end time (hangup time) minus the answer time in seconds. Internally, +; asterisk stores the time in terms of microseconds and seconds. By setting +; initiatedseconds to 'yes', you can force asterisk to report any seconds +; that were initiated (a sort of round up method). Technically, this is +; when the microsecond part of the end time is greater than the microsecond +; part of the answer time, then the billsec time is incremented one second. +; The default value is "no". +;initiatedseconds=no + ; Define the CDR batch mode, where instead of posting 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". @@ -59,21 +86,6 @@ ; is "yes". ;safeshutdown=yes -; Normally, CDR's are not closed out until after all extensions are finished -; executing. By enabling this option, the CDR will be ended before executing -; the "h" extension so that CDR values such as "end" and "billsec" may be -; retrieved inside of of this extension. -;endbeforehexten=no - -; Normally, the 'billsec' field logged to the backends (text files or databases) -; is simply the end time (hangup time) minus the answer time in seconds. Internally, -; asterisk stores the time in terms of microseconds and seconds. By setting -; initiatedseconds to 'yes', you can force asterisk to report any seconds -; that were initiated (a sort of round up method). Technically, this is -; when the microsecond part of the end time is greater than the microsecond -; part of the answer time, then the billsec time is incremented one second. -;initiatedseconds=no - ; ; ; CHOOSING A CDR "BACKEND" (what kind of output to generate) @@ -147,6 +159,7 @@ 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" +accountlogs=yes ; create separate log file for each account code. Default is "yes" ;[radius] ;usegmtime=yes ; log date/time in GMT