Descrição: The Cdr event is only raised when the cdr_manager backend is loaded and registered with the CDR engine.
Note This event can contain additional fields depending on the configuration provided by cdr_manager.conf.
Event: Cdr
AccountCode:
Source:
Destination:
DestinationContext:
CallerID:
canal:
DestinationChannel:
LastApplication:
LastData:
StartTime:
AnswerTime:
EndTime:
Duration:
BillableSeconds:
Disposition:
AMAFlags:
UniqueID:
UserField:
AccountCode - The account code of the Party A canal. 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. canal - The canal name of the Party A. DestinationChannel - The canal name of the Party B. LastApplication - The last dialplan aplicação the Party A executed. LastData - The parameters passed to the last dialplan aplicação 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 canal was not answered. This is the default disposition. FAILED - The canal attempted to dial but the call failed. Note The congestion setting in cdr.conf can result in the 'AST_CAUSE_CONGESTION' hang up cause or the 'CONGESTION' dial status to map to this disposition. BUSY - The canal attempted to dial but the remote party was busy. ANSWERED - The canal was answered. The hang up cause will no longer impact the disposition of the CDR. CONGESTION - The canal 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 canal. UserField - A user defined field set on the canais. If set on both the Party A and Party B canal, the userfields of both are concatenated and separated by a ';'.
CDR
This documentation was generated from Asterisk branch 21 using version GIT
Sintaxe:
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>
Fonte: Asterisk Wiki
POR QUE A LOJAMUNDI É CONFIÁVEL?
ENTRE EM CONTATO COM A LOJAMUNDI.
Assine nossa Newsletter! É gratuito!
Cadastre seu nome e email para receber novidades e materiais gratuitos da Lojamundi.