Update to V9.0.0 (2009-12)
[obnox/wireshark/wip.git] / diameter / chargecontrol.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- $Id$ -->
3
4
5         <application id="4" name="Diameter Credit Control Application" uri="http://www.ietf.org/rfc/rfc4006.txt">
6
7                 <command name="Credit-Control" code="272" vendor-id="None"/>
8
9                 <!-- ************************* DCCA AVPs ************************ -->
10                 <!-- This list is not complete yet -->
11                 <avp name="CC-Correlation-Id" code="411" mandatory="may" may-encrypt="yes" protected="may" vendor-bit="mustnot">
12                         <type type-name="OctetString"/>
13                 </avp>
14                 <avp name="CC-Input-Octets" code="412" mandatory="must">
15                         <type type-name="Unsigned64"/>
16                 </avp>
17                 <avp name="CC-Money" code="413" mandatory="must">
18                         <grouped>
19                                 <gavp name="Unit-Value"/>
20                                 <gavp name="Currency-Code"/>
21                         </grouped>
22                 </avp>
23
24                 <avp name="CC-Output-Octets" code="414" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
25                         <type type-name="Unsigned64"/>
26                 </avp>
27                 <avp name="CC-Request-Number" code="415" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
28                         <type type-name="Unsigned32"/>
29                 </avp>
30                 <avp name="CC-Request-Type" code="416" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
31                         <type type-name="Unsigned32"/>
32                         <enum name="INITIAL_REQUEST"     code="1"/>
33                         <enum name="UPDATE_REQUEST"      code="2"/>
34                         <enum name="TERMINATION_REQUEST" code="3"/>
35                         <enum name="EVENT_REQUEST"       code="4"/>
36                 </avp>
37                 <avp name="CC-Service-Specific-Units" code="417" mandatory="must">
38                         <type type-name="Unsigned64"/>
39                 </avp>
40                 <avp name="CC-Session-Failover" code="418" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
41                         <type type-name="Enumerated"/>
42                         <enum name="FAILOVER_NOT_SUPPORTED" code="0"/>
43                         <enum name="FAILOVER_SUPPORTED" code="1"/>
44                 </avp>
45                 <avp name="CC-Sub-Session-Id" code="419" mandatory="must">
46                         <type type-name="Unsigned64"/>
47                 </avp>
48                 <avp name="CC-Time" code="420" mandatory="must">
49                         <type type-name="Unsigned32"/>
50                 </avp>
51                 <avp name="CC-Total-Octets" code="421" mandatory="must">
52                         <type type-name="Unsigned64"/>
53                 </avp>
54                 <avp name="Check-Balance-Result" code="422" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
55                         <type type-name="Enumerated"/>
56                         <enum name="ENOUGH_CREDIT" code="0"/>
57                         <enum name="NO_CREDIT" code="1"/>
58                 </avp>
59                 <avp name="Cost-Information" code="423" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
60                         <grouped>
61                                 <gavp name="Unit-Value"/>
62                                 <gavp name="Currency-Code"/>
63                                 <gavp name="Cost-Unit"/>
64                         </grouped>
65                 </avp>
66                 <avp name="Cost-Unit" code="424" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
67                         <type type-name="UTF8String"/>
68                 </avp>
69                 <avp name="Currency-Code" code="425" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
70                         <type type-name="Unsigned32"/>
71                 </avp>
72                 <avp name="Credit-Control" code="426" mandatory="must">
73                         <type type-name="Enumerated"/>
74                         <enum name="CREDIT_AUTHORIZATION" code="0"/>
75                         <enum name="RE_AUTHORIZATION" code="1"/>
76                 </avp>
77                 <avp name="Credit-Control-Failure-Handling" code="427" mandatory="must">
78                         <type type-name="Enumerated"/>
79                         <enum name="TERMINATE" code="0"/>
80                         <enum name="CONTINUE" code="1"/>
81                         <enum name="RETRY_AND_TERMINATE" code="2"/>
82                 </avp>
83                 <avp name="Direct-Debiting-Failure-Handling" code="428" mandatory="must">
84                         <type type-name="Enumerated"/>
85                         <enum name="CONTINUE" code="1"/>
86                         <enum name="TERMINATE_OR_BUFFER" code="0"/>
87                 </avp>          
88                 <avp name="Exponent" code="429" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
89                         <type type-name="Integer32"/>
90                 </avp>
91                 <avp name="Final-Unit-Indication" code="430" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
92                         <grouped>
93                                 <gavp name="Final-Unit-Action"/>
94                                 <gavp name="Restriction-Filter-Rule"/>
95                                 <gavp name="Filter-Id"/>
96                                 <gavp name="Redirect-Server"/>
97                         </grouped>
98                 </avp>
99                 <avp name="Granted-Service-Unit" code="431" mandatory="must">
100                         <grouped>
101                                 <gavp name="Tariff-Time-Change"/>
102                                 <gavp name="CC-Time"/>
103                                 <gavp name="CC-Money"/>
104                                 <gavp name="CC-Total-Octets"/>
105                                 <gavp name="CC-Imput-Octets"/>
106                                 <gavp name="CC-output-Octets"/>
107                                 <gavp name="CC-Service-Specific-Units"/>
108                         </grouped>
109                 </avp>
110                 <avp name="Rating-Group" code="432" mandatory="must">
111                         <type type-name="Unsigned32"/>
112                 </avp>
113                 <avp name="Redirect-Address-Type" code="433" mandatory="must">
114                         <type type-name="Enumerated"/>
115                         <enum name="IPV6_ADDRESS" code="1"/>
116                         <enum name="SIP_URI" code="3"/>
117                         <enum name="URL" code="2"/>
118                         <enum name="IPV4_ADDRESS" code="0"/>
119                 </avp>
120                 <avp name="Redirect-Server" code="434" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
121                         <grouped>
122                                 <gavp name="Redirect-Address-Type"/>
123                                 <gavp name="Redirect-Server-Address"/>
124                         </grouped>
125                 </avp>
126                 <avp name="Redirect-Server-Address" code="435" mandatory="must">
127                         <type type-name="UTF8String"/>
128                 </avp>
129                 <avp name="Requested-Action" code="436" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
130                         <type type-name="Unsigned32"/>
131                         <enum name="DIRECT_DEBITING"  code="0"/>
132                         <enum name="REFUND_ACCOUNT"   code="1"/>
133                         <enum name="CHECK_BALANCE"    code="2"/>
134                         <enum name="PRICE_ENQUIRY"    code="3"/>
135                 </avp>
136                 <avp name="Requested-Service-Unit" code="437" mandatory="must">
137                         <grouped>
138                                 <gavp name="CC-Time"/>
139                                 <gavp name="CC-Money"/>
140                                 <gavp name="CC-Total-Octets"/>
141                                 <gavp name="CC-Imput-Octets"/>
142                                 <gavp name="CC-output-Octets"/>
143                                 <gavp name="CC-Service-Specific-Units"/>
144                         </grouped>
145                 </avp>
146                 <avp name="Restricted-Filter-Rule" code="438" mandatory="must">
147                         <type type-name="IPFilterRule"/>
148                 </avp>
149                 <avp name="Service-Identifier" code="439" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
150                         <type type-name="Unsigned32"/>
151                 </avp>
152                 <avp name="Service-Parameter-Info" code="440" mandatory="may" may-encrypt="yes" protected="may" vendor-bit="mustnot">
153                         <grouped>
154                                 <gavp name="Service-Parameter-Type"/>
155                                 <gavp name="Service-Parameter-Value"/>
156                         </grouped>
157                 </avp>
158                 <avp name="Service-Parameter-Type" code="441" mandatory="may" may-encrypt="yes" protected="may" vendor-bit="mustnot">
159                         <type type-name="Unsigned32"/>
160                         <!-- This field is vendor defined. -->
161                 </avp>
162                 <avp name="Service-Parameter-Value" code="442" mandatory="may" may-encrypt="yes" protected="may" vendor-bit="mustnot">
163                         <type type-name="OctetString"/>
164                 </avp>
165                 <avp name="Subscription-Id" code="443" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
166                         <grouped>
167                                 <gavp name="Subscription-Id-Data"/>
168                                 <gavp name="Subscription-Id-Type"/>
169                         </grouped>
170                 </avp>
171                 <avp name="Subscription-Id-Data" code="444" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
172                         <type type-name="UTF8String"/>
173                 </avp>
174                 <avp name="Unit-Value" code="445" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
175                         <grouped>
176                                 <gavp name="Value-Digits"/>
177                                 <gavp name="Exponent"/>
178                         </grouped>
179                 </avp>
180                 <avp name="Used-Service-Unit" code="446" mandatory="must">
181                         <grouped>
182                                 <gavp name="Tariff-Change-Usage"/>
183                                 <gavp name="CC-Time"/>
184                                 <gavp name="CC-Money"/>
185                                 <gavp name="CC-Total-Octets"/>
186                                 <gavp name="CC-Imput-Octets"/>
187                                 <gavp name="CC-output-Octets"/>
188                                 <gavp name="CC-Service-Specific-Units"/>
189                         </grouped>
190                 </avp>
191                 <avp name="Value-Digits" code="447" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
192                         <type type-name="Integer64"/>
193                 </avp>
194                 <avp name="Validity-Time" code="448" mandatory="must">
195                         <type type-name="Unsigned32"/>
196                 </avp>
197                 <avp name="Final-Unit-Action" code="449" mandatory="must">
198                         <type type-name="Enumerated"/>
199                         <enum name="TERMINATE" code="0"/>
200                         <enum name="REDIRECT" code="1"/>
201                         <enum name="RESTRICT_ACCESS" code="2"/>
202                 </avp>
203                 <avp name="Subscription-Id-Type" code="450" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
204                         <type type-name="Unsigned32"/>
205                         <enum name="END_USER_E164"    code="0"/>
206                         <enum name="END_USER_IMSI"    code="1"/>
207                         <enum name="END_USER_SIP_URI" code="2"/>
208                         <enum name="END_USER_NAI"     code="3"/>
209                         <enum name="END_USER_PRIVATE" code="4"/>
210                 </avp>
211                 <avp name="Tariff-Time-Change" code="451" mandatory="must">
212                         <type type-name="Time"/>
213                 </avp>
214                 <avp name="Tariff-Change-Usage" code="452" mandatory="must">
215                         <type type-name="Enumerated"/>
216                         <enum name="UNIT_AFTER_TARIFF_CHANGE" code="1"/>
217                         <enum name="UNIT_INDETERMINATE" code="2"/>
218                         <enum name="UNIT_BEFORE_TARIFF_CHANGE" code="0"/>
219                 </avp>
220                 <avp name="G-S-U-Pool-Identifier" code="453" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
221                         <type type-name="Unsigned32"/>
222                 </avp>
223                 <avp name="CC-Unit-Type" code="454" mandatory="must">
224                         <type type-name="Enumerated"/>
225                         <enum name="TIME" code="0"/>
226       <enum name="MONEY" code="1"/>
227       <enum name="TOTAL-OCTETS" code="2"/>
228                         <enum name="OUTPUT-OCTETS" code="4"/>
229                         <enum name="INPUT-OCTETS" code="3"/>
230                         <enum name="SERVICE-SPECIFIC-UNITS" code="5"/>
231                 </avp>
232                 <avp name="Multiple-Services-Indicator" code="455" mandatory="must">
233                         <type type-name="Enumerated"/>
234                         <enum name="MULTIPLE_SERVICES_NOT_SUPPORTED" code="0"/>
235                         <enum name="MULTIPLE_SERVICES_SUPPORTED" code="1"/>
236                 </avp>
237                 <avp name="Multiple-Services-Credit-Control" code="456" mandatory="must">
238                         <grouped>
239                                 <gavp name="Granted-Service-Unit"/>
240                                 <gavp name="Requested-Service-Unit"/>
241                                 <gavp name="Used-Service-Unit"/>
242                                 <gavp name="Tariff-Change-Usage"/>
243                                 <gavp name="Service-Identifier"/>
244                                 <gavp name="Rating-Group"/>
245                                 <gavp name="G-S-U-Pool-Reference"/>
246                                 <gavp name="Validity-Time"/>
247                                 <gavp name="Result-Code"/>
248                                 <gavp name="Final-Unit-Indication"/>
249                         </grouped>
250                 </avp>
251                 <avp name="G-S-U-Pool-Reference" code="457" mandatory="must">
252                         <grouped>
253                                 <gavp name="G-S-U-Pool-Identifier"/>
254                                 <gavp name="CC-Unit-Type"/>
255                                 <gavp name="Unit-Value"/>
256                         </grouped>
257                 </avp>
258                 <avp name="User-Equipment-Info" code="458" mandatory="may">
259                         <grouped>
260                                 <gavp name="User-Equipment-Info-Type"/>
261                                 <gavp name="User-Equipment-Info-Value"/>
262                         </grouped>
263                 </avp>
264                 <avp name="User-Equipment-Info-Type" code="459" mandatory="may">
265                         <type type-name="Enumerated"/>
266                         <enum name="IMEISV" code="0"/>
267                         <enum name="MAC" code="1"/>
268                         <enum name="EUI64" code="2"/>
269                         <enum name="MODIFIED_EUI64" code="3"/>
270                 </avp>
271                 <avp name="User-Equipment-Info-Value" code="460" mandatory="may">
272                         <type type-name="OctetString"/>
273                 </avp>
274                 <avp name="Service-Context-Id" code="461" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
275                         <type type-name="UTF8String"/>
276                 </avp>
277
278
279
280         </application>