Mercurial > hg > freeDiameter
diff doc/app_acct.conf.sample @ 533:4cdf146f11d5
Added a set of example PHP scripts to parse the app_acct.fdx data.
author | Sebastien Decugis <sdecugis@nict.go.jp> |
---|---|
date | Tue, 07 Sep 2010 16:57:48 +0900 |
parents | be646053706b |
children | e5010975da35 |
line wrap: on
line diff
--- a/doc/app_acct.conf.sample Mon Sep 06 14:46:25 2010 +0900 +++ b/doc/app_acct.conf.sample Tue Sep 07 16:57:48 2010 +0900 @@ -46,134 +46,8 @@ # Note that at the moment, GROUPED AVP are not supported. Also, only the top-level AVPs are # searched. This behavior can be changed quite easily if needed. -# The following list is informative only. -# You may also consult RFC4005 sections 10.2.1 and 10.2.2 for other examples -# "Origin-Host"; -# "Origin-Realm"; -# "Destination-Realm"; -# "Destination-Host"; -# "Session-Id"; -# "Origin-State-Id"; -# "Accounting-Record-Type"; -# "Accounting-Record-Number"; -# "User-Name"; -# "Event-Timestamp"; -# "Acct-Application-Id"; -# "Accounting-Sub-Session-Id"; -# "Acct-Session-Id"; -# "Acct-Multi-Session-Id"; -# "Origin-AAA-Protocol"; -# "Acct-Delay-Time"; -# "NAS-Identifier"; -# "NAS-IP-Address"; -# "NAS-IPv6-Address"; -# "NAS-Port"; -# "NAS-Port-Id"; -# "NAS-Port-Type"; -# "Service-Type"; -# "Termination-Cause"; -# "Accounting-Input-Octets"; -# "Accounting-Input-Packets"; -# "Accounting-Output-Octets"; -# "Accounting-Output-Packets"; -# "Acct-Authentic"; -# "Acct-Link-Count"; -# "Acct-Session-Time"; -# "Acct-Tunnel-Connection"; -# "Acct-Tunnel-Packets-Lost"; -# "Callback-Id"; -# "Callback-Number"; -# "Called-Station-Id"; -# "Calling-Station-Id"; -# "Connect-Info"; -# "Originating-Line-Info"; -# "Authorization-Lifetime"; -# "Session-Timeout"; -# "Idle-Timeout"; -# "Port-Limit"; -# "Accounting-Realtime-Required"; -# "Acct-Interim-Interval"; -# "Filter-Id"; -# "NAS-Filter-Rule"; -# "QoS-Filter-Rule"; -# "Login-IP-Host"; -# "Login-IPv6-Host"; -# "Login-LAT-Group"; -# "Login-LAT-Node"; -# "Login-LAT-Port"; -# "Login-LAT-Service"; -# "Login-Service"; -# "Login-TCP-Port"; -# "Route-Record" = { multi=5; }; # Record the last 5 hops of the message - -# This is the database table corresponding to this list: -# CREATE TABLE incoming ( -# "recorded_on" timestamp with time zone NOT NULL, -# "recorded_serv" bytea, -# "Origin-Host" bytea NOT NULL, -# "Origin-Realm" bytea NOT NULL, -# "Destination-Realm" bytea, -# "Destination-Host" bytea, -# "Session-Id" bytea NOT NULL, -# "Origin-State-Id" integer, -# "Accounting-Record-Type" integer NOT NULL, -# "Accounting-Record-Number" integer NOT NULL, -# "User-Name" bytea, -# "Event-Timestamp" bytea, -# "Acct-Application-Id" integer, -# "Accounting-Sub-Session-Id" bigint, -# "Acct-Session-Id" bytea, -# "Acct-Multi-Session-Id" bytea, -# "Origin-AAA-Protocol" integer, -# "Acct-Delay-Time" integer, -# "NAS-Identifier" bytea, -# "NAS-IP-Address" bytea, -# "NAS-IPv6-Address" bytea, -# "NAS-Port" integer, -# "NAS-Port-Id" bytea, -# "NAS-Port-Type" integer, -# "Service-Type" integer, -# "Termination-Cause" integer, -# "Accounting-Input-Octets" bigint, -# "Accounting-Input-Packets" bigint, -# "Accounting-Output-Octets" bigint, -# "Accounting-Output-Packets" bigint, -# "Acct-Authentic" integer, -# "Acct-Link-Count" integer, -# "Acct-Session-Time" integer, -# "Acct-Tunnel-Connection" bytea, -# "Acct-Tunnel-Packets-Lost" integer, -# "Callback-Id" bytea, -# "Callback-Number" bytea, -# "Called-Station-Id" bytea, -# "Calling-Station-Id" bytea, -# "Connect-Info" bytea, -# "Originating-Line-Info" bytea, -# "Authorization-Lifetime" integer, -# "Session-Timeout" integer, -# "Idle-Timeout" integer, -# "Port-Limit" integer, -# "Accounting-Realtime-Required" integer, -# "Acct-Interim-Interval" integer, -# "Filter-Id" bytea, -# "NAS-Filter-Rule" bytea, -# "QoS-Filter-Rule" bytea, -# "Login-IP-Host" bytea, -# "Login-IPv6-Host" bytea, -# "Login-LAT-Group" bytea, -# "Login-LAT-Node" bytea, -# "Login-LAT-Port" bytea, -# "Login-LAT-Service" bytea, -# "Login-Service" integer, -# "Login-TCP-Port" integer, -# "Route-Record1" bytea, -# "Route-Record2" bytea, -# "Route-Record3" bytea, -# "Route-Record4" bytea, -# "Route-Record5" bytea -# ); - - +# You may look at contrib/app_acct_tools/app_acct.conf and database.sql files +# for an example of setup. #######################