From 21fab70860db7e06d25005141622987649421c23 Mon Sep 17 00:00:00 2001 From: "Olle E. Johansson" Date: Mon, 2 Jan 2017 20:30:02 +0100 Subject: [PATCH] acc Remove radius functions from README docs (moved to another module) --- src/modules/acc/doc/acc_admin.xml | 140 +----------------------------- 1 file changed, 2 insertions(+), 138 deletions(-) diff --git a/src/modules/acc/doc/acc_admin.xml b/src/modules/acc/doc/acc_admin.xml index 107f1a5a34b..39f4a042dc9 100644 --- a/src/modules/acc/doc/acc_admin.xml +++ b/src/modules/acc/doc/acc_admin.xml @@ -289,16 +289,13 @@ if (uri=~"sip:+40") /* calls to Romania */ { Radius -- all sets will be added to the same Radius accounting message as RADIUS AVPs - for each call-leg a set of RADIUS AVPs will be added (corresponding - to the per-leg AVP set) + to the per-leg AVP set). Note that Radius support is in a + separate module - acc_radius. You will need to add in your dictionary the RADIUS AVPs used in call-leg AVP set definition. - - Diameter same as for RADIUS. - - @@ -658,9 +655,6 @@ modparam("acc", "multi_leg_info", # for mysql-based accounting, use the names of the columns modparam("acc", "multi_leg_info", "leg_src=$avp(src);leg_dst=$avp(dst)") -# for RADIUS-based accounting, use the names of the RADIUS AVPs -modparam("acc", "multi_leg_info", - "RAD_LEG_SRC=$avp(src);RAD_LEG_SRC=$avp(dst)") # for DIAMETER-based accounting, use the DIAMETER AVP ID (as integer) modparam("acc", "multi_leg_info", "2345=$avp(src);2346=$avp(dst)") @@ -754,104 +748,6 @@ modparam("acc", "log_facility", "LOG_DAEMON") ... modparam("acc", "log_extra", "ua=$hdr(User-Agent);uuid=$avp(i:123)") ... - - - - -
- <varname>radius_config</varname> (string) - - This parameter is radius specific. Path to - radius client configuration file, set the referred config file - correctly and specify there address of server, shared secret - (should equal that in /usr/local/etc/raddb/clients for - freeRadius servers) and dictionary, see etc for an example of - config file and dictionary. - - - If the parameter is set to empty string, the RADIUS accounting support - will be disabled (even if compiled). - - - Default value is NULL. - - - radius_config example - -... -modparam("acc", "radius_config", "/etc/radiusclient/radiusclient.conf") -... - - -
-
- <varname>radius_flag</varname> (integer) - - Request flag which needs to be set to account a - transaction -- RADIUS specific. - - - Default value is not-set (no flag). - - - radius_flag example - -... -modparam("acc", "radius_flag", 2) -... - - -
-
- <varname>radius_missed_flag</varname> (integer) - - Request flag which needs to be set to account missed - calls -- RADIUS specific. - - - Default value is not-set (no flag). - - - radius_missed_flag example - -... -modparam("acc", "radius_missed_flag", 3) -... - - -
-
- <varname>service_type</varname> (integer) - - Radius service type used for accounting. - - - Default value is 15 (SIP). - - - service_type example - -... -modparam("acc", "service_type", 16) -... - - -
-
- <varname>radius_extra</varname> (string) - - Extra values to be logged via RADIUS - RADIUS specific. - See section for more details. - - - Default value is NULL. - - - radius_extra example - -... -modparam("acc", "radius_extra", "via=$hdr(Via[*]); email=$avp(s:email)") -...
@@ -1632,38 +1528,6 @@ acc_db_request("Some comment", "SomeTable"); acc_db_request("Some comment", "acc_$time(year)_$time(mon)"); acc_db_request("$var(code) Error: $avp(reason)", "SomeTable"); ... - - - -
- - <function moreinfo="none">acc_rad_request(comment)</function> - - - Like acc_log_request, - acc_rad_request reports on - a request. It reports to radius server as configured in - radius_config. - - - Meaning of the parameters is as follows: - - - comment - Comment to be appended. - The string can contain any number of pseudo-variables. - - - - - This function can be used from ANY_ROUTE. - - - acc_rad_request usage - -... -acc_rad_request("Some comment"); -acc_rad_request("$var(code) Error: $avp(reason)"); -...