B.97. ResetCDR()

Resets the Call Detail Record.
ResetCDR([options])
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)

Note

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

[Synopsis]
Resets the Call Data Record

[Description]
  ResetCDR([options]):  This application causes the Call Data Record to be
reset.
  Options:
    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 -