Asterisk CDR records over the manager API
With a driver added to Asterisk in july 2004 (it is present in Asterisk 1.0.x), you can get CDR events over the manager API in Asterisk.
To enable CDR over the Manager API you must enable it in cdr_manager.conf:
;
; Asterisk Call Management CDR
;
[general]
enabled = yes
The event looks like this:
Event: Cdr
AccountCode: ...
Source: ...
Destination: ...
DestinationContext: ...
CallerID: ...
Channel: ...
DestinationChannel: ...
LastApplication: ...
LastData: ...
StartTime: ...
AnswerTime: ...
EndTime: ...
Duration: ...
BillableSeconds: ...
Disposition: ...
AMAFlags: ...
UniqueID: ...
UserField: ...
See Asterisk billing for a description of the fields and their contents.
See also
- Asterisk billing: Explanation of the fields