The CDR file contains all of the calls made on your system (inbound, outbound, and internal). The columns are not defined within the file, but here are their names and purpose:
Fields
- accountcode: What account number to use: account, (string, 20 characters)
- src: Caller*ID number (string, 80 characters)
- dst: Destination extension (string, 80 characters)
- dcontext: Destination context (string, 80 characters)
- clid: Caller*ID with text (80 characters)
- channel: Channel used (80 characters)
- dstchannel: Destination channel if appropriate (80 characters)
- lastapp: Last application if appropriate (80 characters)
- lastdata: Last application data (arguments) (80 characters)
- start: Start of call (date/time)
- answer: Answer of call (date/time)
- end: End of call (date/time)
- duration: Total time in system, in seconds (integer)
- billsec: Total time call is up, in seconds (integer)
- disposition: What happened to the call: ANSWERED, NO ANSWER, BUSY, FAILED
- amaflags: What flags to use: see amaflags::DOCUMENTATION, BILL, IGNORE etc, specified on a per channel basis like accountcode.
In some cases, uniqueid is appended:
- uniqueid: Unique Channel Identifier (32 characters)