blob: 9956c210e13a036f74b876616a48f6e33357f07c [file] [log] [blame]
Brian Waters13d96012017-12-08 16:53:31 -06001<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE dictionary SYSTEM "dictionary.dtd">
3
4
5<!--**************************************************************************************
6
7 === CpqD/DRC - Projeto ADRIMS - Mar/2011 ===
8 === Dicionario Dx/Cx ===
9 Baseado no "dict_sip" do FreeDiameter (www.freediameter.net)
10 Norberto R Goes Jr
11**************************************************************************************-->
12
13
14<dictionary>
15
16 <!-- ******************************************************** -->
17 <!-- ********************* Vendors ************************** -->
18 <!-- ******************************************************** -->
19
20 <vendor id="13019" name="ETSI" />
21
22 <vendor id="10415" name="3GPP" />
23
24 <!-- ******************************************************** -->
25 <!-- ***************** CxDx Application *********************-->
26 <!-- ******************************************************** -->
27
28 <application id="16777216" name="Diameter CxDx Application"
29 uri="http://www.cpqd.com.br">
30
31 <!-- ******************************************************** -->
32 <!-- ******************** Commands ************************** -->
33 <!-- ******************************************************** -->
34
35 <command name="User-Authorization" code="300" >
36
37 <requestrules>
38 <fixed>
39 <avprule name="Session-Id" minimum="1" maximum="1"/>
40 </fixed>
41
42 <required>
43 <avprule name="Vendor-Specific-Application-Id" maximum="1" />
44 <avprule name="Auth-Session-State" maximum="1" />
45 <avprule name="Origin-Host" maximum="1" />
46 <avprule name="Origin-Realm" maximum="1" />
47 <avprule name="Destination-Realm" maximum="1" />
48 <avprule name="User-Name" maximum="1" />
49 <avprule name="Public-Identity" maximum="1" />
50 <avprule name="Visited-Network-Identifier" maximum="1" />
51 </required>
52
53 <optional>
54 <avprule name="Destination-Host" maximum="1"/>
55 <avprule name="Supported-Features" />
56 <avprule name="User-Authorization-Type" maximum="1"/>
57 <avprule name="UAR-Flags" maximum="1" />
58 <avprule name="AVP" />
59 <avprule name="Proxy-Info" />
60 <avprule name="Route-Record" />
61 </optional>
62 </requestrules>
63
64
65 <answerrules>
66 <fixed>
67 <avprule name="Session-Id" minimum="1" maximum="1"/>
68 </fixed>
69
70 <required>
71 <avprule name="Vendor-Specific-Application-Id" maximum="1" />
72 <avprule name="Auth-Session-State" maximum="1" />
73 <avprule name="Origin-Host" maximum="1" />
74 <avprule name="Origin-Realm" maximum="1"/>
75
76 </required>
77
78 <optional>
79 <avprule name="Result-Code" maximum="1"/>
80 <avprule name="Experimental-Result" maximum="1"/>
81 <avprule name="Supported-Features" />
82 <avprule name="Server-Name" maximum="1"/>
83 <avprule name="Server-Capabilities" maximum="1"/>
84 <avprule name="Wildcarded-IMPU" maximum="1"/>
85 <avprule name="AVP" />
86 <avprule name="Failed-AVP" />
87 <avprule name="Proxy-Info" />
88 <avprule name="Route-Record" />
89 </optional>
90
91 </answerrules>
92
93 </command>
94
95
96
97 <command name="Server-Assignment" code="301" >
98
99 <requestrules>
100 <fixed>
101 <avprule name="Session-Id" minimum="1" maximum="1"/>
102 </fixed>
103
104 <required>
105 <avprule name="Vendor-Specific-Application-Id" maximum="1" />
106 <avprule name="Auth-Session-State" maximum="1" />
107 <avprule name="Origin-Host" maximum="1" />
108 <avprule name="Origin-Realm" maximum="1" />
109 <avprule name="Destination-Realm" maximum="1" />
110 <avprule name="Server-Name" maximum="1"/>
111 <avprule name="Server-Assignment-Type" maximum="1" />
112 <avprule name="User-Data-Already-Available" maximum="1" />
113 </required>
114
115 <optional>
116 <avprule name="Destination-Host" maximum="1"/>
117 <avprule name="User-Name" maximum="1" />
118 <avprule name="Supported-Features" />
119 <avprule name="Public-Identity" />
120 <avprule name="Wildcarded-PSI" maximum="1"/>
121 <avprule name="Wildcarded-IMPU" maximum="1"/>
122 <!-- avprule name="SCSCF-Restoration-Info" maximum="1"/> -->
123 <!-- avprule name="Multiple-Registration-Indication" maximum="1"/> -->
124 <!--avprule name="Session-Priority" maximum="1"/> -->
125 <avprule name="AVP" />
126 <avprule name="Proxy-Info" />
127 <avprule name="Route-Record" />
128 </optional>
129 </requestrules>
130
131
132 <answerrules>
133 <fixed>
134 <avprule name="Session-Id" minimum="1" maximum="1"/>
135 </fixed>
136
137 <required>
138 <avprule name="Vendor-Specific-Application-Id" maximum="1" />
139 <avprule name="Auth-Session-State" maximum="1" />
140 <avprule name="Origin-Host" maximum="1" />
141 <avprule name="Origin-Realm" maximum="1"/>
142 </required>
143
144 <optional>
145 <avprule name="Result-Code" maximum="1"/>
146 <avprule name="Experimental-Result" maximum="1"/>
147 <avprule name="User-Name" maximum="1" />
148 <avprule name="Supported-Features" />
149 <!--avprule name="User-Data" maximum="1"/> -->
150 <!--avprule name="Charging-Information" maximum="1"/> -->
151 <!--avprule name="Associated-Identities" maximum="1"/> -->
152 <!--avprule name="Loose-Route-Indication" maximum="1"/> -->
153 <!--avprule name="SCSCF-Restoration-Info" /> -->
154 <!--avprule name="Associated-Registered-Identities " maximum="1"/> -->
155 <avprule name="AVP" />
156 <avprule name="Server-Name" maximum="1"/>
157 <avprule name="Failed-AVP" />
158 <avprule name="Proxy-Info" />
159 <avprule name="Route-Record" />
160
161 </optional>
162
163 </answerrules>
164
165 </command>
166
167
168
169
170
171 <!-- ******************************************************** -->
172 <!-- *********************** AVPs *************************** -->
173 <!-- ******************************************************** -->
174
175 <avp name="Visited-Network-Identifier" code="600" vendor-id="10415" mandatory="must"
176 may-encrypt="no">
177 <type type-name="OctetString" />
178 </avp>
179
180 <avp name="Public-Identity" code="601" vendor-id="10415" mandatory="must"
181 may-encrypt="no">
182 <type type-name="UTF8String" />
183 </avp>
184
185 <avp name="Server-Name" code="602" vendor-id="10415" mandatory="must"
186 may-encrypt="no">
187 <type type-name="UTF8String" />
188 </avp>
189
190 <!-- "Server-Capabilites" (603) usa as duas AVPs a seguir : -->
191 <avp name="Feature-List-ID" code="629" vendor-id="10415" mandatory="must"
192 may-encrypt="no"> <!-- verificar flags / NRGJ -->
193 <type type-name="Unsigned32" />
194 </avp>
195
196 <avp name="Feature-List" code="630" vendor-id="10415" mandatory="must"
197 may-encrypt="no"> <!-- verificar flags / NRGJ -->
198 <type type-name="Unsigned32" />
199 </avp>
200
201 <avp name="Server-Capabilities" code="603" vendor-id="10415" mandatory="must"
202 may-encrypt="no">
203 <grouped>
204 <optional>
205 <avprule name="Vendor-Id" maximum="1" />
206 <avprule name="Feature-List-ID" maximum="1" />
207 <avprule name="Feature-List" maximum="1" />
208 </optional>
209 </grouped>
210 </avp>
211
212 <avp name="Mandatory-Capability" code="604" vendor-id="10415" mandatory="must"
213 may-encrypt="no">
214 <type type-name="Unsigned32" />
215 </avp>
216
217 <avp name="Optional-Capability" code="605" vendor-id="10415" mandatory="must"
218 may-encrypt="no">
219 <type type-name="Unsigned32" />
220 </avp>
221
222 <avp name="User-Data" code="606" vendor-id="10415" mandatory="must"
223 may-encrypt="no">
224 <type type-name="OctetString" />
225 </avp>
226
227 <avp name="SIP-Number-Auth-Items" code="607" vendor-id="10415" mandatory="must"
228 may-encrypt="no">
229 <type type-name="Unsigned32" />
230 </avp>
231
232 <avp name="SIP-Authentication-Scheme" code="608" vendor-id="10415" mandatory="must"
233 may-encrypt="no">
234 <type type-name="UTF8String" />
235 </avp>
236
237 <avp name="SIP-Authenticate" code="609" vendor-id="10415" mandatory="must"
238 may-encrypt="no">
239 <type type-name="OctetString" />
240 </avp>
241
242 <avp name="SIP-Authorization" code="610" vendor-id="10415" mandatory="must"
243 may-encrypt="no">
244 <type type-name="OctetString" />
245 </avp>
246
247 <avp name="SIP-Authentication-Context" code="611" vendor-id="10415" mandatory="must"
248 may-encrypt="no">
249 <type type-name="OctetString" />
250 </avp>
251
252
253
254 <!-- "SIP-Auth-Data-Item" (612) usa as AVPs a seguir : -->
255
256 <avp name="SIP-Item-Number" code="613" vendor-id="10415" mandatory="must"
257 may-encrypt="no">
258 <type type-name="Unsigned32" />
259 </avp>
260
261 <avp name="Confidentiality-Key" code="625" vendor-id="10415" mandatory="must"
262 may-encrypt="no">
263 <type type-name="OctetString" />
264 </avp>
265
266 <avp name="Integrity-Key" code="626" vendor-id="10415" mandatory="must"
267 may-encrypt="no">
268 <type type-name="OctetString" />
269 </avp>
270
271 <avp name="Digest-Realm" code="104" vendor-id="10415" mandatory="must"
272 may-encrypt="no"> <!-- verificar flags / NRGJ -->
273 <type type-name="UTF8String" />
274 </avp>
275
276 <avp name="Digest-Algorithm" code="111" vendor-id="10415" mandatory="must"
277 may-encrypt="no"> <!-- verificar flags / NRGJ -->
278 <type type-name="UTF8String" />
279 </avp>
280
281 <avp name="Digest-QoP" code="110" vendor-id="10415" mandatory="must"
282 may-encrypt="no"> <!-- verificar flags / NRGJ -->
283 <type type-name="UTF8String" />
284 </avp>
285
286 <avp name="Digest-HA1" code="121" vendor-id="10415" mandatory="must"
287 may-encrypt="no"> <!-- verificar flags / NRGJ -->
288 <type type-name="UTF8String" />
289 </avp>
290
291
292 <avp name="SIP-Digest-Authenticate" code="635" vendor-id="10415"
293 may-encrypt="no"> <!-- verificar flags / NRGJ -->
294 <grouped>
295 <required>
296 <avprule name="Digest-Realm" minimum="1" maximum="1" />
297 </required>
298 <optional>
299 <avprule name="Digest-Algorithm" maximum="1" />
300 <avprule name="Digest-QoP" maximum="1" />
301 <avprule name="Digest-HA1" maximum="1" />
302 <avprule name="AVP" />
303 </optional>
304 </grouped>
305
306 </avp>
307
308 <avp name="Line-Identifier" code="500" vendor-id="13019" mandatory="must"
309 may-encrypt="no"> <!-- verificar flags / NRGJ -->
310 <type type-name="OctetString" />
311 </avp>
312
313 <avp name="SIP-Auth-Data-Item" code="612" vendor-id="10415" mandatory="must"
314 may-encrypt="no">
315 <grouped>
316 <optional>
317 <avprule name="SIP-Item-Number" maximum="1" />
318 <avprule name="SIP-Authentication-Scheme" maximum="1" />
319 <avprule name="SIP-Authenticate" maximum="1" />
320 <avprule name="SIP-Authorization" maximum="1" />
321 <avprule name="SIP-Authentication-Context" maximum="1" />
322 <avprule name="Confidentiality-Key" maximum="1" />
323 <avprule name="Integrity-Key" maximum="1" />
324 <avprule name="SIP-Digest-Authenticate" maximum="1" />
325 <avprule name="Framed-IP-Address" maximum="1" />
326 <avprule name="Framed-IPv6-Prefix" maximum="1" />
327 <avprule name="Framed-Interface-Id" maximum="1" />
328 <avprule name="Line-Identifier" />
329 <avprule name="AVP" />
330 </optional>
331 </grouped>
332 </avp>
333
334
335
336
337 <avp name="Server-Assignment-Type" code="614" mandatory="must"
338 may-encrypt="no">
339 <type type-name="Enumerated"/>
340 <enum name="NO_ASSIGNMENT" code="0"/>
341 <enum name="REGISTRATION" code="1"/>
342 <enum name="RE_REGISTRATION" code="2"/>
343 <enum name="UNREGISTERED_USER" code="3"/>
344 <enum name="TIMEOUT_DEREGISTRATION" code="4"/>
345 <enum name="USER_DEREGISTRATION" code="5"/>
346 <enum name="TIMEOUT_DEREGISTRATION_STORE_SERVER_NAME" code="6"/>
347 <enum name="USER_DEREGISTRATION_STORE_SERVER_NAME" code="7"/>
348 <enum name="ADMINISTRATIVE_DEREGISTRATION " code="8"/>
349 <enum name="AUTHENTICATION_FAILURE" code="9"/>
350 <enum name="AUTHENTICATION_TIMEOUT" code="10"/>
351 <enum name="DEREGISTRATION_TOO_MUCH_DATA" code="11"/>
352 <enum name="AAA_USER_DATA_REQUEST" code="12"/>
353 <enum name="PGW_UPDATE " code="13"/>
354 </avp>
355
356
357 <avp name="User-Data-Already-Available" code="624" mandatory="must"
358 may-encrypt="no">
359 <type type-name="Enumerated"/>
360 <enum name="USER_DATA_NOT_AVAILABLE" code="0"/>
361 <enum name="USER_DATA_ALREADY_AVAILABLE" code="1"/>
362 </avp>
363
364
365 <avp name="Wildcarded-PSI" code="634" vendor-id="10415"
366 may-encrypt="no">
367 <type type-name="UTF8String" />
368 </avp>
369
370
371 <avp name="User-Authorization-Type" code="623" vendor-id="10415" mandatory="must"
372 may-encrypt="no">
373 <type type-name="UTF8String" />
374 </avp>
375
376
377
378 <avp name="Wildcarded-IMPU" code="636" vendor-id="10415" mandatory="must"
379 may-encrypt="no">
380 <type type-name="UTF8String" />
381 </avp>
382
383 <avp name="UAR-Flags" code="637" vendor-id="10415" mandatory="must"
384 may-encrypt="no">
385 <type type-name="Unsigned32" />
386 </avp>
387
388
389 <avp name="Supported-Features" code="628" vendor-id="10415"
390 may-encrypt="no">
391 <grouped>
392 <optional>
393 <avprule name="Vendor-Id" maximum="1" />
394 <avprule name="Feature-List-ID" maximum="1" />
395 <avprule name="Feature-List" maximum="1" />
396 </optional>
397 </grouped>
398 </avp>
399
400
401
402 </application>
403
404
405</dictionary>
406
407