B.97. ResetCDR()

Resets the Call Detail Record.
Resets the Call Detail Record for the active call. If option w is given, the existing CDR is stored before the reset.
Returns 0.
; save the current CDR and then reset it:
exten => 123,1,Answer()
exten => 123,n,Playback(tt-monkeys)
exten => 123,n,ResetCDR(w)
exten => 123,n,Playback(tt-monkeys)


Internal help for this application in Asterisk 1.4:
  -= Info about application 'ResetCDR' =- 

Resets the Call Data Record

  ResetCDR([options]):  This application causes the Call Data Record to be
    w -- Store the current CDR record before resetting it.
    a -- Store any stacked records.
    v -- Save CDR variables.
diff output to internal help in Asterisk 1.2:
- none -