Synopsis:
Resets the Call Data Record
Description:
ResetCDR([options])
Causes the Call Data Record to be reset, optionally storing the current CDR before zeroing it out (if ‘w’ option is specifed).
A CDR record will be stored for any activity following this command.
Options:
- w — Store the current CDR record before resetting it.
- a — “Store any stacked records” according to the documentation, but actually process even thread-locked CDRs.
- v — Do not reset the custom CDR variables
Return value
Always returns 0.
See also
- Asterisk cmd NoCDR
- Asterisk cmd ForkCDR
- Asterisk billing: More information on CDR and billing in Asterisk
- CDR
- Tips & Tricks
Asterisk | Applications | Functions | Variables | Expressions | Asterisk FAQ