R2511-HP MSR Router Series Voice Command Reference(V5)

342
Syntax
cdr { buffer size-number | duration time-length | threshold percentage }
undo cdr { all | buffer | duration | threshold }
Views
Voice AAA client view
Default command level
2: System level
Parameters
buffer size-number: Specifies the number of CDRs that can be saved in the buffer. The value range for the
size-number argument is 0 to 500, and the default is 50. The value "0" indicates that no CDR can be
saved.
duration time-length: Specifies the lifetime of CDRs in seconds. The value range for the time-length
argument is 0 to 2147483647, and the default is 86400. The value "0" indicates that no CDR can be
saved.
threshold percentage: Specifies the alarm threshold in percentage 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 value range for the percentage argument is 0 to 100,
and the default is 80. The value "0" indicates that no alarm information will be output.
Usage guidelines
The voice gateway saves 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 judges 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.
Examples
# 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
Related commands
display voice call-history-record