[asterisk-users] advanced asterisk logging

Atis atis at BEST.eu.org
Wed Jun 13 04:51:43 CDT 2007


On 6/13/07, Harald Friessnegger <harald.friessnegger at lovelysystems.com> wrote:
> Hi all
>
>
> Asterisk is logging every call in
> /var/log/asterisk/cdr-csv/Master.csv in a format like this::
>
>   "","frisi","s","<last extension>","""005572908060frisi""
> <friessnegger>","SIP/sebastianstrasse.at-1be7fab0","","BackGround",
> "loccata/6308384b6bc39696f05ef4c9ad1e7ea0","2007-02-16 15:56:07","2007-02-16
> 15:56:07","2007-02-16 15:56:41",34,34,"ANSWERED","DOCUMENTATION"
>
> these lines give you the callerid/name, the duration of the call, the last
> called extension, the application that was run, and some other information.
>
> i'm having phone-trees caller can navigate through and obtain information
> (eg. a museum guide) and would need more information (for statistics) such
> as:
> * entry point of the call
> * how much time did the caller spend on each extension
> * end point of the call
>
>
> i already though about an agi script that logs the current ${ANSWEREDTIME}
> to a custom logfile each time an extension was called and evaluate these
> logfile using awstats or analog.
>
> but i'm sure there are other solutions around.
> any pointers?

I have IVR tree logging trough ResetCDR(w) at each check-point. You
can use that as starting point, and set some additional CDR fields for
extra info you need.

Regards,
Atis


More information about the asterisk-users mailing list