Cisco Cisco ASR 5000
ACS Rulebase Configuration Mode Commands
egcdr time-duration algorithm ▀
Command Line Interface Reference, StarOS Release 18 ▄
701
parking-meter seconds
Specifies the Parking Meter (PM) period, in seconds.
seconds
must be an integer from 1 through 4294967295.
Parking meter is the method with which the usage time is set in the content-id containers in eG-CDRs. When
a parking meter value is set, the user is charged for time in increments of the value set. For example, if the
parking meter is set to 300 seconds (5 minutes) and the subscriber only uses one minute, the charge is for 5
minutes.
a parking meter value is set, the user is charged for time in increments of the value set. For example, if the
parking meter is set to 300 seconds (5 minutes) and the subscriber only uses one minute, the charge is for 5
minutes.
Usage
Use this command to set the various time charging algorithms/schemes for time usage in eG-CDR.
For example, packets arrive at times T1, T2, T3 and T4. Then the typical time usage might be computed to be
T4 – T1. However, if say there is an idle period between times T2 and T3, then system will compute the time
usage to be (T2 – T1) + (T4 – T3).
For example, packets arrive at times T1, T2, T3 and T4. Then the typical time usage might be computed to be
T4 – T1. However, if say there is an idle period between times T2 and T3, then system will compute the time
usage to be (T2 – T1) + (T4 – T3).
consumed-time
in above scenario calculates the time duration as (T2 – T1) + (T4 – T3) where
consumed-
time
with
plus-idle
calculates the time duration as (T2-T1)+I + (T4 – T3)+I or (T4-T1).
Example
The following command sets consumed time duration to
400
seconds:
egcdr time-duration algorithm consumed-time 400