2729

undo cdr { all buffer duration threshold }

View Voice AAA client view

Parameter buffer size-number: Specifies the number of CDRs that can be saved in the buffer. The size-numberargument ranges from 0 to 500, with a default of 50. The value “0” indicates that no CDR can be saved.

duration time-length: Specifies the lifetime of CDRs in seconds. The time-lengthargument ranges from 0 to 2,147,483,647, with a default of 86,400. The value “0” indicates that no CDR can be saved.

threshold percentage: Specifies the alarm threshold in percents for CDRs. When the percentage of the saved CDRs in the total CDRs that can be saved in the buffer reaches the alarm threshold, the voice gateway will generate alarm information once. The percentage argument ranges from 0 to 100, with a default of 80. The value “0” indicates that no alarm information will be output.

Description Use the cdr command to configure a rule for saving CDRs.

Use the undo cdr command to restore the default saving rule, and the undo cdr all command to restore the values of buffer, duration, and threshold all to the defaults.

The voice gateway will save a certain amount of CDRs according to the configured rule. When you set the number of CDRs that can be saved or the lifetime of CDRs, the voice gateway will judge whether the existing CDRs will be deleted. If so, the voice gateway will prompt for confirmation and determine whether to validate the configuration according to your confirmation.

If both the buffer and duration keywords are specified, the number of saved CDRs cannot exceed the limit set by the buffer keyword. If large traffic is generated in a period of time, the CDRs for the calls completed earliest will be removed to keep the number of saved CDRs under the limit even if they have not reached the lifetime.

Related command: display voice call-history-record.

Example # Set the number of CDRs that can be saved to 400.

<Sysname> system-view

[Sysname] voice-setup

[Sysname-voice] aaa-client

[Sysname-voice-aaa] cdr buffer 400

# Set the lifetime of CDRs to 10 hours.

[Sysname-voice-aaa] cdr duration 36000

# Set the alarm threshold for CDRs to 10%.

[Sysname-voice-aaa] cdr threshold 10

Page 2729
Image 2729
3Com MSR 50, MSR 30 manual Undo cdr all buffer duration threshold, Related command display voice call-history-record