Browse code

RADIUS dictionary update: - SER-Service-Type attribute added - Added Digest-Authentication value for SER-Service-Type

Jan Janak authored on 13/12/2006 16:47:40
Showing 2 changed files
... ...
@@ -79,12 +79,12 @@ ATTRIBUTE SER-From-UID                 10   string   iptelorg  # SER, acc_radius
79 79
 ATTRIBUTE SER-From-DID                 11   string   iptelorg  # SER, acc_radius
80 80
 ATTRIBUTE SER-To-UID                   12   string   iptelorg  # SER, acc_radius
81 81
 ATTRIBUTE SER-Response-Timestamp       13   integer  iptelorg  # SER, acc_radius
82
-
83
-ATTRIBUTE SER-Service-Type             15   string   iptelorg  # SER, avp_radius
82
+ATTRIBUTE SER-Service-Type             14   integer  iptelorg  # SER, avp_radius
84 83
 ATTRIBUTE SER-DID                      16   string   iptelorg  # SER, ?
85 84
 ATTRIBUTE SER-UID                      17   string   iptelorg  # SER, ?
86 85
 ATTRIBUTE SER-Domain                   18   string   iptelorg  # SER, ?
87 86
 ATTRIBUTE SER-Uri-User                 19   string   iptelorg  # SER, auth_radius
87
+ATTRIBUTE SER-Uri-Scheme               20   string   iptelorg  # SER, avp_radius
88 88
 
89 89
 
90 90
 ### Acct-Status-Type Values ###
... ...
@@ -97,8 +97,10 @@ VALUE Acct-Status-Type      Failed          15         # RFC2866, acc_radius
97 97
 VALUE Service-Type         Sip-Session      15         # Schulzrinne, acc_radius, auth_radius
98 98
 
99 99
 ### SER-Service-Type Values ###
100
-VALUE SER-Service-Type     Get-URI-Attrs     1         # SER, avp_radius
101
-VALUE SER-Service-Type     Get-User-Attrs    2         # SER, avp_radius
102
-VALUE SER-Service-Type     Get-Domain-Attrs  3         # SER, ?
103
-VALUE SER-Service-Type     Get-Global-Attrs  4         # SER, ?
104
-VALUE SER-Service-Type     Lookup-Domain     5         # SER, ?
100
+VALUE SER-Service-Type     Get-URI-Attrs          1         # SER, avp_radius
101
+VALUE SER-Service-Type     Get-User-Attrs         2         # SER, avp_radius
102
+VALUE SER-Service-Type     Digest-Authentication  3         # SER, auth_radius
103
+VALUE SER-Service-Type     Get-Domain-Attrs       4         # SER, ?
104
+VALUE SER-Service-Type     Get-Global-Attrs       5         # SER, ?
105
+VALUE SER-Service-Type     Lookup-Domain          6         # SER, ?
106
+
... ...
@@ -80,12 +80,8 @@ typedef enum rad_attr {
80 80
 	A_DIGEST_USER_NAME,
81 81
 
82 82
 	     /* To be deprecated in the future */
83
-	A_SER_URI_USER,
84
-	A_SER_GROUP,
85
-	A_SER_RPID,
86 83
 
87 84
 	     /* SER-specific attributes */
88
-	A_SER_ATTRS,
89 85
 	A_SER_FROM,
90 86
 	A_SER_FLAGS,
91 87
 	A_SER_ORIGINAL_REQUEST_ID,
... ...
@@ -98,6 +94,13 @@ typedef enum rad_attr {
98 98
 	A_SER_FROM_DID,
99 99
 	A_SER_TO_UID,
100 100
 	A_SER_RESPONSE_TIMESTAMP,
101
+	A_SER_ATTR,
102
+	A_SER_SERVICE_TYPE,
103
+	A_SER_DID,
104
+	A_SER_UID,
105
+	A_SER_DOMAIN,
106
+	A_SER_URI_USER,
107
+	A_SER_URI_SCHEME,
101 108
 
102 109
 	     /* CISCO Vendor Specific Attributes */
103 110
 	A_CISCO_AVPAIR,
... ...
@@ -106,15 +109,23 @@ typedef enum rad_attr {
106 106
 
107 107
 
108 108
 typedef enum rad_val {
109
+	 /* Acct-Status-Type */
109 110
 	V_START = 0,
110 111
 	V_STOP,
111 112
 	V_INTERIM_UPDATE,
112 113
 	V_FAILED,
113
-	V_CALL_CHECK,
114
-	V_SIP_SESSION,
115
-	V_SER_CALLER_AVPS,
116
-	V_SER_CALLEE_AVPS,
117
-	V_SER_GROUP_CHECK,
114
+
115
+	     /* Service-Type */
116
+	V_SIP_SESSION,     
117
+
118
+	     /* SER-Service-Type */
119
+	V_GET_URI_ATTRS,
120
+	V_GET_USER_ATTRS,
121
+	V_DIGEST_AUTHENTICATION,
122
+	V_GET_DOMAIN_ATTRS,
123
+	V_GET_GLOBAL_ATTRS,
124
+	V_LOOKUP_DOMAIN,
125
+
118 126
 	V_MAX
119 127
 } rad_val_t;
120 128