Radius Accounting Attribute: Acct-Terminate-Cause
As per RFC 2866:
This attribute indicates how the session was terminated, and can only be present in Accounting-Request records where the Acct-Status-Type is set to Stop. A summary of the Acct-Terminate-Cause attribute format is shown below. The fields are transmitted from left to right.
Type (IETF Number) = 49 for Acct-Terminate-Cause
Length = 6
Value:The Value field is four octets, containing an integer specifying the cause of session termination, as follows:
User requested termination of service, for example with LCP Terminate or by logging out.
DCD was dropped on the port.
Service can no longer be provided; for example, user's connection to a host was interrupted.
Idle timer expired.
Maximum session length timer expired.
Administrator reset the port or session.
Administrator is ending service on the NAS, for example prior to rebooting the NAS.
NAS detected an error on the port which required ending the session.
NAS detected some error (other than on the port) which required ending the session.
NAS ended session for a non-error reason not otherwise listed here.
The NAS ended the session in order to reboot non-administratively ("crash").
NAS ended session because resource usage fell below low-water mark (for example, if a bandwidth-on-demand algorithm decided that the port was no longer needed).
NAS ended session in order to allocate the port to a higher priority use.
NAS ended session to suspend a virtual session.
NAS was unable to provide requested service.
NAS is terminating current session in order to perform callback for a new session
Input from user is in error, causing termination of session.
Login Host terminated session normally.