Browse code

- Proprietary SER attributes marked with "SER" - New attributes added - types of some attributes changed for better processing on the server - minor description corrections - cleanup of acc-related attributes

Jan Janak authored on 15/11/2005 11:32:36
Showing 1 changed files
... ...
@@ -1,7 +1,7 @@
1 1
 #
2 2
 # $Id$
3 3
 #
4
-# SIP RADIUS attributes
4
+# RADIUS Attributes used by SER
5 5
 #
6 6
 # Schulzrinne indicates attributes according to
7 7
 # draft-schulzrinne-sipping-radius-accounting-00
... ...
@@ -9,8 +9,7 @@
9 9
 # Sterman indicates attributes according to
10 10
 # draft-sterman-aaa-sip-00
11 11
 #
12
-# Proprietary indicates an attribute that hasn't
13
-# been standardized
12
+# SER indicates implementation specific attributes of SER
14 13
 #
15 14
 # Check out http://www.iana.org/assignments/radius-types
16 15
 # for up-to-date list of standard RADIUS attributes
... ...
@@ -26,23 +25,29 @@
26 25
 
27 26
 
28 27
 #### Attributes ###
29
-#ATTRIBUTE User-Name		         1  string     # RFC2865, acc, auth_radius, avp_radius, group_radius, uri_radius
30
-#ATTRIBUTE Service-Type		         6  integer    # RFC2865, acc, auth_radius, avp_radius, group_radius, uri_radius
31
-#ATTRIBUTE Called-Station-Id             30  string     # RFC2865, acc
32
-#ATTRIBUTE Calling-Station-Id            31  string     # RFC2865, acc
33
-#ATTRIBUTE Acct-Status-Type              40  integer    # RFC2865, acc
34
-#ATTRIBUTE Acct-Session-Id               44  string     # RFC2865, acc
35
-ATTRIBUTE Sip-Method                   101  integer    # Schulzrinne, acc
36
-ATTRIBUTE Sip-Response-Code            102  integer    # Schulzrinne, acc
37
-ATTRIBUTE Sip-Cseq                     103  string     # Schulzrinne, acc
38
-ATTRIBUTE Sip-To-Tag                   104  string     # Schulzrinne, acc
39
-ATTRIBUTE Sip-From-Tag                 105  string     # Schulzrinne, acc
40
-ATTRIBUTE Sip-Translated-Request-URI   107  string     # Proprietary, acc
28
+#ATTRIBUTE User-Name		         1  string     # RFC2865, acc_radius, auth_radius, avp_radius, group_radius, uri_radius
29
+#ATTRIBUTE NAS-IP-Address                4  ipaddr     # RFC2865, acc_radius, auth_radius
30
+#ATTRIBUTE NAS-Port                      5  integer    # RFC2865, acc_radius, auth_radius
31
+#ATTRIBUTE Service-Type		         6  integer    # RFC2865, acc_radius, auth_radius, avp_radius, group_radius, uri_radius
32
+#ATTRIBUTE Called-Station-Id            30  string     # RFC2865, acc_radius
33
+#ATTRIBUTE Calling-Station-Id           31  string     # RFC2865, acc_radius
34
+#ATTRIBUTE Acct-Status-Type             40  integer    # RFC2866, acc_radius
35
+#ATTRIBUTE Acct-Session-Id              44  string     # RFC2866, acc_radius
36
+#ATTRIBUTE Acct-Session-Time            46  integer    # RFC2866, acc_radius
37
+
38
+ATTRIBUTE Sip-Method                   101  string     # Schulzrinne, acc_radius
39
+ATTRIBUTE Sip-Response-Code            102  integer    # Schulzrinne, acc_radius
40
+ATTRIBUTE Sip-Cseq                     103  integer    # Schulzrinne, acc_radius
41
+ATTRIBUTE Sip-To-Tag                   104  string     # Schulzrinne, acc_radius
42
+ATTRIBUTE Sip-From-Tag                 105  string     # Schulzrinne, acc_radius
43
+ATTRIBUTE Sip-Branch-Id                106  string     # Schulzrinne, not used
44
+ATTRIBUTE Sip-Translated-Request-ID    107  string     # Schulzrinne, acc_radius
45
+ATTRIBUTE Sip-Source-IP-Address        108  ipaddr     # Schulzrinne, acc_radius
46
+ATTRIBUTE Sip-Source-Port              109  integer    # Schulzrinne, acc_radius
47
+
41 48
 ATTRIBUTE Digest-Response              206  string     # Sterman, auth_radius
