[asterisk-users] advanced asterisk logging

Harald Friessnegger harald.friessnegger at lovelysystems.com
Wed Jun 13 03:44:09 CDT 2007


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?


regards, fRiSi

-- 
phone: +43 5572 908060, fax: +43 5572 908060-77
Schmelzhütterstraße 26a, 6850 Dornbirn, Austria

http://www.lovelysystems.com



More information about the asterisk-users mailing list