Raised when a CDR is generated.
The Cdr event is only raised when the
cdr_manager backend is loaded and registered with the CDR engine.
Event: Cdr AccountCode: <value> Source: <value> Destination: <value> DestinationContext: <value> CallerID: <value> Channel: <value> DestinationChannel: <value> LastApplication: <value> LastData: <value> StartTime: <value> AnswerTime: <value> EndTime: <value> Duration: <value> BillableSeconds: <value> Disposition: <value> AMAFlags: <value> UniqueID: <value> UserField: <value>
AccountCode- The account code of the Party A channel.
Source- The Caller ID number associated with the Party A in the CDR.
Destination- The dialplan extension the Party A was executing.
DestinationContext- The dialplan context the Party A was executing.
CallerID- The Caller ID name associated with the Party A in the CDR.
Channel- The channel name of the Party A.
DestinationChannel- The channel name of the Party B.
LastApplication- The last dialplan application the Party A executed.
LastData- The parameters passed to the last dialplan application the Party A executed.
StartTime- The time the CDR was created.
AnswerTime- The earliest of either the time when Party A answered, or the start time of this CDR.
EndTime- The time when the CDR was finished. This occurs when the Party A hangs up or when the bridge between Party A and Party B is broken.
Duration- The time, in seconds, of EndTime - StartTime.
BillableSeconds- The time, in seconds, of AnswerTime - StartTime.
Disposition- The final known disposition of the CDR.
NO ANSWER- The channel was not answered. This is the default disposition.
FAILED- The channel attempted to dial but the call failed.
BUSY- The channel attempted to dial but the remote party was busy.
ANSWERED- The channel was answered. The hang up cause will no longer impact the disposition of the CDR.
CONGESTION- The channel attempted to dial but the remote party was congested.
AMAFlags- A flag that informs a billing system how to treat the CDR.
OMIT- This CDR should be ignored.
BILLING- This CDR contains valid billing data.
DOCUMENTATION- This CDR is for documentation purposes.
UniqueID- A unique identifier for the Party A channel.
UserField- A user defined field set on the channels. If set on both the Party A and Party B channel, the userfields of both are concatenated and separated by a
This documentation was imported from Asterisk Version GIT-20-f8000daff5