42
-ATTRIBUTE Sip-Uri-User                 208  string     # Proprietary, auth_radius
43
-ATTRIBUTE Sip-Group                    211  string     # Proprietary, group_radius
44
-ATTRIBUTE Sip-Rpid                     213  string     # Proprietary, auth_radius
45
-ATTRIBUTE SIP-AVP                      225  string     # Proprietary, avp_radius
49
+
50
+# Digest-Response attribute sub-types
46 51
 ATTRIBUTE Digest-Realm                1063  string     # Sterman, auth_radius
47 52
 ATTRIBUTE Digest-Nonce                1064  string     # Sterman, auth_radius
48 53
 ATTRIBUTE Digest-Method               1065  string     # Sterman, auth_radius
... ...
@@ -54,18 +59,45 @@ ATTRIBUTE Digest-CNonce               1070  string     # Sterman, auth_radius
54 59
 ATTRIBUTE Digest-Nonce-Count          1071  string     # Sterman, auth_radius
55 60
 ATTRIBUTE Digest-User-Name            1072  string     # Sterman, auth_radius
56 61
 
62
+#
63
+# The following three attributes are used for URI and group membership
64
+# checking. They will be deprecated in favor of generic attributes in
65
+# a future version of SER
66
+#
67
+# The following group of attributes is mapped into the experimental range
68
+ATTRIBUTE SER-Uri-User                 208  string     # SER, auth_radius
69
+ATTRIBUTE SER-Group                    211  string     # SER, group_radius
70
+ATTRIBUTE SER-Rpid                     213  string     # SER, auth_radius
71
+
72
+# The following group of attributes is mapped into the implementation-specific range
73
+ATTRIBUTE SER-Attrs                    225  string     # SER, acc_radius
74
+ATTRIBUTE SER-From                     226  string     # SER, acc_radius
75
+ATTRIBUTE SER-Flags                    227  integer    # SER, acc_radius
76
+ATTRIBUTE SER-Original-Request-ID      228  string     # SER, acc_radius
77
+ATTRIBUTE SER-To                       229  string     # SER, acc_radius
78
+ATTRIBUTE SER-Digest-Username          230  string     # SER, acc_radius
79
+ATTRIBUTE SER-Digest-Realm             231  string     # SER, acc_radius
80
+ATTRIBUTE SER-Request-Timestamp        232  integer    # SER, acc_radius
81
+ATTRIBUTE SER-To-DID                   233  string     # SER, acc_radius
82
+ATTRIBUTE SER-From-UID                 234  string     # SER, acc_radius
83
+ATTRIBUTE SER-From-DID                 235  string     # SER, acc_radius
84
+ATTRIBUTE SER-To-UID                   236  string     # SER, acc_radius
85
+ATTRIBUTE SER-Response-Timestamp       237  integer    # SER, acc_radius
86
+
87
+
57 88
 ### CISCO Vendor Specific Attributes ###
58 89
 #VENDOR Cisco              9
59
-#ATTRIBUTE Cisco-AVPair    1   string   Cisco           # VSA, auth_radius
90
+#ATTRIBUTE Cisco-AVPair    1   string   Cisco          # VSA, auth_radius
60 91
 
61 92
 ### Acct-Status-Type Values ###
62
-#VALUE Acct-Status-Type     Start             1         # RFC2866, acc
63
-#VALUE Acct-Status-Type     Stop              2         # RFC2866, acc
64
-VALUE Acct-Status-Type     Failed           15         # RFC2866, acc
93
+#VALUE Acct-Status-Type     Start            1         # RFC2866, acc_radius
94
+#VALUE Acct-Status-Type     Stop             2         # RFC2866, acc_radius
95
+VALUE Acct-Status-Type      Interim-Update   3         # RFC2866, acc_radius
96
+VALUE Acct-Status-Type      Failed          15         # RFC2866, acc_radius
65 97
 
66 98
 ### Service-Type Values ###
67 99
 VALUE Service-Type         Call-Check       10         # RFC2865, uri_radius
68
-VALUE Service-Type         Group-Check      12         # Proprietary, group_radius
69
-VALUE Service-Type         Sip-Session      15         # Schulzrinne, acc, auth_radius
70
-VALUE Service-Type         SIP-Caller-AVPs  30         # Proprietary, avp_radius
71
-VALUE Service-Type         SIP-Callee-AVPs  31         # Proprietary, avp_radius
100
+VALUE Service-Type         SER-Group-Check  12         # SER, group_radius
101
+VALUE Service-Type         Sip-Session      15         # Schulzrinne, acc_radius, auth_radius
102
+VALUE Service-Type         SER-Caller-AVPs  30         # SER, avp_radius
103
+VALUE Service-Type         SER-Callee-AVPs  31         # SER, avp_radius