1 <?xml version="1.0" encoding="UTF-8"?>
5 <application id="4" name="Diameter Credit Control Application" uri="http://www.ietf.org/rfc/rfc4006.txt">
7 <command name="Credit-Control" code="272" vendor-id="None"/>
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"/>
14 <avp name="CC-Input-Octets" code="412" mandatory="must">
15 <type type-name="Unsigned64"/>
17 <avp name="CC-Money" code="413" mandatory="must">
19 <gavp name="Unit-Value"/>
20 <gavp name="Currency-Code"/>
24 <avp name="CC-Output-Octets" code="414" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
25 <type type-name="Unsigned64"/>
27 <avp name="CC-Request-Number" code="415" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
28 <type type-name="Unsigned32"/>
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"/>
37 <avp name="CC-Service-Specific-Units" code="417" mandatory="must">
38 <type type-name="Unsigned64"/>
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"/>
45 <avp name="CC-Sub-Session-Id" code="419" mandatory="must">
46 <type type-name="Unsigned64"/>
48 <avp name="CC-Time" code="420" mandatory="must">
49 <type type-name="Unsigned32"/>
51 <avp name="CC-Total-Octets" code="421" mandatory="must">
52 <type type-name="Unsigned64"/>
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"/>
59 <avp name="Cost-Information" code="423" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
61 <gavp name="Unit-Value"/>
62 <gavp name="Currency-Code"/>
63 <gavp name="Cost-Unit"/>
66 <avp name="Cost-Unit" code="424" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
67 <type type-name="UTF8String"/>
69 <avp name="Currency-Code" code="425" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
70 <type type-name="Unsigned32"/>
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"/>
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"/>
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"/>
88 <avp name="Exponent" code="429" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
89 <type type-name="Integer32"/>
91 <avp name="Final-Unit-Indication" code="430" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
93 <gavp name="Final-Unit-Action"/>
94 <gavp name="Restriction-Filter-Rule"/>
95 <gavp name="Filter-Id"/>
96 <gavp name="Redirect-Server"/>
99 <avp name="Granted-Service-Unit" code="431" mandatory="must">
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-Input-Octets"/>
106 <gavp name="CC-output-Octets"/>
107 <gavp name="CC-Service-Specific-Units"/>
110 <avp name="Rating-Group" code="432" mandatory="must">
111 <type type-name="Unsigned32"/>
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"/>
120 <avp name="Redirect-Server" code="434" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
122 <gavp name="Redirect-Address-Type"/>
123 <gavp name="Redirect-Server-Address"/>
126 <avp name="Redirect-Server-Address" code="435" mandatory="must">
127 <type type-name="UTF8String"/>
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"/>
136 <avp name="Requested-Service-Unit" code="437" mandatory="must">
138 <gavp name="CC-Time"/>
139 <gavp name="CC-Money"/>
140 <gavp name="CC-Total-Octets"/>
141 <gavp name="CC-Input-Octets"/>
142 <gavp name="CC-output-Octets"/>
143 <gavp name="CC-Service-Specific-Units"/>
146 <avp name="Restricted-Filter-Rule" code="438" mandatory="must">
147 <type type-name="IPFilterRule"/>
149 <avp name="Service-Identifier" code="439" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
150 <type type-name="Unsigned32"/>
152 <avp name="Service-Parameter-Info" code="440" mandatory="may" may-encrypt="yes" protected="may" vendor-bit="mustnot">
154 <gavp name="Service-Parameter-Type"/>
155 <gavp name="Service-Parameter-Value"/>
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. -->
162 <avp name="Service-Parameter-Value" code="442" mandatory="may" may-encrypt="yes" protected="may" vendor-bit="mustnot">
163 <type type-name="OctetString"/>
165 <avp name="Subscription-Id" code="443" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
167 <gavp name="Subscription-Id-Data"/>
168 <gavp name="Subscription-Id-Type"/>
171 <avp name="Subscription-Id-Data" code="444" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
172 <type type-name="UTF8String"/>
174 <avp name="Unit-Value" code="445" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
176 <gavp name="Value-Digits"/>
177 <gavp name="Exponent"/>
180 <avp name="Used-Service-Unit" code="446" mandatory="must">
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-Input-Octets"/>
187 <gavp name="CC-output-Octets"/>
188 <gavp name="CC-Service-Specific-Units"/>
191 <avp name="Value-Digits" code="447" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
192 <type type-name="Integer64"/>
194 <avp name="Validity-Time" code="448" mandatory="must">
195 <type type-name="Unsigned32"/>
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"/>
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"/>
211 <avp name="Tariff-Time-Change" code="451" mandatory="must">
212 <type type-name="Time"/>
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"/>
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"/>
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"/>
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"/>
237 <avp name="Multiple-Services-Credit-Control" code="456" mandatory="must">
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"/>
251 <avp name="G-S-U-Pool-Reference" code="457" mandatory="must">
253 <gavp name="G-S-U-Pool-Identifier"/>
254 <gavp name="CC-Unit-Type"/>
255 <gavp name="Unit-Value"/>
258 <avp name="User-Equipment-Info" code="458" mandatory="may">
260 <gavp name="User-Equipment-Info-Type"/>
261 <gavp name="User-Equipment-Info-Value"/>
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"/>
271 <avp name="User-Equipment-Info-Value" code="460" mandatory="may">
272 <type type-name="OctetString"/>
274 <avp name="Service-Context-Id" code="461" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
275 <type type-name="UTF8String"/>