no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | mod_feature_fup.pm [2019-05-16 19:54] (current) – created nkukard | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== mod_feature_fup.pm ====== | ||
+ | |||
+ | <btn type=" | ||
+ | |||
+ | Implements the checking of the traffic usages within a defined period of time, should this traffic usage exceed a defined threshold a conditional variable '' | ||
+ | |||
+ | ===== Attributes ===== | ||
+ | |||
+ | ==== SMRadius-FUP-Period ==== | ||
+ | |||
+ | Indicates the number of days the FUP traffic should be calculated on. | ||
+ | |||
+ | < | ||
+ | # Calculate the FUP usage on 7 days | ||
+ | SMRadius-FUP-Period | ||
+ | </ | ||
+ | |||
+ | ==== SMRadius-FUP-Traffic-Threshold ==== | ||
+ | |||
+ | This attirbute indicates the threshold in MiB for when the conditional '' | ||
+ | |||
+ | < | ||
+ | # Set the traffic threshold to 50GiB | ||
+ | SMRadius-FUP-Traffic-Threshold | ||
+ | </ | ||
+ | |||
+ | ===== Hooks ===== | ||
+ | |||
+ | ==== post_auth_hook ==== | ||
+ | |||
+ | Runs at the post authentication stage. | ||
+ | |||
+ | ==== post_acct_hook ==== | ||
+ | |||
+ | Runs at the post accounting stage. | ||