clear storage-history

This command deletes the locally stored CDRs or SDR files.

Syntax

# clear storage-history <Service Name> {all|unused}

Command

Description

Service Name

The name of the service. To view services, run the show storage-history services command. Currently supported services:

CDR-STORAGE-HISTORY
GW-CDR-STORAGE-HISTORY
SDR-STORAGE-HISTORY

Note: The service must be in upper case as shown above.

all

Deletes all stored CDR or SDR files.

unused

Deletes unused locally stored CDR or SDR files.

Command Mode

Privileged User

Related Commands

show storage-history services

Example

Deleting all stored CDR files:
# clear storage-history CDR-STORAGE-HISTORY all
Deleting all unused stored CDR files:
# clear storage-history CDR-STORAGE-HISTORY unused