Asterisk cmd ResetCDR


Resets the Call Data Record



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.


  • 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 | Applications | Functions | Variables | Expressions | Asterisk FAQ

Created by: oej, Last modification: Wed 14 of Nov, 2007 (10:57 UTC) by waba
Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+