Update to V9.0.0 (2009-12)
[obnox/wireshark/wip.git] / diameter / dictionary.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- $Id$ -->
3
4 <?type-proto key="MIPRegistrationRequest" value="mip" ?>
5 <?avp-proto key="Example-AVP" value="data" ?>
6
7 <!DOCTYPE dictionary SYSTEM "dictionary.dtd" [
8         <!ENTITY nasreq SYSTEM "nasreq.xml">
9         <!ENTITY eap SYSTEM "eap.xml">
10         <!ENTITY mobileipv4 SYSTEM "mobileipv4.xml">
11         <!ENTITY chargecontrol SYSTEM "chargecontrol.xml">
12         <!ENTITY sunping SYSTEM "sunping.xml">
13         <!ENTITY imscxdx SYSTEM "imscxdx.xml">
14         <!ENTITY TGPPGmb SYSTEM "TGPPGmb.xml">
15         <!ENTITY TGPPSh SYSTEM "TGPPSh.xml">
16         <!ENTITY TGPPRx SYSTEM "TGPPRx.xml">
17         <!ENTITY sip SYSTEM "sip.xml">
18         <!ENTITY gqpolicy SYSTEM "gqpolicy.xml">
19         <!ENTITY etsie2e4 SYSTEM "etsie2e4.xml">
20         <!ENTITY Ericsson SYSTEM "Ericsson.xml">
21 ]>
22 <dictionary>
23         <base uri="http://www.ietf.org/rfc/rfc3588.txt">
24                 <!--
25   $Log: dictionary.xml,v $
26   Revision 1.1  2001/11/01 21:52:44  guy
27   From David Frascone: duUpdate to Diameter dissector to load the
28   dictionary as an XML file rather than building it in, and various
29   Diameter updates.
30
31   Revision 1.8  2008/01/06 02:49:24  grzegorz  Added missing RFC 3588   
32   AVP 299 by Grzegorz Szczytowski 
33
34   Revision 1.7  2001/08/24 18:03:24  chaos
35   Mark's Changes
36
37   Revision 1.6  2001/07/31 19:13:55  chaos
38   Missed a couple of MIP AVPs
39
40   Revision 1.5  2001/07/31 19:09:22  chaos
41   Added Mobile-Ip and Sun Ping Extension
42
43   Revision 1.4  2001/07/31 17:43:25  chaos
44   Oops, forgot to turn on validity checking.  Fixed some errors found with validity checking turned on
45
46   Revision 1.3  2001/07/31 16:56:31  chaos
47   Added commands, and validated with xmllint
48
49   Revision 1.2  2001/07/31 16:29:34  chaos
50   Checking in some changes to verify log and ident strings
51
52 -->
53                 <!-- *********************** Commands ***************************** -->
54                 <!-- Diameter Base Protocol Command Codes -->
55                 <command name="Capabilities-Exchange" code="257" vendor-id="None"/>
56                 <command name="Re-Auth" code="258" vendor-id="None"/>
57                 <command name="Accounting" code="271" vendor-id="None"/>
58                 <command name="Abort-Session" code="274" vendor-id="None">
59                 </command>
60                 <command name="Session-Termination" code="275" vendor-id="None"/>
61                 <command name="Device-Watchdog" code="280" vendor-id="None"/>
62                 <command name="Disconnect-Peer" code="282" vendor-id="None"/>
63                 <!-- ********************** End Commands ************************** -->
64                 <!-- ************************* Vendors **************************** -->
65                 <vendor vendor-id="None" code="0" name="None"/>
66                 <vendor vendor-id="HP"    code="11"    name="Hewlett Packard"/>
67                 <vendor vendor-id="Merit" code="61" name="Merit Networks"/>
68                 <vendor vendor-id="Sun" code="42" name="Sun Microsystems, Inc."/>
69                 <vendor vendor-id="USR" code="429" name="US Robotics Corp."/>
70                 <vendor vendor-id="TGPP2" code="5535" name="3GPP2"/>
71                 <vendor vendor-id="TGPP"  code="10415" name="3GPP"/>
72                 <vendor vendor-id="TGPPCX" code="16777216" name="3GPP CX/DX"/>
73                 <vendor vendor-id="Ericsson"  code="193" name="Ericsson"/>
74                 <vendor vendor-id="ETSI"  code="13019" name="ETSI"/>
75     <vendor vendor-id="Vodafone" code="12645" name="Vodafone"/>
76     <vendor vendor-id="Deutsche_Telekom_AG" code="2937" name="Deutsche Telekom AG"/>
77     <!-- *********************** End Vendors ************************** -->
78                 <!-- ************************ typedefn's ************************** -->
79                 <typedefn type-name="OctetString"/>
80                 <!--
81          The data contains arbitrary data of variable length. Unless
82          otherwise noted, the AVP Length field MUST be set to at least 9
83          (13 if the 'V' bit is enabled).  Data used to transmit (human
84          readable) character string data uses the UTF-8 [24] character
85          set and is NOT NULL-terminated. The minimum Length field MUST
86          be 9, but can be set to any value up to 65504 bytes. AVP Values
87          of this type that do not align on a 32-bit boundary MUST have
88          the necessary padding.
89          -->
90                 <typedefn type-name="UTF8String" type-parent="OctetString"/>
91                 <!--
92          The UTF8String format is derived from the OctetString AVP Base
93          Format. This is a human readable string represented using the
94          ISO/IEC IS 10646-1 character set, encoded as an OctetString
95          using the UTF-8 [29] transformation format described in RFC
96          2279.
97
98          Since additional code points are added by amendments to the
99          10646 standard from time to time, implementations MUST be
100          prepared to encounter any code point from 0x00000001 to
101          0x7fffffff. Byte sequences that do not correspond to the valid
102          UTF-8 encoding of a code point or are outside this range are
103          prohibited. Note that since a code point of 0x00000000 is
104          prohibited, no octet will contain a value of 0x00.
105
106          The use of control codes SHOULD be avoided. When it is
107          necessary to represent a newline, the control code sequence CR
108          LF SHOULD be used.
109
110          The use of leading or trailing white space SHOULD be avoided.
111
112          For code points not directly supported by user interface
113          hardware or software, an alternative means of entry and
114          display, such as hexadecimal, MAY be provided.
115
116          For information encoded in 7-bit US-ASCII, the UTF-8 encoding
117          is identical to the US-ASCII encoding.
118
119          UTF-8 may require multiple bytes to represent a single
120          character / code point; thus the length of a UTF8String in
121          octets may be different from the number of characters encoded.
122
123          Note that the size of an UTF8String is measured in octets, not
124          characters.
125
126          The UTF8String MUST not contain any octets with a value of
127          zero.
128         -->
129                 <typedefn type-name="IPAddress" type-parent="OctetString"/>
130                 <!--
131          The IPAddress format is derived from the OctetString AVP Base
132          Format. It represents 32 bit (IPv4) [17] or 128 bit (IPv6) [16]
133          address, most significant octet first. The format of the
134          address (IPv4 or IPv6) is determined by the length. If the
135          attribute value is an IPv4 address, the AVP Length field MUST
136          be 12 (16 if 'V' bit is enabled), otherwise the AVP Length
137          field MUST be set to 24 (28 if the 'V' bit is enabled) for IPv6
138          addresses.
139          -->
140                 <typedefn type-name="DiameterIdentity" type-parent="OctetString"/>
141                 <!--
142          The DiameterIdentity format is derived from the OctetString AVP
143          Base Format.  It uses the UTF-8 encoding and has the same
144          requirements as the UTF8String.  In addition, it must follow
145          the Uniform Resource Identifiers (URI) syntax [29] rules
146          specified below:
147
148             Diameter-Identity  = fqdn [ port ] [ transport ]
149                                  [ protocol ]
150
151             aaa-protocol       = ( "diameter" | "radius" | "tacacs+" )
152
153             protocol           = ";protocol=" aaa-protocol
154                                  ; If absent, the default AAA protocol
155                                  ; is diameter.
156
157             fqdn               = Fully Qualified Host Name
158
159             port               = ":" 1*DIGIT
160                                  ; One of the ports used to listen for
161                                  ; incoming connections. ; If absent,
162                                  ; the default Diameter port (TBD) is
163                                  ; assumed.
164
165             transport-protocol = ( "tcp" | "sctp" | "udp" )
166
167             transport          = ";transport=" transport-protocol
168
169                                  ; One of the transports used to listen
170                                  ; for incoming connections. If absent,
171                                  ; the default SCTP [26] protocol is
172                                  ; assumed. UDP MUST NOT be used when
173                                  ; the aaa-protocol field is set to
174                                  ; diameter.
175
176             The following are examples of valid Diameter host
177             identities:
178
179                host.abc.com;transport=tcp
180                host.abc.com:6666;transport=tcp
181                aaa://host.abc.com;protocol=diameter
182                aaa://host.abc.com:6666;protocol=diameter
183                aaa://host.abc.com:6666;transport=tcp;protocol=diameter
184                aaa://host.abc.com:1813;transport=udp;protocol=radius
185
186          Since multiple Diameter processes on a single host cannot
187          listen for incoming connections on the same port on a given
188          protocol, the DiameterIdentity is guaranteed to be unique per
189          host.
190
191          A Diameter node MAY advertise different identities on each
192          connection, via the CER and CEA's Origin-Host AVP, but the same
193          identity MUST be used throughout the duration of a connection.
194
195          When comparing AVPs of this format, it is necessary to add any
196          absent fields with the default values prior to the comparison.
197          For example, diameter-host.abc.com would be expanded to
198          aaa://diameter/diameter-host.abc.com:TBD;protocol=sctp.
199         -->
200                 <typedefn type-name="IPFilterRule" type-parent="OctetString"/>
201                 <!--
202          The IPFilterRule format is derived from the OctetString AVP
203          Base Format.  It uses the UTF-8 encoding and has the same
204          requirements as the UTF8String. Packets may be filtered based
205          on the following information that is associated with it:
206
207             Direction                          (in or out)
208             Source and destination IP address  (possibly masked)
209             Protocol
210             Source and destination port        (lists or ranges)
211             TCP flags
212             IP fragment flag
213             IP options
214             ICMP types
215
216          Rules for the appropriate direction are evaluated in order,
217          with the first matched rule terminating the evaluation.  Each
218          packet is evaluated once. If no rule matches, the packet is
219          dropped if the last rule evaluated was a permit, and passed if
220          the last rule was a deny.
221
222          IPFilterRule filters MUST follow the format:
223
224             action dir proto from src to dst [options]
225
226             action       permit - Allow packets that match the rule.
227                          deny   - Drop packets that match the rule.
228
229             dir          "in" is from the terminal, "out" is to the
230                          terminal.
231
232             proto        An IP protocol specified by number.  The "ip"
233                          keyword means any protocol will match.
234
235             src and dst  <address/mask> [ports]
236
237                          The <address/mask> may be specified as:
238                          ipno       An IPv4 or IPv6 number in dotted-
239                                     quad or canonical IPv6 form. Only
240                                     this exact IP number will match the
241                                     rule.
242                          ipno/bits  An IP number as above with a mask
243                                     width of the form 1.2.3.4/24.  In
244                                     this case all IP numbers from
245                                     1.2.3.0 to 1.2.3.255 will match.
246                                     The bit width MUST be valid for the
247                                     IP version and the IP number MUST
248                                     NOT have bits set beyond the mask.
249
250                          The sense of the match can be inverted by
251                          preceding an address with the not modifier,
252                          causing all other addresses to be matched
253                          instead.  This does not affect the selection of
254                          port numbers.
255
256                             The keyword "any" is 0.0.0.0/0 or the IPv6
257                             equivalent.  The keyword "assigned" is the
258                             address or set of addresses assigned to the
259                             terminal.  The first rule SHOULD be "deny in
260                             ip !assigned".
261
262                          With the TCP, UDP and SCTP protocols, optional
263                          ports may be specified as:
264
265                             {port|port-port}[,port[,...]]
266
267                          The `-' notation specifies a range of ports
268                          (including boundaries).
269
270                          Fragmented packets which have a non-zero offset
271                          (i.e. not the first fragment) will never match
272                          a rule which has one or more port
273                          specifications.  See the frag option for
274                          details on matching fragmented packets.
275
276             options:
277                frag    Match if the packet is a fragment and this is not
278                        the first fragment of the datagram.  frag may not
279                        be used in conjunction with either tcpflags or
280                        TCP/UDP port specifications.
281
282                ipoptions spec
283                        Match if the IP header contains the comma
284                        separated list of options specified in spec. The
285                        supported IP options are:
286
287                        ssrr (strict source route), lsrr (loose source
288                        route), rr (record packet route) and ts
289                        (timestamp). The absence of a particular option
290                        may be denoted with a `!'.
291
292                tcpoptions spec
293                        Match if the TCP header contains the comma
294                        separated list of options specified in spec. The
295                        supported TCP options are:
296
297                        mss (maximum segment size), window (tcp window
298                        advertisement), sack (selective ack), ts (rfc1323
299                        timestamp) and cc (rfc1644 t/tcp connection
300                        count).  The absence of a particular option may
301                        be denoted with a `!'.
302
303                established
304                        TCP packets only. Match packets that have the RST
305                        or ACK bits set.
306
307                setup   TCP packets only. Match packets that have the SYN
308                        bit set but no ACK bit.
309
310                tcpflags spec
311                        TCP packets only. Match if the TCP header
312                        contains the comma separated list of flags
313                        specified in spec. The supported TCP flags are:
314
315                        fin, syn, rst, psh, ack and urg. The absence of a
316                        particular flag may be denoted with a `!'. A rule
317                        which contains a tcpflags specification can never
318                        match a fragmented packet which has a non-zero
319                        offset.  See the frag option for details on
320                        matching fragmented packets.
321
322                icmptypes types
323                        ICMP packets only.  Match if the ICMP type is in
324                        the list types. The list may be specified as any
325                        combination of ranges or individual types
326                        separated by commas.  The supported ICMP types
327                        are:
328
329                        echo reply (0), destination unreachable (3),
330                        source quench (4), redirect (5), echo request
331                        (8), router advertisement (9), router
332                        solicitation (10), time-to-live exceeded (11), IP
333                        header bad (12), timestamp request (13),
334                        timestamp reply (14), information request (15),
335                        information reply (16), address mask request (17)
336                        and address mask reply (18).
337
338          There is one kind of packet that the access device MUST always
339          discard, that is an IP fragment with a fragment offset of one.
340          This is a valid packet, but it only has one use, to try to
341          circumvent firewalls.
342
343             An access device that is unable to interpret or apply a deny
344             rule MUST terminate the session.  An access device that is
345             unable to interpret or apply a permit rule MAY apply a more
346             restrictive rule.  An access device MAY apply deny rules of
347             its own before the supplied rules, for example to protect
348             the access device owner's infrastructure.
349
350          The rule syntax is a modified subset of ipfw(8) from FreeBSD,
351          and the ipfw.c code may provide a useful base for
352          implementations.
353         -->
354                 <typedefn type-name="QOSFilterRule" type-parent="OctetString"/>
355                 <!--
356          The QosFilterRule format is derived from the OctetString AVP
357          Base Format.  It uses the UTF-8 encoding and has the same
358          requirements as the UTF8String. Packets may be marked or
359          metered based on the following information that is associated
360          with it:
361
362             Direction                          (in or out)
363             Source and destination IP address  (possibly masked)
364             Protocol
365             Source and destination port        (lists or ranges)
366             DSCP values                        (no mask or range)
367
368          Rules for the appropriate direction are evaluated in order,
369          with the first matched rule terminating the evaluation.  Each
370          packet is evaluated once. If no rule matches, the packet is
371          treated as best effort.
372
373          QoSFilterRule filters MUST follow the format:
374
375             action dir proto from src to dst [options]
376
377                          tag    - Mark packet with a specific DSCP [49].
378                                   The DSCP option MUST be included.
379
380                          meter  - Meter traffic. The metering options
381                                   MUST be included.
382
383             dir          "in" is from the terminal, "out" is to the
384                          terminal.
385
386             proto        An IP protocol specified by number.  The "ip"
387                          keyword means any protocol will match.
388
389             src and dst  <address/mask> [ports]
390
391                          The <address/mask> may be specified as:
392                          ipno       An IPv4 or IPv6 number in dotted-
393                                     quad or canonical IPv6 form. Only
394                                     this exact IP number will match the
395                                     rule.
396                          ipno/bits  An IP number as above with a mask
397                                     width of the form 1.2.3.4/24.  In
398                                     this case all IP numbers from
399                                     1.2.3.0 to 1.2.3.255 will match.
400                                     The bit width MUST be valid for the
401                                     IP version and the IP number MUST
402                                     NOT have bits set beyond the mask.
403
404                          The sense of the match can be inverted by
405                          preceding an address with the not modifier,
406                          causing all other addresses to be matched
407                          instead.  This does not affect the selection of
408                          port numbers.
409
410                             The keyword "any" is 0.0.0.0/0 or the IPv6
411                             equivalent.  The keyword "assigned" is the
412                             address or set of addresses assigned to the
413                             terminal.  The first rule SHOULD be "deny in
414                             ip !assigned".
415
416                          With the TCP, UDP and SCTP protocols, optional
417                          ports may be specified as:
418
419                             {port|port-port}[,port[,...]]
420
421                          The `-' notation specifies a range of ports
422                          (including boundaries).
423
424             options:
425
426                DSCP <color>
427                        color values as defined in [49]. Exact matching
428                        of DSCP values is required (no masks or ranges).
429                        the "deny" can replace the color_under or
430                        color_over values in the meter action for rate-
431                        dependent packet drop.
432
433                metering <rate> <color_under> <color_over>
434                        The metering option provides Assured Forwarding,
435                        as defined in [50], and MUST be present if the
436                        action is set to meter. The rate option is the
437                        throughput, in bits per second, which is used by
438                        the access device to mark packets. Traffic above
439                        the rate is marked with the color_over codepoint,
440                        while traffic under the rate is marked with the
441                        color_under codepoint. The color_under and
442                        color_over options contain the drop preferences,
443                        and MUST conform to the recommended codepoint
444                        keywords described in [50] (e.g. AF13).
445
446                        The metering option also supports the strict
447                        limit on traffic required by Expedited
448                        Forwarding, as defined in [51]. The color_over
449                        option may contain the keyword "drop" to prevent
450                        forwarding of traffic that exceeds the rate
451                        parameter.
452
453          The rule syntax is a modified subset of ipfw(8) from FreeBSD,
454          and the ipfw.c code may provide a useful base for
455          implementations.
456
457         -->
458                 <typedefn type-name="MIPRegistrationRequest" type-parent="OctetString"/>
459                 <typedefn type-name="Integer32"/>
460                 <!--
461          32 bit signed value, in network byte order. The AVP Length
462          field MUST be set to 12 (16 if the 'V' bit is enabled).
463         -->
464                 <typedefn type-name="VendorId" type-parent="Unsigned32"/>
465                 <typedefn type-name="AppId" type-parent="Integer32"/>
466                 <typedefn type-name="Integer64"/>
467                 <!--
468          64 bit signed value, in network byte order. The AVP Length
469          field MUST be set to 16 (20 if the 'V' bit is enabled).
470         -->
471                 <typedefn type-name="Unsigned32"/>
472                 <!--
473          32 bit unsigned value, in network byte order. The AVP Length
474          field MUST be set to 12 (16 if the 'V' bit is enabled).
475          Unsigned32 values used to transmit time data contains the four
476          most significant octets returned from NTP [18], in network byte
477          order.
478         -->
479                 <typedefn type-name="Time"/>
480                 <!--
481          The Time format is derived from the Unsigned32 AVP Base Format.
482          This is 32 bit unsigned value containing the four most
483          significant octets returned from NTP [18], in network byte
484          order.
485
486          This represent the number of seconds since 0h on 1 January 1900
487          with respect to the Coordinated Universal Time (UTC).
488
489          On 6h 28m 16s UTC, 7 February 2036 the time value will
490          overflow.  NTP [18] describes a procedure to extend the time to
491          2104.
492         -->
493                 <typedefn type-name="Unsigned64"/>
494                 <!--
495          64 bit unsigned value, in network byte order. The AVP Length
496          field MUST be set to 16 (20 if the 'V' bit is enabled).
497         -->
498                 <typedefn type-name="Enumerated" type-parent="Unsigned32"/>
499                 <typedefn type-name="DiameterURI" type-parent="UTF8String"/>
500
501                 <!-- ************************* End Typedefns ************************ -->
502                 <!-- ******************* RADIUS AVPS ************************ -->
503                 <!-- http://www.iana.org/assignments/aaa-parameters -->
504                 <!-- 1-255    Radius attributes                  [RAD-IANA] -->
505                 <avp name="User-Name" code="1" mandatory="must">
506                         <type type-name="UTF8String"/>
507                 </avp>
508                 <avp name="User-Password" code="2" mandatory="may">
509                         <type type-name="OctetString"/>
510                 </avp>
511                 <avp name="CHAP-Password" code="3" mandatory="may">
512                         <type type-name="OctetString"/>
513                 </avp>
514                 <avp name="NAS-IP-Address" code="4" mandatory="may">
515                         <type type-name="OctetString"/>
516                 </avp>
517                 <avp name="NAS-Port" code="5" mandatory="may">
518                         <type type-name="Integer32"/>
519                 </avp>
520                 <avp name="Service-Type" code="6">
521                         <type type-name="Unsigned32"/>
522                         <enum name="Login" code="1"/>
523                         <enum name="Framed" code="2"/>
524                         <enum name="Callback-Login" code="3"/>
525                         <enum name="Callback-Framed" code="4"/>
526                         <enum name="Outbound" code="5"/>
527                         <enum name="Administrative" code="6"/>
528                         <enum name="NAS-Prompt" code="7"/>
529                         <enum name="Authenticate-Only" code="8"/>
530                         <enum name="Callback-NAS-Prompt" code="9"/>
531                         <enum name="Call Check" code="10"/>
532                         <enum name="Callback Administrative" code="11"/>
533                         <enum name="Voice" code="12"/>
534                         <enum name="Fax" code="13"/>
535                         <enum name="Modem Relay" code="14"/>
536                         <enum name="IAPP-Register" code="15"/>
537                         <enum name="IAPP-AP-Check" code="16"/>
538                         <enum name="Authorize Only" code="17"/>
539                 </avp>
540                 <avp name="Framed-Protocol" code="7">
541                         <type type-name="Unsigned32"/>
542                         <enum name="ARA" code="3"/>
543                         <enum name="Ascend-ARA" code="255"/>
544                         <enum name="COMB" code="260"/>
545                         <enum name="EURAW" code="257"/>
546                         <enum name="EUUI" code="258"/>
547                         <enum name="FR" code="261"/>
548                         <enum name="Gandalf" code="4"/>
549                         <enum name="MPP" code="256"/>
550                         <enum name="PPP" code="1"/>
551                         <enum name="SLIP" code="2"/>
552                         <enum name="X25" code="259"/>
553                         <enum name="Xylogics" code="5"/>
554                 </avp>
555                 <avp name="Framed-IP-Address" code="8" mandatory="must" protected="may" may-encrypt="yes" vendor-bit="mustnot">
556                         <type type-name="IPAddress"/>
557                 </avp>
558                 <avp name="Framed-IP-Netmask" code="9" mandatory="may">
559                         <type type-name="IPAddress"/>
560                 </avp>
561                 <avp name="Framed-Routing" code="10">
562                         <type type-name="Unsigned32"/>
563                         <enum name="Broadcast" code="1"/>
564                         <enum name="Broadcast-Listen" code="3"/>
565                         <enum name="Listen" code="2"/>
566                         <enum name="None" code="0"/>
567                 </avp>
568                 <avp name="Filter-Id" code="11" mandatory="may">
569                         <type type-name="OctetString"/>
570                 </avp>
571                 <avp name="Framed-MTU" code="12" mandatory="may">
572                         <type type-name="Integer32"/>
573                 </avp>
574                 <avp name="Framed-Compression" code="13">
575                         <type type-name="Unsigned32"/>
576                         <enum name="IPX-Header-Compression" code="2"/>
577                         <enum name="None" code="0"/>
578                         <enum name="Van-Jacobson-TCP-IP" code="1"/>
579                 </avp>
580                 <avp name="Login-IP-Host" code="14" mandatory="may">
581                         <type type-name="IPAddress"/>
582                 </avp>
583                 <avp name="Login-Service" code="15">
584                         <type type-name="Unsigned32"/>
585                         <enum name="Telnet" code="0"/>
586                         <enum name="Rlogin" code="1"/>
587                         <enum name="TCP-Clear" code="2"/>
588                         <enum name="PortMaster" code="3"/>
589                         <enum name="LAT" code="4"/>
590                         <enum name="X25-PAD" code="5"/>
591                         <enum name="X25-T3POS" code="6"/>
592                         <enum name="TCP Clear Quiet (suppresses any NAS-generated connect string)" code="8"/>
593                 </avp>
594                 <avp name="Login-TCP-Port" code="16" mandatory="may">
595                         <type type-name="Integer32"/>
596                 </avp>
597                 <avp name="Reply-Message" code="18" mandatory="may">
598                         <type type-name="OctetString"/>
599                 </avp>
600                 <avp name="Callback-Number" code="19" mandatory="may">
601                         <type type-name="OctetString"/>
602                 </avp>
603                 <avp name="Callback-Id" code="20" mandatory="may">
604                         <type type-name="OctetString"/>
605                 </avp>
606                 <avp name="Framed-Route" code="22" mandatory="may">
607                         <type type-name="OctetString"/>
608                 </avp>
609                 <avp name="Framed-IPX-Network" code="23" mandatory="may">
610                         <type type-name="Integer32"/>
611                 </avp>
612                 <avp name="State" code="24" mandatory="may">
613                         <type type-name="OctetString"/>
614                 </avp>
615                 <avp name="Class" code="25" mandatory="must">
616                         <type type-name="OctetString"/>
617                 </avp>
618                 <avp name="Vendor-Specific" code="26">
619                         <type type-name="Unsigned32"/>
620                         <!-- Should vendors be enum'ed? -->
621                 </avp>
622                 <avp name="Session-Timeout" code="27" mandatory="must">
623                         <type type-name="Unsigned32"/>
624                 </avp>
625                 <avp name="Idle-Timeout" code="28" mandatory="may">
626                         <type type-name="Integer32"/>
627                 </avp>
628                 <avp name="Termination-Action" code="29">
629                         <type type-name="Unsigned32"/>
630                         <enum name="Default" code="0"/>
631                         <enum name="RADIUS-Request" code="1"/>
632                 </avp>
633                 <avp name="Called-Station-Id" code="30" mandatory="may">
634                         <type type-name="OctetString"/>
635                 </avp>
636                 <avp name="Calling-Station-Id" code="31" mandatory="may">
637                         <type type-name="OctetString"/>
638                 </avp>
639                 <avp name="NAS-Identifier" code="32" mandatory="may">
640                         <type type-name="OctetString"/>
641                 </avp>
642                 <avp name="Proxy-State" code="33" mandatory="must">
643                         <type type-name="OctetString"/>
644                 </avp>
645                 <avp name="Login-LAT-Service" code="34" mandatory="may">
646                         <type type-name="OctetString"/>
647                 </avp>
648                 <avp name="Login-LAT-Node" code="35" mandatory="may">
649                         <type type-name="OctetString"/>
650                 </avp>
651                 <avp name="Login-LAT-Group" code="36" mandatory="may">
652                         <type type-name="OctetString"/>
653                 </avp>
654                 <avp name="Framed-AppleTalk-Link" code="37" mandatory="may">
655                         <type type-name="Integer32"/>
656                 </avp>
657                 <avp name="Framed-AppleTalk-Network" code="38" mandatory="may">
658                         <type type-name="Integer32"/>
659                 </avp>
660                 <avp name="Framed-AppleTalk-Zone" code="39" mandatory="may">
661                         <type type-name="OctetString"/>
662                 </avp>
663                 <avp name="Acct-Status-Type" code="40">
664                         <type type-name="Unsigned32"/>
665                         <enum name="Accounting-Off" code="8"/>
666                         <enum name="Accounting-On" code="7"/>
667                         <enum name="Alive" code="3"/>
668                         <enum name="Cancel" code="6"/>
669                         <enum name="Modem-Start" code="4"/>
670                         <enum name="Modem-Stop" code="5"/>
671                         <enum name="Start" code="1"/>
672                         <enum name="Stop" code="2"/>
673                 </avp>
674                 <avp name="Acct-Delay-Time" code="41" mandatory="may">
675                         <type type-name="Integer32"/>
676                 </avp>
677                 <avp name="Acct-Input-Octets" code="42" mandatory="may">
678                         <type type-name="Integer32"/>
679                 </avp>
680                 <avp name="Acct-Output-Octets" code="43" mandatory="may">
681                         <type type-name="Integer32"/>
682                 </avp>
683                 <avp name="Accounting-Session-Id" code="44" mandatory="must" protected="may" may-encrypt="yes" vendor-bit="mustnot">
684                         <type type-name="Unsigned32"/>
685                 </avp>
686                 <avp name="Acct-Authentic" code="45">
687                         <type type-name="Unsigned32"/>
688                         <enum name="None" code="0"/>
689                         <enum name="RADIUS" code="1"/>
690                         <enum name="Local" code="2"/>
691                         <enum name="Remote" code="3"/>
692                         <enum name="Diameter" code="4"/>
693                 </avp>
694                 <avp name="Acct-Session-Time" code="46" mandatory="may">
695                         <type type-name="Integer32"/>
696                 </avp>
697                 <avp name="Acct-Input-Packets" code="47" mandatory="may">
698                         <type type-name="Integer32"/>
699                 </avp>
700                 <avp name="Acct-Output-Packets" code="48" mandatory="may">
701                         <type type-name="Integer32"/>
702                 </avp>
703                 <avp name="Acct-Terminate-Cause" code="49">
704                         <type type-name="Unsigned32"/>
705                         <enum name="User-Request" code="1"/>
706                         <enum name="Lost-Carrier" code="2"/>
707                         <enum name="Lost-Service" code="3"/>
708                         <enum name="Idle-Timeout" code="4"/>
709                         <enum name="Session-Timeout" code="5"/>
710                         <enum name="Admin-Reset" code="6"/>
711                         <enum name="Admin-Reboot" code="7"/>
712                         <enum name="Port-Error" code="8"/>
713                         <enum name="NAS-Error" code="9"/>
714                         <enum name="NAS-Request" code="10"/>
715                         <enum name="NAS-Reboot" code="11"/>
716                         <enum name="Port-Unneeded" code="12"/>
717                         <enum name="Port-Preempted" code="13"/>
718                         <enum name="Port-Suspended" code="14"/>
719                         <enum name="Service-Unavailable" code="15"/>
720                         <enum name="Callback" code="16"/>
721                         <enum name="User-Error" code="17"/>
722                         <enum name="Host-Request" code="18"/>
723                         <enum name="Supplicant Restart" code="19"/>
724                         <enum name="Reauthentication Failure" code="20"/>
725                         <enum name="Port Reinitialized" code="21"/>
726                         <enum name="Port Administratively Disabled" code="22"/>
727                 </avp>
728                 <avp name="Accounting-Multi-Session-Id" code="50" mandatory="must" protected="may" may-encrypt="yes" vendor-bit="mustnot">
729                         <type type-name="OctetString"/>
730                 </avp>
731                 <avp name="Acct-Link-Count" code="51" mandatory="may">
732                         <type type-name="Integer32"/>
733                 </avp>
734                 <avp name="Acct-Input-Gigawords" code="52" mandatory="may">
735                         <type type-name="Integer32"/>
736                 </avp>
737                 <avp name="Acct-Output-Gigawords" code="53" mandatory="may">
738                         <type type-name="Integer32"/>
739                 </avp>
740                 <avp name="Event-Timestamp" code="55" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="mustnot">
741                         <type type-name="Time"/>
742                 </avp>
743 <!--  56-59     (unassigned) -->
744                 <avp name="CHAP-Challenge" code="60" mandatory="may">
745                         <type type-name="OctetString"/>
746                 </avp>
747                 <avp name="NAS-Port-Type" code="61" mandatory="must" may-encrypt="yes">
748                         <type type-name="Enumerated"/>
749                         <enum name="Async" code="0"/>
750                         <enum name="HDLC-Clear-Channel" code="7"/>
751                         <enum name="ISDN-Async-v110" code="4"/>
752                         <enum name="ISDN-Async-v120" code="3"/>
753                         <enum name="ISDN-Sync" code="2"/>
754                         <enum name="PIAFS" code="6"/>
755                         <enum name="Sync" code="1"/>
756                         <enum name="Virtual" code="5"/>
757                         <enum name="X25" code="8"/>
758                         <enum name="X75" code="9"/>
759                         <enum name="G.3 Fax" code="10"/>
760                         <enum name="SDSL - Symmetric DSL" code="11"/>
761                         <enum name="ADSL-CAP - Asymmetric DSL, Carrierless Amplitude Phase Modulation" code="12"/>
762                         <enum name="ADSL-DMT - Asymmetric DSL, Discrete Multi-Tone" code="13"/>
763                         <enum name="IDSL - ISDN Digital Subscriber Line" code="14"/>
764                         <enum name="Ethernet" code="15"/>
765                         <enum name="xDSL - Digital Subscriber Line of unknown type" code="16"/>
766                         <enum name="Cable" code="17"/>
767                         <enum name="Wireless - Other" code="18"/>
768                         <enum name="Wireless - IEEE 802.11" code="19"/>
769                         <enum name="Token-Ring" code="20"/>
770                         <enum name="FDDI" code="21"/>
771                         <enum name="Wireless - CDMA2000" code="22"/>
772                         <enum name="Wireless - UMTS" code="23"/>
773                         <enum name="Wireless - 1X-EV" code="24"/>
774                         <enum name="IAPP" code="25"/>
775                         <enum name="FTTP - Fiber to the Premises" code="26"/>
776                 </avp>
777                 <avp name="Port-Limit" code="62" mandatory="may">
778                         <type type-name="Integer32"/>
779                 </avp>
780                 <avp name="Login-LAT-Port" code="63" mandatory="may">
781                         <type type-name="OctetString"/>
782                 </avp>
783                 <avp name="Tunnel-Type" code="64">
784                         <type type-name="Unsigned32"/>
785                         <enum name="PPTP" code="1"/>
786                         <enum name="L2F" code="2"/>
787                         <enum name="L2TP" code="3"/>
788                         <enum name="ATMP" code="4"/>
789                         <enum name="VTP" code="5"/>
790                         <enum name="AH" code="6"/>
791                         <enum name="IP-IP-Encap" code="7"/>
792                         <enum name="MIN-IP-IP" code="8"/>
793                         <enum name="ESP" code="9"/>
794                         <enum name="GRE" code="10"/>
795                         <enum name="DVS" code="11"/>
796                         <enum name="IP-IP" code="12"/>
797                         <enum name="VLAN" code="13"/>
798                 </avp>
799                 <avp name="Tunnel-Medium-Type" code="65">
800                         <type type-name="Unsigned32"/>
801                         <enum name="IPv4" code="1"/>
802                         <enum name="IPv6" code="2"/>
803                         <enum name="NSAP" code="3"/>
804                         <enum name="HDLC" code="4"/>
805                         <enum name="BBN" code="5"/>
806                         <enum name="IEEE-802" code="6"/>
807                         <enum name="E-163" code="7"/>
808                         <enum name="E-164" code="8"/>
809                         <enum name="F-69" code="9"/>
810                         <enum name="X-121" code="10"/>
811                         <enum name="IPX" code="11"/>
812                         <enum name="Appletalk-802" code="12"/>
813                         <enum name="Decnet4" code="13"/>
814                         <enum name="Vines" code="14"/>
815                         <enum name="E-164-NSAP" code="15"/>
816                 </avp>
817                 <avp name="Acct-Tunnel-Client-Endpoint" code="66" mandatory="may">
818                         <type type-name="OctetString"/>
819                 </avp>
820                 <avp name="Tunnel-Server-Endpoint" code="67" mandatory="may">
821                         <type type-name="OctetString"/>
822                 </avp>
823                 <avp name="Acct-Tunnel-Connection-ID" code="68" mandatory="may">
824                         <type type-name="OctetString"/>
825                 </avp>
826                 <avp name="Tunnel-Password" code="69" mandatory="may">
827                         <type type-name="OctetString"/>
828                 </avp>
829                 <avp name="ARAP-Password" code="70" mandatory="may">
830                         <type type-name="OctetString"/>
831                 </avp>
832                 <avp name="ARAP-Features" code="71" mandatory="may">
833                         <type type-name="OctetString"/>
834                 </avp>
835                 <avp name="ARAP-Zone-Access" code="72" mandatory="may">
836                         <type type-name="Integer32"/>
837                 </avp>
838                 <avp name="ARAP-Security" code="73" mandatory="may">
839                         <type type-name="Integer32"/>
840                 </avp>
841                 <avp name="ARAP-Security-Data" code="74" mandatory="may">
842                         <type type-name="OctetString"/>
843                 </avp>
844                 <avp name="Password-Retry" code="75" mandatory="may">
845                         <type type-name="Integer32"/>
846                 </avp>
847                 <avp name="Prompt" code="76" mandatory="may">
848                         <type type-name="Integer32"/>
849                 </avp>
850                 <avp name="Connect-Info" code="77" mandatory="may">
851                         <type type-name="OctetString"/>
852                 </avp>
853                 <avp name="Configuration-Token" code="78" mandatory="may">
854                         <type type-name="OctetString"/>
855                 </avp>
856                 <avp name="EAP-Message" code="79" mandatory="may">
857                         <type type-name="OctetString"/>
858                 </avp>
859                 <avp name="Signature" code="80" mandatory="may">
860                         <type type-name="OctetString"/>
861                 </avp>
862                 <avp name="ARAP-Challenge-Response" code="84" mandatory="may">
863                         <type type-name="OctetString"/>
864                 </avp>
865                 <avp name="Acct-Interim-Interval" code="85" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="mustnot">
866                         <type type-name="Integer32"/>
867                 </avp>
868                 <avp name="Framed-Interface-Id" code="96" mandatory="may">
869                         <type type-name="Unsigned64"/>
870                 </avp>
871                 <avp name="Framed-IPv6-Prefix" code="97" mandatory="must" may-encrypt="yes" protected="may">
872                         <type type-name="OctetString"/>
873                 </avp>
874 <!--
875 http://www.iana.org/assignments/radius-types
876    98     Login-IPv6-Host                          [RFC3162]
877    99     Framed-IPv6-Route                        [RFC3162]
878   100     Framed-IPv6-Pool                         [RFC3162]
879 -->
880                 <avp name="Error-Cause" code="101" mandatory="may">
881                         <type type-name="Integer32"/>
882                         <enum name="Diameter Common Messages" code="0"/>
883                         <enum name="Residual Session Context Removed" code="201"/>
884                         <enum name="Invalid EAP Packet (Ignored)" code="202"/>
885                         <enum name="Unsupported Attribute" code="401"/>
886                         <enum name="Missing Attribute" code="402"/>
887                         <enum name="NAS Identification Mismatch" code="403"/>
888                         <enum name="Invalid Request" code="404"/>
889                         <enum name="Unsupported Service" code="405"/>
890                         <enum name="Unsupported Extension" code="406"/>
891                         <enum name="Invalid Attribute Value" code="407"/>              
892                         <enum name="Administratively Prohibited" code="501"/>
893                         <enum name="Request Not Routable (Proxy)" code="502"/>
894                         <enum name="Session Context Not Found" code="503"/>
895                         <enum name="Session Context Not Removable" code="504"/>
896                         <enum name="Other Proxy Processing Error" code="505"/>
897                         <enum name="Resources Unavailable" code="506"/>
898                         <enum name="Request Initiated" code="507"/>
899                         <enum name="Multiple Session Selection Unsupported" code="508"/>
900                 </avp>
901                 <avp name="EAP-Key-Name" code="102" mandatory="may">
902                         <type type-name="UTF8String"/>
903                 </avp>
904                 <avp name="Digest-Response" code="103" mandatory="may">
905                         <type type-name="UTF8String"/>
906                 </avp>
907                 <avp name="Digest-Realm" code="104" mandatory="may">
908                         <type type-name="UTF8String"/>
909                 </avp>
910                 <avp name="Digest-Nonce" code="105" mandatory="may">
911                         <type type-name="UTF8String"/>
912                 </avp>
913                 <avp name="Digest-Response-Auth" code="106" mandatory="may">
914                         <type type-name="UTF8String"/>
915                 </avp>
916                 <avp name="Digest-Nextnonce" code="107" mandatory="may">
917                         <type type-name="UTF8String"/>
918                 </avp>
919                 <avp name="Digest-Method" code="108" mandatory="may">
920                         <type type-name="UTF8String"/>
921                 </avp>
922                 <avp name="Digest-URI" code="109" mandatory="may">
923                         <type type-name="UTF8String"/>
924                 </avp>
925                 <avp name="Digest-Qop" code="110" mandatory="may">
926                         <type type-name="UTF8String"/>
927                 </avp>
928                 <avp name="Digest-Algorithm" code="111" mandatory="may">
929                         <type type-name="UTF8String"/>
930                 </avp>
931                 <avp name="Digest-Entity-Body-Hash" code="112" mandatory="may">
932                         <type type-name="UTF8String"/>
933                 </avp>
934                 <avp name="Digest-Digest-CNonce" code="113" mandatory="may">
935                         <type type-name="UTF8String"/>
936                 </avp>
937                 <avp name="Digest-Nonce-Count" code="114" mandatory="may">
938                         <type type-name="UTF8String"/>
939                 </avp>
940                 <avp name="Digest-Username" code="115" mandatory="may">
941                         <type type-name="UTF8String"/>
942                 </avp>
943                 <avp name="Digest-Opaque" code="116" mandatory="may">
944                         <type type-name="UTF8String"/>
945                 </avp>
946                 <avp name="Digest-Auth-Param" code="117" mandatory="may">
947                         <type type-name="UTF8String"/>
948                 </avp>
949                 <avp name="Digest-AKA-Auts" code="118" mandatory="may">
950                         <type type-name="UTF8String"/>
951                 </avp>
952                 <avp name="Digest-Domain" code="119" mandatory="may">
953                         <type type-name="UTF8String"/>
954                 </avp>
955                 <avp name="Digest-Stale" code="120" mandatory="may">
956                         <type type-name="UTF8String"/>
957                 </avp>
958                 <avp name="Digest-HA1" code="121" mandatory="may">
959                         <type type-name="UTF8String"/>
960                 </avp>
961                 <avp name="SIP-AOR" code="122" mandatory="may">
962                         <type type-name="UTF8String"/>
963                 </avp>
964 <!--
965 123     Delegated-IPv6-Prefix                    [RFC4818]
966 124-191   (unassigned)
967 192-223   Experimental Use                         [RFC3575]
968 224-240   Implementation Specific                  [RFC3575]
969 241-255   Reserved                                 [RFC3575]   
970
971 -->
972                 <!-- ******************* DIAMETER BASE PROTOCOL AVPS ************************ -->
973                 <avp name="Host-IP-Address" code="257" mandatory="must" protected="may" may-encrypt="no" vendor-bit="mustnot">
974                         <type type-name="IPAddress"/>
975                 </avp>
976                 <avp name="Auth-Application-Id" code="258" mandatory="must" protected="mustnot" may-encrypt="no" vendor-bit="mustnot">
977                         <type type-name="AppId"/>
978                         <enum name="Diameter Common Messages" code="0"/>
979                         <enum name="Diameter NASREQ Application" code="1"/>
980                         <enum name="Diameter Mobile IPv4 Application" code="2"/>
981       <enum name="Diameter Base Accounting" code="3"/>
982       <enum name="Diameter Credit Control" code="4"/>
983       <enum name="Diameter EAP" code="5"/>
984       <enum name="Diameter Session Initiation Protocol (SIP) Application" code="6"/>
985       <enum name="3GPP CX/DX" code="16777216"/>
986                         <enum name="3GPP Sh" code="16777217"/>
987                         <enum name="3GPP Re/Rf" code="16777218"/>
988                         <enum name="3GPP Wx" code="16777219"/>
989                         <enum name="GPP Zn" code="16777220"/>
990                         <enum name="3GPP Zh" code="16777221"/>
991                         <enum name="3GPP Gq" code="16777222"/>
992                         <enum name="3GPP Gmb" code="16777223"/>
993                         <enum name="3GPP Gx" code="16777224"/>
994                         <enum name="3GPP Gx over Gy" code="16777225"/>
995                         <enum name="3GPP MM10" code="16777226"/>
996                         <enum name="Ericsson MSI" code="16777227"/>
997                         <enum name="Ericsson Zx" code="16777228"/>
998                         <enum name="3GPP Rx" code="16777229"/>
999                         <enum name="3GPP Pr" code="16777230"/>
1000                         <enum name="ETSI e4" code="16777231"/>
1001                         <enum name="Ericsson Charging-CIP" code="16777232"/>
1002                         <enum name="Ericsson Mm" code="16777233"/>
1003                         <enum name="Vodafone Gx+" code="16777234"/>
1004                         <enum name="ITU-T Rs" code="16777235"/>
1005                         <enum name="3GPP Rx" code="16777236"/>
1006                         <enum name="3GPP2 Ty" code="16777237"/>
1007                         <enum name="3GPP Gx" code="16777238"/>
1008                         <enum name="Juniper Cluster" code="16777239"/>
1009                         <enum name="Juniper Policy-Control-AAA" code="16777240"/>
1010                         <enum name="iptego USPI" code="16777241"/>
1011                         <enum name="Covergence-specific SIP routing" code="16777242"/>   
1012                         <enum name="Policy Processing" code="16777243"/>   
1013                         <enum name="Juniper Policy-Control-JSRC" code="16777244"/>   
1014                         <enum name="ITU-T S-TC1" code="16777245"/>                                              <!-- ITU-T Rec. Q.3221 -->
1015       <enum name="NSN Unified Charging Trigger Function (UCTF)" code="16777246"/>
1016       <enum name="3GPP2 CAN Access Authentication and Authorization" code="16777247"/>
1017       <enum name="3GPP2 WLAN Interworking Access Authentication and Authorization" code="16777248"/>
1018       <enum name="3GPP2 WLAN Interworking Accounting" code="16777249"/>
1019       <enum name="3GPP STaMIP" code="16777250"/>
1020       <enum name="3GPP S6a" code="16777251"/>
1021       <enum name="3GPP S13" code="16777252"/>
1022       <enum name="Relay" code="4294967295"/>
1023
1024                 </avp>          
1025                 <avp name="Acct-Application-Id" code="259" mandatory="must" protected="mustnot" may-encrypt="no" vendor-bit="mustnot">
1026                         <type type-name="AppId"/>
1027                         <enum name="Diameter Common Messages" code="0"/>
1028                         <enum name="Diameter NASREQ Application" code="1"/>
1029                         <enum name="Diameter Mobile IPv4 Application" code="2"/>
1030                         <enum name="Diameter Base Accounting" code="3"/>
1031       <enum name="Diameter Credit Control" code="4"/>
1032       <enum name="Diameter EAP" code="5"/>
1033       <enum name="Diameter Session Initiation Protocol (SIP) Application" code="6"/>
1034       <enum name="3GPP CX/DX" code="16777216"/>
1035                         <enum name="3GPP Sh" code="16777217"/>
1036                         <enum name="3GPP Re/Rf" code="16777218"/>
1037                         <enum name="3GPP Wx" code="16777219"/>
1038                         <enum name="GPP Zn" code="16777220"/>
1039                         <enum name="3GPP Zh" code="16777221"/>
1040                         <enum name="3GPP Gq" code="16777222"/>
1041                         <enum name="3GPP Gmb" code="16777223"/>
1042                         <enum name="3GPP Gx" code="16777224"/>
1043                         <enum name="3GPP Gx over Gy" code="16777225"/>
1044                         <enum name="3GPP MM10" code="16777226"/>
1045                         <enum name="Ericsson MSI" code="16777227"/>
1046                         <enum name="Ericsson Zx" code="16777228"/>
1047                         <enum name="3GPP Rx" code="16777229"/>
1048                         <enum name="3GPP Pr" code="16777230"/>
1049                         <enum name="ETSI e4" code="16777231"/>
1050                         <enum name="Ericsson Charging-CIP" code="16777232"/>
1051                         <enum name="Ericsson Mm" code="16777233"/>
1052                         <enum name="Vodafone Gx+" code="16777234"/>
1053                         <enum name="ITU-T Rs" code="16777235"/>
1054                         <enum name="3GPP Rx" code="16777236"/>
1055                         <enum name="3GPP2 Ty" code="16777237"/>
1056                         <enum name="3GPP Gx" code="16777238"/>
1057                         <enum name="Juniper Cluster" code="16777239"/>
1058                         <enum name="Juniper Policy-Control-AAA" code="16777240"/>
1059                         <enum name="iptego USPI" code="16777241"/>
1060                         <enum name="Covergence-specific SIP routing" code="16777242"/>   
1061                         <enum name="Policy Processing" code="16777243"/>   
1062                         <enum name="Juniper Policy-Control-JSRC" code="16777244"/>   
1063                         <enum name="ITU-T S-TC1" code="16777245"/>                                              <!-- ITU-T Rec. Q.3221 --> 
1064                         <enum name="Relay" code="4294967295"/>
1065       <enum name="NSN Unified Charging Trigger Function (UCTF)" code="16777246"/>
1066       <enum name="3GPP2 CAN Access Authentication and Authorization" code="16777247"/>
1067       <enum name="3GPP2 WLAN Interworking Access Authentication and Authorization" code="16777248"/>
1068       <enum name="3GPP2 WLAN Interworking Accounting" code="16777249"/>
1069       <enum name="3GPP STaMIP" code="16777250"/>
1070       <enum name="3GPP S6a" code="16777251"/>
1071       <enum name="3GPP S13" code="16777252"/>
1072     </avp>
1073                 <avp name="Vendor-Specific-Application-Id" code="260" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="mustnot">
1074                         <grouped>
1075                                 <gavp name="Vendor-Id"/>
1076                                 <gavp name="Auth-Application-Id"/>
1077                                 <gavp name="Acct-Application-Id"/>
1078                         </grouped>
1079                 </avp>
1080                 <avp name="Redirect-Host-Usage" code="261" mandatory="must" may-encrypt="no" protected="may" vendor-bit="mustnot">
1081                         <type type-name="Enumerated"/>
1082                         <enum name="Don't Care" code="0"/>
1083                         <enum name="All Session" code="1"/>
1084                         <enum name="All Realm" code="2"/>
1085                         <enum name="Realm and Application" code="3"/>
1086                         <enum name="All Application" code="4"/>
1087       <enum name="All Host" code="5"/>
1088       <enum name="ALL_USER" code="6"/>
1089     </avp>
1090                 <avp name="Redirect-Max-Cache-Time" code="262" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="mustnot">
1091                         <type type-name="Unsigned32"/>
1092                 </avp>
1093                 <avp name="Session-Id" code="263" mandatory="must" protected="mustnot" vendor-bit="mustnot">
1094                         <type type-name="UTF8String"/>
1095                 </avp>
1096                 <avp name="Origin-Host" code="264" mandatory="must" may-encrypt="no" protected="may" vendor-bit="mustnot">
1097                         <type type-name="DiameterIdentity"/>
1098                 </avp>
1099                 <avp name="Supported-Vendor-Id" code="265" mandatory="must" may-encrypt="no" protected="may" vendor-bit="mustnot">
1100                         <type type-name="VendorId"/>
1101                 </avp>
1102                 <avp name="Vendor-Id" code="266" mandatory="must" may-encrypt="no" protected="may" vendor-bit="mustnot">
1103                         <type type-name="VendorId"/>
1104                 </avp>
1105                 <avp name="Firmware-Revision" code="267" mandatory="mustnot" protected="mustnot" may-encrypt="no" vendor-bit="mustnot">
1106                         <type type-name="Unsigned32"/>
1107                 </avp>
1108                 <avp name="Result-Code" code="268" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="mustnot">
1109                         <type type-name="Unsigned32"/>
1110                         <enum name="DIAMETER_MULTI_ROUND_AUTH" code="1001"/>
1111       
1112                         <enum name="DIAMETER_SUCCESS" code="2001"/>
1113                         <enum name="DIAMETER_LIMITED_SUCCESS" code="2002"/>
1114                         <enum name="DIAMETER_FIRST_REGISTRATION" code="2003"/>
1115                         <enum name="DIAMETER_SUBSEQUENT_REGISTRATION" code="2004"/>
1116                         <enum name="DIAMETER_UNREGISTERED_SERVICE" code="2005"/>
1117                         <enum name="DIAMETER_SUCCESS_SERVER_NAME_NOT_STORED" code="2006"/>
1118                         <enum name="DIAMETER_SERVER_SELECTION" code="2007"/>
1119                         <enum name="DIAMETER_SUCCESS_AUTH_SENT_SERVER_NOT_STORED" code="2008"/>
1120
1121                         <enum name="DIAMETER_COMMAND_UNSUPPORTED" code="3001"/>
1122                         <enum name="DIAMETER_UNABLE_TO_DELIVER" code="3002"/>
1123                         <enum name="DIAMETER_REALM_NOT_SERVED" code="3003"/>
1124                         <enum name="DIAMETER_TOO_BUSY" code="3004"/>
1125                         <enum name="DIAMETER_LOOP_DETECTED" code="3005"/>
1126                         <enum name="DIAMETER_REDIRECT_INDICATION" code="3006"/>
1127                         <enum name="DIAMETER_APPLICATION_UNSUPPORTED" code="3007"/>
1128                         <enum name="DIAMETER_INVALID_HDR_BITS" code="3008"/>
1129                         <enum name="DIAMETER_INVALID_AVP_BITS" code="3009"/>
1130                         <enum name="DIAMETER_UNKNOWN_PEER" code="3010"/>
1131
1132                         <enum name="DIAMETER_AUTHENTICATION_REJECTED" code="4001"/>
1133                         <enum name="DIAMETER_OUT_OF_SPACE" code="4002"/>
1134                         <enum name="DIAMETER_ELECTION_LOST" code="4003"/>
1135                         <enum name="DIAMETER_ERROR_MIP_REPLY_FAILURE" code="4005"/>
1136                         <enum name="DIAMETER_ERROR_HA_NOT_AVAILABLE" code="4006"/>
1137                         <enum name="DIAMETER_ERROR_BAD_KEY" code="4007"/>
1138                         <enum name="DIAMETER_ERROR_MIP_FILTER_NOT_SUPPORTED" code="4008"/>
1139                         <enum name="DIAMETER_END_USER_SERVICE_DENIED" code="4010"/>
1140                         <enum name="DIAMETER_CREDIT_CONTROL_NOT_APPLICABLE" code="4011"/>
1141                         <enum name="DIAMETER_CREDIT_LIMIT_REACHED" code="4012"/>
1142                         <enum name="DIAMETER_USER_NAME_REQUIRED" code="4013"/>
1143
1144                         <enum name="DIAMETER_AVP_UNSUPPORTED" code="5001"/>
1145                         <enum name="DIAMETER_UNKNOWN_SESSION_ID" code="5002"/>
1146                         <enum name="DIAMETER_AUTHORIZATION_REJECTED" code="5003"/>
1147                         <enum name="DIAMETER_INVALID_AVP_VALUE" code="5004"/>
1148                         <enum name="DIAMETER_MISSING_AVP" code="5005"/>
1149                         <enum name="DIAMETER_RESOURCES_EXCEEDED" code="5006"/>
1150                         <enum name="DIAMETER_CONTRADICTING_AVPS" code="5007"/>
1151                         <enum name="DIAMETER_AVP_NOT_ALLOWED" code="5008"/>
1152                         <enum name="DIAMETER_AVP_OCCURS_TOO_MANY_TIMES" code="5009"/>
1153                         <enum name="DIAMETER_NO_COMMON_APPLICATION" code="5010"/>
1154                         <enum name="DIAMETER_UNSUPPORTED_VERSION" code="5011"/>
1155                         <enum name="DIAMETER_UNABLE_TO_COMPLY" code="5012"/>
1156                         <enum name="DIAMETER_INVALID_BIT_IN_HEADER" code="5013"/>
1157                         <enum name="DIAMETER_INVALID_AVP_LENGTH" code="5014"/>
1158                         <enum name="DIAMETER_INVALID_MESSAGE_LENGTH" code="5015"/>
1159                         <enum name="DIAMETER_INVALID_AVP_BIT_COMBO" code="5016"/>
1160                         <enum name="DIAMETER_NO_COMMON_SECURITY" code="5017"/>
1161                         <enum name="DIAMETER_RADIUS_AVP_UNTRANSLATABLE" code="5018"/>
1162                         <enum name="DIAMETER_ERROR_NO_FOREIGN_HA_SERVICE" code="5024"/>
1163                         <enum name="DIAMETER_ERROR_END_TO_END_MIP_KEY_ENCRYPTION" code="5025"/>
1164                         <enum name="DIAMETER_USER_UNKNOWN" code="5030"/>
1165                         <enum name="DIAMETER_RATING_FAILED" code="5031"/>
1166                         <enum name="DIAMETER_ERROR_USER_UNKNOWN" code="5032"/>
1167                         <enum name="DIAMETER_ERROR_IDENTITIES_DONT_MATCH" code="5033"/>
1168                         <enum name="DIAMETER_ERROR_IDENTITY_NOT_REGISTERED" code="5034"/>
1169                         <enum name="DIAMETER_ERROR_ROAMING_NOT_ALLOWED" code="5035"/>
1170                         <enum name="DIAMETER_ERROR_IDENTITY_ALREADY_REGISTERED" code="5036"/>
1171                         <enum name="DIAMETER_ERROR_AUTH_SCHEME_NOT_SUPPORTED" code="5037"/>
1172                         <enum name="DIAMETER_ERROR_IN_ASSIGNMENT_TYPE" code="5038"/>
1173                         <enum name="DIAMETER_ERROR_TOO_MUCH_DATA" code="5039"/>
1174                         <enum name="DIAMETER_ERROR_NOT SUPPORTED_USER_DATA" code="5040"/>
1175                 </avp>
1176                 <avp name="Product-Name" code="269" mandatory="mustnot" may-encrypt="no" protected="mustnot" vendor-bit="mustnot">
1177                         <type type-name="UTF8String"/>
1178                 </avp>
1179                 <avp name="Session-Binding" code="270" mandatory="must" protected="mustnot" vendor-bit="mustnot">
1180                         <type type-name="Unsigned32"/>
1181                         <enum name="RE_AUTH" code="1"/>
1182                         <enum name="STR" code="2"/>
1183                         <enum name="Unassigned" code="3"/>
1184                         <enum name="ACCOUNTING" code="4"/>
1185                 </avp>
1186                 <avp name="Session-Server-Failover" code="271" mandatory="must" protected="mustnot" vendor-bit="mustnot">
1187                         <type type-name="Unsigned32"/>
1188                         <enum name="REFUSE_SERVICE" code="0"/>
1189                         <enum name="TRY_AGAIN" code="1"/>
1190                         <enum name="ALLOW_SERVICE" code="2"/>
1191                         <enum name="TRY_AGAIN_ALLOW_SERVICE" code="3"/>
1192                 </avp>
1193                 <avp name="Multi-Round-Time-Out" code="272" mandatory="must" may-encrypt="yes" vendor-bit="mustnot">
1194                         <type type-name="Unsigned32"/>
1195                 </avp>
1196                 <avp name="Disconnect-Cause" code="273" mandatory="must" protected="mustnot" may-encrypt="no" vendor-bit="mustnot">
1197                         <type type-name="Enumerated"/>
1198                         <enum name="REBOOTING" code="0"/>
1199                         <enum name="BUSY" code="1"/>
1200                         <enum name="DO_NOT_WANT_TO_TALK_TO_YOU" code="2"/>
1201                 </avp>
1202                 <avp name="Auth-Request-Type" code="274" mandatory="must" protected="mustnot" may-encrypt="no" vendor-bit="mustnot">
1203                         <type type-name="Unsigned32"/>
1204                         <enum name="Authenticate Only" code="1"/>
1205                         <enum name="Authorize Only" code="2"/>
1206                         <enum name="Authorize Authenticate" code="3"/>
1207                 </avp>
1208                 <avp name="Alternate-Peer" code="275" mandatory="must" protected="mustnot" may-encrypt="no" vendor-bit="mustnot">
1209                         <type type-name="DiameterIdentity"/>
1210                 </avp>
1211                 <avp name="Auth-Grace-Period" code="276" mandatory="must" may-encrypt="no" vendor-bit="mustnot">
1212                         <type type-name="Unsigned32"/>
1213                 </avp>
1214                 <avp name="Auth-Session-State" code="277" mandatory="must" may-encrypt="no" vendor-bit="mustnot">
1215                         <type type-name="Unsigned32"/>
1216                         <enum name="STATE_MAINTAINED" code="0"/>
1217                         <enum name="NO_STATE_MAINTAINED" code="1"/>
1218                 </avp>
1219                 <avp name="Origin-State-Id" code="278" mandatory="must" protected="mustnot" vendor-bit="mustnot">
1220                         <type type-name="Unsigned32"/>
1221                 </avp>
1222                 <avp name="Failed-AVP" code="279" mandatory="must" may-encrypt="no" vendor-bit="mustnot">
1223                         <grouped>
1224                         
1225                         </grouped>
1226                         
1227                 </avp>
1228                 <avp name="Proxy-Host" code="280" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="mustnot">
1229                         <type type-name="DiameterIdentity"/>
1230                 </avp>
1231                 <avp name="Error-Message" code="281" mandatory="mustnot" protected="may" may-encrypt="no" vendor-bit="mustnot">
1232                         <type type-name="UTF8String"/>
1233                 </avp>
1234                 <avp name="Route-Record" code="282" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="mustnot">
1235                         <type type-name="DiameterIdentity"/>
1236                 </avp>
1237                 <avp name="Destination-Realm" code="283" mandatory="must" protected="mustnot" may-encrypt="no" vendor-bit="mustnot">
1238                         <type type-name="DiameterIdentity"/>
1239                 </avp>
1240                 <avp name="Proxy-Info" code="284" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="mustnot">
1241                         <grouped>
1242                                 <gavp name="Proxy-Host"/>
1243                                 <gavp name="Proxy-State"/>
1244                         </grouped>
1245                 </avp>
1246                 <avp name="Re-Auth-Request-Type" code="285" mandatory="must" may-encrypt="no" vendor-bit="mustnot">
1247                         <type type-name="Unsigned32"/>
1248                         <enum name="AUTHORIZE_ONLY" code="0"/>
1249                         <enum name="AUTHORIZE_AUTHENTICATE" code="1"/>
1250                 </avp>
1251                 <avp name="Accounting-Sub-Session-Id" code="287" mandatory="must" protected="may" may-encrypt="yes" vendor-bit="mustnot">
1252                         <type type-name="Unsigned64"/>
1253                 </avp>
1254 <!-- 288-290    Unallocated http://www.iana.org/assignments/aaa-parameters (last updated 20 September 2005)?? -->
1255                 <avp name="Authorization-Lifetime" code="291" mandatory="must" may-encrypt="no" vendor-bit="mustnot">
1256                         <type type-name="Integer32"/>
1257                 </avp>
1258                 <avp name="Redirect-Host" code="292" mandatory="must" may-encrypt="no" protected="may" vendor-bit="mustnot">
1259                         <type type-name="DiameterURI"/>
1260                 </avp>
1261                 <avp name="Destination-Host" code="293" mandatory="must" protected="mustnot" may-encrypt="no" vendor-bit="mustnot">
1262                         <type type-name="DiameterIdentity"/>
1263                 </avp>
1264                 <avp name="Error-Reporting-Host" code="294" mandatory="mustnot" protected="may" may-encrypt="no" vendor-bit="mustnot">
1265                         <type type-name="DiameterIdentity"/>
1266                 </avp>
1267                 <avp name="Termination-Cause" code="295" mandatory="must" may-encrypt="no" protected="may" vendor-bit="mustnot">
1268                         <type type-name="Enumerated"/>
1269                         <enum name="DIAMETER_LOGOUT" code="1"/>
1270                         <enum name="DIAMETER_SERVICE_NOT_PROVIDED" code="2"/>
1271                         <enum name="DIAMETER_BAD_ANSWER" code="3"/>
1272                         <enum name="DIAMETER_ADMINISTRATIVE" code="4"/>
1273                         <enum name="DIAMETER_LINK_BROKEN" code="5"/>
1274                         <enum name="DIAMETER_AUTH_EXPIRED" code="6"/>
1275                         <enum name="DIAMETER_USER_MOVED" code="7"/>
1276                         <enum name="DIAMETER_SESSION_TIMEOUT" code="8"/>
1277                 </avp>
1278                 <avp name="Origin-Realm" code="296" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="mustnot">
1279                         <type type-name="DiameterIdentity"/>
1280                 </avp>
1281                 <avp name="Experimental-Result" code="297" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="mustnot">
1282                         <grouped>
1283                                 <gavp name="Vendor-Id"/>
1284                                 <gavp name="Experimental-Result-Code"/>
1285                         </grouped>
1286                 </avp>
1287                 <!-- 3GPP TS 29.230 version 6.5.0 Release 6, ETSI TS 129 230 V6.5.0 (2005-09) -->
1288                 <avp name="Experimental-Result-Code" code="298" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="mustnot">
1289                         <type type-name="Unsigned32"/>
1290                         <enum name="DIAMETER_FIRST_REGISTRATION" code="2001"/>
1291                         <enum name="DIAMETER_SUBSEQUENT_REGISTRATION" code="2002"/>
1292                         <enum name="DIAMETER_UNREGISTERED_SERVICE" code="2003"/>
1293                         <enum name="DIAMETER_SUCCESS_SERVER_NAME_NOT_STORED" code="2004"/>
1294                         <enum name="SDIAMETER_SERVER_SELECTION" code="2005"/>
1295       
1296                         <enum name="DIAMETER_USER_DATA_NOT_AVAILABLE" code="4100"/>
1297                         <enum name="DIAMETER_PRIOR_UPDATE_IN_PROGRESS" code="4101"/>
1298       <enum name="DIAMETER_ERROR_OUT_OF_RESOURCES" code="4121"/>
1299       <enum name="DIAMETER_PCC_BEARER_EVENT" code="4141"/>
1300
1301       <enum name="DIAMETER_ERROR_USER_UNKNOWN" code="5001"/>
1302                         <enum name="DIAMETER_ERROR_IDENTITIES_DONT_MATCH" code="5002"/>
1303                         <enum name="DIAMETER_ERROR_IDENTITY_NOT_REGISTERED" code="5003"/>
1304                         <enum name="DIAMETER_ERROR_ROAMING_NOT_ALLOWED" code="5004"/>
1305                         <enum name="DIAMETER_ERROR_IDENTITY_ALREADY_REGISTERED" code="5005"/>
1306                         <enum name="DIAMETER_ERROR_AUTH_SCHEME_NOT_SUPPORTED" code="5006"/>
1307                         <enum name="DIAMETER_ERROR_IN_ASSIGNMENT_TYPE" code="5007"/>
1308                         <enum name="DIAMETER_ERROR_TOO_MUCH_DATA" code="5008"/>
1309                         <enum name="DIAMETER_ERROR_NOT_SUPPORTED_USER_DATA" code="5009"/>
1310                         <enum name="DIAMETER_MISSING_USER_ID" code="5010"/>
1311                         <enum name="DIAMETER_ERROR_FEATURE_UNSUPPORTED" code="5011"/>
1312                         <enum name="DIAMETER_ERROR_USER_NO_WLAN_SUBSCRIPTION" code="5041"/>
1313                         <enum name="DIAMETER_ERROR_W-APN_UNUSED_BY_USER" code="5042"/>
1314                         <enum name="DIAMETER_ERROR_W-DIAMETER_ERROR_NO_ACCESS_INDEPENDENT_SUBSCRIPTION" code="5043"/>
1315                         <enum name="DIAMETER_ERROR_USER_NO_W-APN_SUBSCRIPTION" code="5044"/>
1316                         <enum name="DIAMETER_ERROR_USER_DATA_NOT_RECOGNIZED" code="5100"/>
1317                         <enum name="DIAMETER_ERROR_OPERATION_NOT_ALLOWED" code="5101"/>
1318                         <enum name="DIAMETER_ERROR_USER_DATA_CANNOT_BE_READ" code="5102"/>
1319                         <enum name="DIAMETER_ERROR_USER_DATA_CANNOT_BE_MODIFIED" code="5103"/>
1320                         <enum name="DIAMETER_ERROR_USER_DATA_CANNOT_BE_NOTIFIED" code="5104"/>
1321                         <enum name="DIAMETER_ERROR_TRANSPARENT_DATA_OUT_OF_SYNC" code="5105"/>
1322                         <enum name="DIAMETER_ERROR_START_INDICATION" code="5120"/>
1323                         <enum name="DIAMETER_ERROR_STOP_INDICATION" code="5121"/>
1324                         <enum name="DIAMETER_ERROR_UNKNOWN_MBMS_BEARER_SERVICE" code="5122"/>
1325                         <enum name="DIAMETER_ERROR_SERVICE_AREA" code="5123"/>
1326                         <enum name="DIAMETER_ERROR_INITIAL_PARAMETERS" code="5140"/>
1327                         <enum name="DIAMETER_ERROR_TRIGGER_EVENT" code="5141"/>
1328       <enum name="DIAMETER_BEARER_EVENT" code="5142"/>
1329       <enum name="DIAMETER_ERROR_BEARER_NOT_AUTHORIZED" code="5143"/>
1330       <enum name="DIAMETER_ERROR_TRAFFIC_MAPPING_INFO_REJECTED" code="5144"/>
1331       <enum name="DIAMETER_QOS_RULE_EVENT" code="5145"/>
1332       <enum name="DIAMETER_ERROR_TRAFFIC_MAPPING_INFO_REJECTED" code="5146"/>
1333       <enum name="DIAMETER_ERROR_CONFLICTING_REQUEST" code="5147"/>
1334     </avp>
1335                 <!-- RFC3588 AVP -->   
1336                 <avp name="Inband-Security-Id" code="299" mandatory="must" may-encrypt="no" protected="may" vendor-bit="mustnot">   
1337                         <type type-name="Unsigned32"/>   
1338                                 <enum name="NO_INBAND_SECURITY" code="0"/>   
1339                                 <enum name="TLS" code="1"/>   
1340                 </avp> 
1341
1342                 <avp name="E2E-Sequence" code="300" mandatory="must">
1343                         <grouped>
1344                                 <gavp name="foo"/>
1345                         </grouped>
1346                 </avp>
1347                 <!-- 301-317    Unallocated -->
1348 <!-- AVP:s 318 - 348 Belongs to Diameter Mobile IPv4 Application and is defined in mobileipv4.xml --> 
1349 <!-- AVP:s 349-362        Unassigned -->
1350 <!-- AVP:s 363 - 408 Belongs to Diameter Network Access Server Application and is defined in nasreq.xml -->
1351 <!-- AVP:s 411 - 461 Belongs to Carge Control and is defined in chargecontrol.xml --> 
1352 <!-- 462 EAP-Payload [RFC4072] 
1353      463 EAP-Reissued-Payload [RFC4072] 
1354      464 EAP-Master-Session-Key [RFC4072] 
1355      465 Accounting-EAP-Auth-Method [RFC4072] 
1356 -->
1357 <!-- 466-479    Unallocated -->
1358                 <avp name="Accounting-Record-Type" code="480" mandatory="must" may-encrypt="yes" vendor-bit="mustnot">
1359                         <type type-name="Enumerated"/>
1360                         <enum name="Event Record" code="1"/>
1361                         <enum name="Start Record" code="2"/>
1362                         <enum name="Interim Record" code="3"/>
1363                         <enum name="Stop Record" code="4"/>
1364                 </avp>
1365 <!-- 481-482    Unallocated http://www.iana.org/assignments/aaa-parameters/aaa-parameters.xhtml -->
1366
1367                 <avp name="Accounting-Realtime-Required" code="483" mandatory="must" may-encrypt="yes" vendor-bit="mustnot">
1368                         <type type-name="Unsigned32"/>
1369                         <enum name="Reserved" code="0"/>
1370                         <enum name="DELIVER_AND_GRANT" code="1"/>
1371                         <enum name="GRANT_AND_STORE" code="2"/>
1372                         <enum name="GRANT_AND_LOSE" code="3"/>
1373                 </avp>
1374 <!-- 484    unallocated  -->
1375                 <avp name="Accounting-Record-Number" code="485" mandatory="must" may-encrypt="yes" vendor-bit="mustnot">
1376                         <type type-name="Unsigned32"/>
1377                 </avp>
1378 <!--
1379 486 MIP6-Agent-Info [RFC5447]    
1380 487 MIP-Careof-Address [RFC-ietf-dime-mip6-split-17] 
1381 488 MIP-Authenticator [RFC-ietf-dime-mip6-split-17] 
1382 489 MIP-MAC-Mobility-Data [RFC-ietf-dime-mip6-split-17] 
1383 490 MIP-Timestamp [RFC-ietf-dime-mip6-split-17] 
1384 491 MIP-MN-HA-SPI [RFC-ietf-dime-mip6-split-17] 
1385 492 MIP-MN-HA-MSA [RFC-ietf-dime-mip6-split-17] 
1386 493 Service-Selection [RFC-ietf-dime-mip6-split-17] 
1387 494 MIP6-Auth-Mode [RFC-ietf-dime-mip6-split-17] 
1388 495 TMOD-1 [RFC5624] 
1389 496 Token-Rate [RFC5624] 
1390 497 Bucket-Depth [RFC5624] 
1391 498 Peak-Traffic-Rate [RFC5624] 
1392 499 Minimum-Policed-Unit [RFC5624] 
1393 500 Maximum-Packet-Size [RFC5624] 
1394 501 TMOD-2 [RFC5624] 
1395 502 Bandwidth [RFC5624] 
1396 503 PHB-Class [RFC5624] 
1397 504-0xffffff Unassigned 
1398
1399 -->
1400     <avp name="Example-AVP" code="999999" mandatory="mustnot" vendor-bit="may">
1401                         <grouped>
1402                                 <gavp name="Origin-Host"/>
1403                                 <gavp name="Host-IP-Address"/>
1404                         </grouped>
1405                 </avp>
1406                 <!-- ************************ END DIAMETER BASE PROTOCOL AVPS ******************* -->
1407 <!--
1408 3GPP TS 29.230 version 8.7.0 Release 8  Table 7.1: 3GPP specific AVP codes
1409 100 3GPP-WLAN-APN-Id OctetString 29.234 [6]
1410 Note: The AVP codes from 1 to 255 are reserved for backwards compatibility with 3GPP RADIUS Vendor
1411 Specific Attributes (See TS 29.061 [13])
1412 Note: The AVP codes from 256 to 299 are reserved for future use.
1413 300 Authentication-Method Enumerated
1414 301 Authentication-Information-SIM OctetString
1415 302 Authorization -Information-SIM OctetString
1416 303 WLAN-User-Data Grouped
1417 304 Charging-Data Grouped
1418 305 WLAN-Access Enumerated
1419 306 WLAN- 3GPP-IP-Access Enumerated
1420 307 APN-Authorized Grouped
1421 308 APN-Id
1422 309 APN-Barring-Type Enumerated
1423 310 WLAN-Direct-IP-Access Enumerated
1424 311 Session-Request-Type Enumerated
1425 312 Routing-Policy IPFilterRule
1426 313 Max-Requested-Bandwidth OctetString
1427 314 Charging-Characteristics Integer
1428 315 Charging-Nodes Grouped
1429 316 Primary-OCS-Charging-Function-Name DiameterIdentity
1430 317 Secondary-OCS-Charging-Function-Name DiameterIdentity
1431 318 3GPP-AAA-Server-Name DiameterIdentity 29.234 [6]
1432 319 Maximum-Number-Accesses Unsigned32
1433 Note: The AVP codes from 320 to 399 are reserved for TS 29.234
1434 -->
1435                 <avp name="GBA-UserSecSettings" code="400" vendor-bit="must" may-encrypt="no" vendor-id="TGPP">
1436                         <type type-name="OctetString"/>
1437                 </avp>
1438
1439                 <avp name="Transaction-Identifier" code="401" vendor-bit="must" may-encrypt="no" vendor-id="TGPP">
1440                         <type type-name="OctetString"/>
1441                 </avp>
1442                 <avp name="NAF-Hostname" code="402" vendor-bit="must" may-encrypt="no" vendor-id="TGPP">
1443                         <type type-name="OctetString"/>
1444                 </avp>
1445                 <avp name="GAA-Service-Identifier" code="403" vendor-bit="must" may-encrypt="no" vendor-id="TGPP">
1446                         <type type-name="OctetString"/>
1447                 </avp>
1448                 <avp name="Key-ExpiryTime" code="404" vendor-bit="must" may-encrypt="no" vendor-id="TGPP">
1449                         <type type-name="Time"/>
1450                 </avp>
1451                 <avp name="ME-Key-Material" code="405" vendor-bit="must" may-encrypt="no" vendor-id="TGPP">
1452                         <type type-name="OctetString"/>
1453                 </avp>
1454                 <avp name="UICC-Key-Material" code="406" vendor-bit="must" may-encrypt="no" vendor-id="TGPP">
1455                         <type type-name="OctetString"/>
1456                 </avp>
1457                 <avp name="GBA_U-Awareness-Indicator" code="407" vendor-bit="must" may-encrypt="no" vendor-id="TGPP">
1458                         <type type-name="Enumerated"/>
1459                         <enum name="NO" code="0"/>
1460                         <enum name="YES" code="1"/>
1461                 </avp>
1462                 <avp name="BootstrapInfoCreationTime" code="408" vendor-bit="must" may-encrypt="no" vendor-id="TGPP">
1463                         <type type-name="Time"/>
1464                 </avp>
1465                 <avp name="GUSS-Timestamp" code="409" vendor-bit="must" may-encrypt="no" vendor-id="TGPP">
1466                         <type type-name="Time"/>
1467                 </avp>
1468                 <avp name="GBA-Type" code="410" vendor-bit="must" may-encrypt="no" vendor-id="TGPP">
1469                         <type type-name="Enumerated"/>
1470                         <enum name="3G GBA" code="0"/>
1471                         <enum name="2G GBA" code="1"/>
1472                 </avp>
1473 <!--
1474 411 UE-Id OctectString
1475 412 UE-Id-Type Enumerated
1476 413 UICC-App-Label OctectString
1477 414 UICC-ME Enumerated
1478 415 Requested-Key-Lifetime Time
1479 416 Private-Identity-Request Enumerated
1480 417 GBA-Push-Info OctectString
1481 418 NAF-SA-Identifier OctectString
1482 29.109 [7]
1483 Note: TThe AVP codes from 419 to 499 are reserved for TS 29.109
1484 -->
1485 <!-- Ref 3GPP TS 29.209 version 6.7.0 Release 6 
1486  NOTE AVP 500 - 523 is in gqpolicy.xml
1487       AVP 524 - 527 is in TGPPRx.xml (3GPP TS 29.214)
1488 Note: The AVP codes from 524 to 599 are reserved for TS 29.209 and TS 29.211
1489  NOTE AVP 600 - 649 is in imscxdx.xml
1490
1491 Note: The AVP codes from 650 to 699 are reserved for TS 29.229.
1492  ************************** 3GPP Sh AVPS        **************************
1493  ************************** NOTE see TGPPSh.xml **************************
1494  ************************** 3GPP TS 29.329      **************************
1495  **************************       700 - 711         **************************
1496 Note: The AVP codes from 711 to799 are reserved for TS 29.329.
1497 Note: The AVP codes from 800 to 822 are reserved for TS 32.299.
1498 -->
1499                 <!-- 3GPP Diameter charging applications (3GPP TS 32.299 version 7.0.0 Release 7)-->
1500                 <!-- Note: The AVP codes from 800 to 822 are reserved for TS 32.299. -->
1501                 <avp name="Event-Type" code="823" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="mustnot" vendor-id="TGPP" >
1502                         <grouped>
1503                                 <gavp name="SIP-Method"/>
1504                                 <gavp name="Event"/>
1505                                 <gavp name="Content-Type"/>
1506                                 <gavp name="Content-Length"/>
1507                                 <gavp name="Content-Disposition"/>
1508                         </grouped>
1509                 </avp>
1510                 <avp name="SIP-Method" code="824" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP" >
1511                         <type type-name="UTF8String"/>
1512                 </avp>
1513                 <avp name="Event" code="825" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP" >
1514                         <type type-name="UTF8String"/>
1515                 </avp>
1516                 <avp name="Content-Type" code="826" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP" >
1517                         <type type-name="UTF8String"/>
1518                 </avp>
1519                 <!-- In 3GPP TS 32.299 version 6.5.0 Release 6 (2005-12)                                        -->
1520                 <!-- type type-name="UTF8String"                                                                                        -->
1521                 <!-- but according to 3GPP TS 32.299 version 7.4.0 Release 7(2006-12) it        -->
1522                 <!-- should be:                                                                                                                         -->
1523                 <avp name="Content-Length" code="827" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP" >
1524                         <type type-name="Unsigned32"/>
1525                 </avp>
1526                 <avp name="Content-Disposition" code="828" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP" >
1527                         <type type-name="UTF8String"/>
1528                 </avp>
1529                 <avp name="Role-Of-Node" code="829" mandatory="must" protected="mustnot" vendor-bit="must" vendor-id="TGPP" >
1530                         <type type-name="Enumerated"/>
1531                         <enum name="ORIGINATING_ROLE" code="0"/>
1532                         <enum name="TERMINATING_ROLE" code="1"/>
1533                         <enum name="PROXY_ROLE" code="2"/>
1534                         <enum name="B2BUA_ROLE" code="3"/>
1535                 </avp>
1536                 <avp name="User-Session-Id" code="830" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP" >
1537                         <type type-name="UTF8String"/>
1538                 </avp>
1539                 <avp name="Calling-Party-Address" code="831" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP" >
1540                         <type type-name="UTF8String"/>
1541                 </avp>
1542                 <avp name="Called-Party-Address" code="832" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP" >
1543                         <type type-name="UTF8String"/>
1544                 </avp>
1545                 <avp name="Time-Stamps" code="833" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP" >
1546                         <grouped>
1547                                 <gavp name="SIP-Request-Timestamp"/>
1548                                 <gavp name="SIP-Response-Timestamp"/>
1549                         </grouped>
1550                 </avp>
1551                 <avp name="SIP-Request-Timestamp" code="834" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP" >
1552                         <type type-name="Time"/>
1553                 </avp>
1554                 <avp name="SIP-Response-Timestamp" code="835" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP" >
1555                         <type type-name="Time"/>
1556                 </avp>
1557                 <avp name="Application-Server" code="836" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP" >
1558                         <type type-name="UTF8String"/>
1559                 </avp>
1560                 <avp name="Application-provided-Called-Party-Address" code="837" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP" >
1561                         <type type-name="UTF8String"/>
1562                 </avp>
1563                 <avp name="Inter-Operator-Identifier" code="838" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP" >
1564                         <grouped>
1565                                 <gavp name="Originating-IOI"/>
1566                                 <gavp name="Terminating-IOI"/>
1567                         </grouped>
1568                 </avp>
1569                 <avp name="Originating-IOI" code="839" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP" >
1570                         <type type-name="UTF8String"/>
1571                 </avp>
1572                 <avp name="Terminating-IOI" code="840" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP" >
1573                         <type type-name="UTF8String"/>
1574                 </avp>
1575                 <avp name="IMS-Charging-Identifier" code="841" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP" >
1576                         <type type-name="UTF8String"/>
1577                 </avp>
1578                 <avp name="SDP-Session-Description" code="842" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP" >
1579                         <type type-name="UTF8String"/>
1580                 </avp>
1581                 <avp name="SDP-Media-components" code="843" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP" >
1582                         <grouped>
1583                                 <gavp name="SDP-Media-Name"/>
1584                                 <gavp name="SDP-Media-Description"/>
1585                         </grouped>
1586                 </avp>
1587                 <avp name="SDP-Media-Name" code="844" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP" >
1588                         <type type-name="UTF8String"/>
1589                 </avp>
1590                 <avp name="SDP-Media-Description" code="845" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP" >
1591                         <type type-name="UTF8String"/>
1592                 </avp>
1593                 <avp name="GPRS-Charging-ID" code="846" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP" >
1594                         <type type-name="UTF8String"/>
1595                 </avp>
1596     <!--
1597     ETSI TS 132 299 V7.6.0 (2007-06) 
1598     -->  
1599                 <avp name="GGSN-Address" code="847" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP" >
1600                         <type type-name="IPAddress"/>
1601                 </avp>
1602                 <avp name="Served-Party-IP-Address" code="848" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP" >
1603                         <type type-name="IPAddress"/>
1604                 </avp>
1605                 <avp name="Authorised-QoS" code="849" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP" >
1606                         <type type-name="UTF8String"/>
1607                 </avp>
1608                 <avp name="Application-Server-Information" code="850" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP" >
1609                         <grouped>
1610                                 <gavp name="Application-Server"/>
1611                                 <gavp name="Application-Provided-Called-Party-Address"/>
1612                         </grouped>
1613                 </avp>
1614                 <avp name="Trunk-Group-ID" code="851" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP" >
1615                         <grouped>
1616                                 <gavp name="Incoming-Trunk-Group-ID"/>
1617                                 <gavp name="Outgoing-Trunk-Group-ID"/>
1618                         </grouped>
1619                 </avp>
1620                 <avp name="Incoming-Trunk-Group-ID" code="852" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP" >
1621                         <type type-name="UTF8String"/>
1622                 </avp>
1623                 <avp name="Outgoing-Trunk-Group-ID" code="853" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP" >
1624                         <type type-name="UTF8String"/>
1625                 </avp>
1626                 <avp name="Bearer-Service" code="854" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP" >
1627                         <type type-name="OctetString"/>
1628                 </avp>
1629                 <avp name="Service-ID" code="855" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP" >
1630                         <type type-name="UTF8String"/>
1631                 </avp>
1632
1633                 <avp name="PoC-Controlling-Address" code="858" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="must" vendor-id="TGPP">
1634                         <type type-name="UTF8String"/>
1635                 </avp>
1636
1637                 <avp name="PoC-Group-Name" code="859" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="must" vendor-id="TGPP">
1638                         <type type-name="UTF8String"/>
1639                 </avp>
1640
1641                 <avp name="Cause" code="860" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP" >
1642                         <grouped>
1643                                 <gavp name="Cause-Code"/>
1644                                 <gavp name="Node-Functionality"/>
1645                         </grouped>
1646                 </avp>
1647                 <avp name="Cause-Code" code="861" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP" >
1648                         <type type-name="Enumerated"/>
1649       <enum name="End of REGISTER dialog" code="-3"/>
1650       <enum name="End of SUBSCRIBE dialog" code="-2"/>
1651       <enum name="Successful transaction" code="-1"/>
1652                         <enum name="Normal end of session" code="0"/>
1653                         <enum name="Unspecified error" code="1"/>
1654                         <enum name="Unsuccessful session setup" code="2"/>
1655                         <enum name="Internal error" code="3"/>
1656                         <enum name="Multiple Choices" code="300"/>
1657                         <enum name="Moved Permanently" code="301"/>
1658                         <enum name="Moved Temporarily" code="302"/>
1659                         <enum name="Use Proxy" code="305"/>
1660                         <enum name="Alternative Service" code="380"/>
1661                         <enum name="Bad Request" code="400"/>
1662                         <enum name="Unauthorized" code="401"/>
1663                         <enum name="Payment Required" code="402"/>
1664                         <enum name="Forbidden" code="403"/>
1665                         <enum name="Not Found" code="404"/>
1666                         <enum name="Method Not Allowed" code="405"/>
1667                         <enum name="Not Acceptable" code="406"/>
1668                         <enum name="Proxy Authentication Required" code="407"/>
1669                         <enum name="Request Timeout" code="408"/>
1670                         <enum name="Gone" code="410"/>
1671                         <enum name="Conditional Request Failed" code="412"/>
1672                         <enum name="Request Entity Too Large" code="413"/>
1673                         <enum name="Request-URI Too Long" code="414"/>
1674                         <enum name="Unsupported Media Type" code="415"/>
1675                         <enum name="Unsupported URI Scheme" code="416"/>
1676                         <enum name="Unknown Resource-Priority" code="417"/>
1677                         <enum name="Bad Extension" code="420"/>
1678                         <enum name="Extension Required" code="421"/>
1679                         <enum name="Session Interval Too Small" code="422"/>
1680                         <enum name="Interval Too Brief" code="423"/>
1681                         <enum name="Use Identity Header" code="428"/>
1682                         <enum name="Provide Referrer Identity" code="429"/>
1683                         <enum name="Bad Identity-Info" code="436"/>
1684                         <enum name="Unsupported Certificate" code="437"/>
1685                         <enum name="Invalid Identity Header" code="438"/>
1686                         <enum name="Temporarily Unavailable" code="480"/>
1687                         <enum name="Call/Transaction Does Not Exist" code="481"/>
1688                         <enum name="Loop Detected" code="482"/>
1689                         <enum name="Too Many Hops" code="483"/>
1690                         <enum name="Address Incomplete" code="484"/>
1691                         <enum name="Ambiguous" code="485"/>
1692                         <enum name="Busy Here" code="486"/>
1693                         <enum name="Request Terminated" code="487"/>
1694                         <enum name="Not Acceptable Here" code="488"/>
1695                         <enum name="Bad Event" code="489"/>
1696                         <enum name="Request Pending" code="491"/>
1697                         <enum name="Undecipherable" code="493"/>
1698                         <enum name="Security Agreement Required" code="494"/>
1699                         <enum name="Server Internal Error" code="500"/>
1700                         <enum name="Not Implemented" code="501"/>
1701                         <enum name="Bad Gateway" code="502"/>
1702                         <enum name="Service Unavailable" code="503"/>
1703                         <enum name="Server Time-out" code="504"/>
1704                         <enum name="Version Not Supported" code="505"/>
1705                         <enum name="Message Too Large" code="513"/>
1706                         <enum name="Precondition Failure" code="580"/> 
1707                 <enum name="Busy Everywhere" code="600"/>
1708                         <enum name="Decline" code="603"/>
1709                         <enum name="Does Not Exist Anywhere" code="604"/>
1710                         <enum name="Not Acceptable" code="606"/>
1711                 </avp>
1712                 <avp name="Node-Functionality" code="862" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP" >
1713                         <type type-name="Unsigned32"/>
1714                         <enum name="S-CSCF" code="0"/>
1715                         <enum name="P-CSCF" code="1"/>
1716                         <enum name="I-CSCF" code="2"/>
1717                         <enum name="MRFC" code="3"/>
1718                         <enum name="MGCF" code="4"/>
1719                         <enum name="BGCF" code="5"/>
1720                         <enum name="AS" code="6"/>
1721       <enum name="IBCF" code="7"/>
1722       <enum name="S-GW" code="8"/>
1723       <enum name="P-GW" code="9"/>
1724     </avp>
1725                 <avp name="Service-Specific-Data" code="863" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP" >
1726                         <type type-name="UTF8String"/>
1727                 </avp>
1728                 <avp name="Originator" code="864" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP" >
1729                         <type type-name="Enumerated"/>
1730                         <enum name="Calling Party" code="0"/>
1731                         <enum name="Called Party" code="1"/>
1732                 </avp>
1733                 <avp name="PS-Furnish-Charging-Information" code="865" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP" >
1734                         <grouped>
1735                                 <gavp name="GPRS-Charging-Id"/>
1736                                 <gavp name="PS-Free-Format-Data"/>
1737                                 <gavp name="PS-Append-Free-Format-Data"/>
1738                         </grouped>
1739                 </avp>
1740                 <avp name="PS-Free-Format-Data" code="866" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP" >
1741                         <type type-name="OctetString"/>
1742                 </avp>
1743                 <avp name="PS-Append-Free-Format-Data" code="867" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP" >
1744                         <type type-name="Enumerated"/>
1745                         <enum name="Append" code="0"/>
1746                         <enum name="Overwrite" code="1"/>
1747                 </avp>
1748                 <avp name="Time-Quota-Threshold" code="868" mandatory="must" may-encrypt="no" protected="may" vendor-bit="must" vendor-id="TGPP">
1749                         <type type-name="Unsigned32"/>
1750                 </avp>
1751                 <avp name="Volume-Quota-Threshold" code="869" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP" >
1752                         <type type-name="Unsigned32"/>
1753                 </avp>
1754                 <avp name="Trigger-Type" code="870" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP" >
1755                         <type type-name="Enumerated"/>
1756                         <enum name="CHANGE_IN_SGSN_IP_ADDRESS" code="1"/>
1757                         <enum name="CHANGE_IN_QOS" code="2"/>
1758                         <enum name="CHANGE_IN_LOCATION" code="3"/>
1759                         <enum name="CHANGE_IN_RAT" code="4"/>
1760                         <enum name="CHANGEINQOS_TRAFFIC_CLASS" code="10"/>
1761                         <enum name="CHANGEINQOS_RELIABILITY_CLASS" code="11"/>
1762                         <enum name="CHANGEINQOS_DELAY_CLASS" code="12"/>
1763                         <enum name="CHANGEINQOS_PEAK_THROUGHPUT" code="13"/>
1764                         <enum name="CHANGEINQOS_PRECEDENCE_CLASS" code="14"/>
1765                         <enum name="CHANGEINQOS_MEAN_THROUGHPUT" code="15"/>
1766                         <enum name="CHANGEINQOS_MAXIMUM_BIT_RATE_FOR_UPLINK" code="16"/>
1767                         <enum name="CHANGEINQOS_MAXIMUM_BIT_RATE_FOR_DOWNLINK" code="17"/>
1768                         <enum name="CHANGEINQOS_RESIDUAL_BER" code="18"/>
1769                         <enum name="CHANGEINQOS_SDU_ERROR_RATIO" code="19"/>
1770                         <enum name="CHANGEINQOS_TRANSFER_DELAY" code="20"/>
1771                         <enum name="CHANGEINQOS_TRAFFIC_HANDLING_PRIORITY" code="21"/>
1772                         <enum name="CHANGEINQOS_GUARANTEED_BIT_RATE_FOR_UPLINK" code="22"/>
1773                         <enum name="CHANGEINQOS_GUARANTEED_BIT_RATE_FOR_DOWNLINK" code="23"/>
1774                         <enum name="CHANGEINLOCATION_MCC" code="30"/>
1775                         <enum name="CHANGEINLOCATION_MNC" code="31"/>
1776                         <enum name="CHANGEINLOCATION_RAC" code="32"/>
1777                         <enum name="CHANGEINLOCATION_LAC" code="33"/>
1778       <enum name="CHANGEINLOCATION_CellId" code="34"/>
1779       <enum name="CHANGE_IN_MEDIA_COMPOSITION" code="40"/>
1780       <enum name="CHANGEINPARTICIPANTS_Number" code="50"/>
1781       <enum name="CHANGE_IN_THRSHLD_OF_PARTICIPANTS_NMB" code="51"/>
1782       <enum name="CHANGE_IN_USER_PARTICIPATING_TYPE" code="52"/>
1783       <enum name="CHANGE_IN_SERVICE_CONDITION" code="60"/>
1784     </avp>
1785                 <avp name="Quota-Holding-Time" code="871" mandatory="must" vendor-bit="must" vendor-id="TGPP">
1786                         <type type-name="Unsigned32"/>
1787                 </avp>
1788                 <avp name="Reporting-Reason" code="872" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP" >
1789                         <type type-name="Enumerated"/>
1790                         <enum name="THRESHOLD" code="0"/>
1791                         <enum name="QHT" code="1"/>
1792                         <enum name="FINAL" code="2"/>
1793                         <enum name="QUOTA_EXHAUSTED" code="3"/>
1794                         <enum name="VALIDITY_TIME" code="4"/>
1795                         <enum name="OTHER_QUOTA_TYPE" code="5"/>
1796                         <enum name="RATING_CONDITION_CHANGE" code="6"/>
1797                         <enum name="FORCED_REAUTHORISATION" code="7"/>
1798                         <enum name="POOL_EXHAUSTED" code="8"/>
1799                 </avp>
1800                 <avp name="Service-Information" code="873" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP" >
1801                         <grouped>
1802                                 <gavp name="PS-Information"/>
1803                                 <gavp name="WLAN-Information"/>
1804                                 <gavp name="IMS-Information"/>
1805                                 <gavp name="MMS-Information"/>
1806                                 <gavp name="LCS-Information"/>
1807                                 <gavp name="PoC-Information"/>
1808                                 <gavp name="MBMS-Information"/>
1809                         </grouped>
1810                 </avp>
1811                 <avp name="PS-Information" code="874" mandatory="must" may-encrypt="no" protected="may" vendor-bit="must" vendor-id="TGPP">
1812                         <grouped>
1813                                 <gavp name="3GPP-Charging-Id"/>
1814                                 <gavp name="3GPP-PDP Type"/>
1815                                 <gavp name="PDP-Address"/>
1816                                 <gavp name="3GPP-GPRS-Negotiated-QoS-Profile"/>
1817                                 <gavp name="SGSN-Address"/>
1818                                 <gavp name="GGSN-Address"/>
1819                                 <gavp name="CG-Address"/>
1820                                 <gavp name="3GPP-IMSI-MCC-MNC"/>
1821                                 <gavp name="3GPP-GGSN- MCC-MNC"/>
1822                                 <gavp name="3GPP-NSAPI"/>
1823                                 <gavp name="Called-Station-Id"/>
1824                                 <gavp name="3GPP-Session-Stop-Indicator"/>
1825                                 <gavp name="3GPP-Selection-Mode"/>
1826                                 <gavp name="3GPP-Charging-Characteristics"/>
1827                                 <gavp name="3GPP-SGSN-MCC-MNC"/>
1828                                 <gavp name="3GPP-MS-TimeZone"/>
1829                                 <gavp name="3GPP-CAMEL-Charging-Info"/>
1830                                 <gavp name="Charging-Rule-Base-Name"/>
1831                                 <gavp name="3GPP-User-Location-Info"/>
1832                                 <gavp name="3GPP-RAT-Type"/>
1833                                 <gavp name="PS-Furnish-Charging-Information"/>
1834                         </grouped>
1835                 </avp>
1836                 <avp name="WLAN-Information" code="875" mandatory="must" may-encrypt="no" protected="may" vendor-bit="must" vendor-id="TGPP">
1837       <grouped>
1838         <gavp name="WLAN-Session-Id"/>
1839         <gavp name="PDG-Address"/>
1840         <gavp name="NPDG-Charging-Id"/>
1841         <gavp name="WAG-Address"/>
1842         <gavp name="WAG-PLMN-Id"/>
1843         <gavp name="WLAN-Radio-Container"/>
1844         <gavp name="WLAN-UE-Local-IPAddress"/>
1845       </grouped>
1846     </avp>
1847                 <avp name="IMS-Information" code="876" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP" >
1848                         <grouped>
1849                                 <gavp name="Event-Type"/>
1850                                 <gavp name="Role-Of-Node"/>
1851                                 <gavp name="Node-Functionality"/>
1852                                 <gavp name="User-Session-ID"/>
1853                                 <gavp name="Calling-Party-Address"/>
1854                                 <gavp name="Called-Party-Address"/>
1855                                 <gavp name="Time-Stamps"/>
1856                                 <gavp name="Application-Server-Information"/>
1857                                 <gavp name="Inter-Operator-Identifier"/>
1858                                 <gavp name="IMS-Charging-Identifier"/>
1859                                 <gavp name="SDP-Session-Description"/>
1860                                 <gavp name="SDP-Media-Component"/>
1861                                 <gavp name="GGSN-Address"/>
1862                                 <gavp name="Served-Party-IP-Address"/>
1863                                 <gavp name="Server-Capabilities"/>
1864                                 <gavp name="Trunk-Group-ID"/>
1865                                 <gavp name="Bearer-Service"/>
1866                                 <gavp name="Service-Id"/>
1867                                 <gavp name="Service-Specific-Data"/>
1868                                 <gavp name="Message-Body"/>
1869         <gavp name="Cause-Code"/>
1870         <gavp name="Access-Network-Information"/>
1871         <gavp name="Early-Media-Description"/>
1872         <gavp name="IMS-Communication-Service-Identifier"/>
1873       </grouped>
1874                 </avp>
1875                 <avp name="MMS-Information" code="877" mandatory="must" may-encrypt="no" protected="may" vendor-bit="must" vendor-id="TGPP">
1876                         <grouped>
1877                                 <gavp name="Originator-Address"/>
1878                                 <gavp name="Recipient-Address"/>
1879                                 <gavp name="Submission-Time"/>
1880                                 <gavp name="MM-Content-Type"/>  
1881                                 <gavp name="Priority"/>
1882                                 <gavp name="Message-ID"/>
1883                                 <gavp name="Message-Type"/>
1884                                 <gavp name="Message-Size"/>
1885                                 <gavp name="Message-Class"/>
1886                                 <gavp name="Delivery-Report-Requested"/>
1887                                 <gavp name= "Read-Reply-Report-Requested"/>
1888                                 <gavp name="MMBox-Storage-Information"/>
1889                                 <gavp name="Applic-ID"/>
1890                                 <gavp name="Reply-Applic-ID"/>
1891                                 <gavp name="Aux-Applic-Info"/>
1892                                 <gavp name="Content-Class"/>
1893                                 <gavp name="DRM-Content"/>
1894         <gavp name="Adaptations"/>
1895         <gavp name="VASP-Id"/>
1896         <gavp name="VAS-Id"/>
1897       </grouped>
1898     </avp>
1899                 <avp name="LCS-Information" code="878" mandatory="must" may-encrypt="no" protected="may" vendor-bit="must" vendor-id="TGPP">
1900                         <grouped>
1901                                 <gavp name="LCS-Client-ID"/>
1902                                 <gavp name="Location-Type"/>
1903                                 <gavp name="Location-Estimate"/>
1904                                 <gavp name="Positioning-Data"/>
1905                                 <gavp name="IMSI"/>
1906                                 <gavp name="MSISDN"/>
1907                         </grouped>
1908                 </avp>
1909                 <avp name="PoC-Information" code="879" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP" >
1910                         <grouped>
1911                                 <gavp name="PoC-Server-Role"/>
1912         <gavp name="PoC-Session-Type"/>
1913         <gavp name="PoC-User-Role"/>
1914         <gavp name="PoC-Session-Initiation-type"/>
1915         <gavp name="PoC-Event-Type"/>
1916         <gavp name="Number-Of-Participants"/>
1917         <gavp name="Participants-Involved"/>
1918         <gavp name="Participant-Group"/>
1919         <gavp name="Talk-Burst-Exchange"/>
1920                                 <gavp name="PoC-Controlling-Address"/>
1921         <gavp name="PoC-Group-Name"/>
1922         <gavp name="PoC-Session-Id"/>
1923         <gavp name="Charged-Party"/>
1924       </grouped>
1925                 </avp>
1926                 <avp name="MBMS-Information" code="880" mandatory="must" may-encrypt="no" protected="may" vendor-bit="must" vendor-id="TGPP">
1927       <grouped>
1928         <gavp name="TMGI"/>
1929         <gavp name="MBMS-Service-Type"/>
1930         <gavp name="MBMS-User-Service-Type"/>
1931         <gavp name="File-Repair-Supported"/>
1932         <gavp name="Required-MBMS-Bearer-Capabilities"/>
1933         <gavp name="MBMS-2G-3G-Indicator"/>
1934         <gavp name="RAI"/>
1935         <gavp name="MBMS-Service-Area"/>
1936         <gavp name="MBMS-Session-Identity"/>
1937       </grouped>
1938     </avp>
1939                 <avp name="Quota-Consumption-Time" code="881" mandatory="must" may-encrypt="no" protected="may" vendor-bit="must" vendor-id="TGPP">
1940                         <type type-name="Unsigned32"/>
1941                 </avp>
1942                 <avp name="Media-Initiator-Flag" code="882" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
1943                         <type type-name="Enumerated"/>
1944                         <enum name="called party" code="0"/>
1945                         <enum name="calling party" code="1"/>
1946                         <enum name="unknown" code="2"/>
1947                 </avp>
1948
1949                 <avp name="PoC-Server-Role" code="883" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
1950                         <type type-name="Enumerated"/>
1951                         <enum name="Participating PoC Server" code="0"/>
1952                         <enum name="Controlling PoC Server" code="1"/>
1953                 </avp>
1954
1955                 <avp name="PoC-Session-Type" code="884" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
1956                         <type type-name="Enumerated"/>
1957                         <enum name="1 to 1 PoC session" code="0"/>
1958                         <enum name="chat PoC group session" code="1"/>
1959                         <enum name="pre-arranged PoC group session" code="2"/>
1960                         <enum name="ad-hoc PoC group session" code="3"/>
1961                 </avp>
1962
1963                 <avp name="Number-Of-Participants" code="885" mandatory="must" vendor-bit="must" vendor-id="TGPP">
1964                         <type type-name="Integer32"/>
1965                 </avp>
1966     <avp name="Originator-Address" code="886" mandatory="must" vendor-bit="must" vendor-id="TGPP">
1967       <grouped>
1968         <gavp name="Address-Type"/>
1969         <gavp name="Address-Data"/>
1970         <gavp name="Address-Domain"/>
1971                         </grouped>
1972     </avp>
1973     <avp name="Participants-Involved" code="887" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="must" vendor-id="TGPP">
1974                         <type type-name="UTF8String"/>
1975                 </avp>
1976
1977                 <avp name="Expires" code="888" mandatory="must" may-encrypt="no" protected="may" vendor-bit="must" vendor-id="TGPP">
1978                         <type type-name="Unsigned32"/>
1979                 </avp>
1980
1981                 <avp name="Message-Body" code="889" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
1982                         <grouped>
1983                                 <gavp name="Content-Type"/>
1984                                 <gavp name="Content-Length"/>
1985                                 <gavp name="Content-Disposition"/>
1986                                 <gavp name="Originator"/>
1987                         </grouped>
1988                 </avp>
1989                 <avp name="WAG-Address" code="890" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP" >
1990                         <type type-name="IPAddress"/>
1991                 </avp>
1992                 <avp name="WAG-PLMN-Id" code="891">
1993                         <type type-name="OctetString"/>
1994                 </avp>
1995                 <avp name="WLAN-Radio-Container" code="892" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
1996                         <grouped>
1997         <gavp name="Operator-Name"/>
1998         <gavp name="Location-Type"/>
1999         <gavp name="Location-Information"/>
2000         <gavp name="WLAN-Technology"/>
2001       </grouped>
2002                 </avp>
2003                 <avp name="WLAN-Technology" code="893" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2004                         <type type-name="Unsigned32"/>
2005                 </avp>
2006                 <avp name="WLAN-UE-Local-IPAddress" code="894" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2007                         <type type-name="IPAddress"/>
2008                 </avp>
2009                 <avp name="PDG-Address" code="895" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2010                         <type type-name="IPAddress"/>
2011                 </avp>
2012                 <avp name="PDG-Charging-Id" code="896" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2013                         <type type-name="Unsigned32"/>
2014                 </avp>
2015                 <avp name="Address-Data" code="897" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2016                         <type type-name="UTF8String"/>
2017                 </avp>
2018                 <avp name="Address-Domain" code="898" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2019                         <grouped>
2020         <gavp name="Domain-Name"/>
2021         <gavp name="3GPP-IMSI-MCC-MNC"/>
2022       </grouped>
2023                 </avp>
2024                 <avp name="Address-Type" code="899" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2025                         <type type-name="Enumerated"/>
2026       <enum name="e-mail address" code="0"/>
2027       <enum name="MSISDN" code="1"/>
2028       <enum name="IPv4 Address" code="2"/>
2029       <enum name="IPv6 Address" code="3"/>
2030       <enum name="Numeric Shortcode" code="4"/>
2031       <enum name="Alphanumeric Shortcode" code="5"/>
2032       <enum name="Other" code="6"/>
2033     </avp>
2034
2035 <!--
2036 900 TMGI OctectString
2037 901 Required-MBMS-Bearer-Capabilities UTF8String
2038 902 MBMS-StartStop-Indication Enumerated
2039 903 MBMS-Service-Area OctectString
2040 904 MBMS-Session-Duration Unsigned32
2041 905 Alternative-APN UTF8String
2042 906 MBMS-Service-Type Enumerated
2043 907 MBMS-2G-3G-Indicator Enumerated
2044 908 MBMS-Session-Identity OctetString
2045 909 RAI UTF8String
2046 910 Additional-MBMS-Trace-Info OctetString
2047 911 MBMS-Time-To-Data-Transfer Unsigned32
2048 912 MBMS-Session-Identity-Repetition-Number Unsigned32
2049 913 MBMS-Required-QoS UTF8String
2050 914 MBMS-Counting-Information Enumerated
2051 915 MBMS-User-Data-Mode-Indication Enumerated
2052 916 MBMS-GGSN-Address UTF8String
2053 917 MBMS-GGSN-IPv6-Address UTF8String
2054 918 MBMS-BMSC-SSM-IP-Address UTF8String
2055 919 MBMS-BMSC-SSM-IPv6-Address UTF8Strin
2056 Note: The AVP codes from 920 to 999 are reserved for TS 29.061
2057 29.210
2058 ******** Found in TGPPGmb.xml ********
2059 -->
2060                 <avp name="Bearer-Usage" code="1000" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2061                         <type type-name="Enumerated"/>
2062                         <enum name="GENERAL" code="0"/>
2063                         <enum name="IMS SIGNALLING" code="1"/>
2064                         <enum name="DEDICATED" code="2"/>
2065                 </avp>
2066                 <avp name="Charging-Rule-Install" code="1001" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2067                         <grouped>
2068                                 <gavp name="Charging-Rule-Definition"/>
2069                                 <gavp name="Charging-Rule-Name"/>
2070                                 <gavp name="Charging-Rule-Base-Name"/>
2071         <gavp name="Bearer-Identifier"/>
2072         <gavp name="Rule-Activation-Time"/>
2073         <gavp name="Rule-Deactivation-Time"/>
2074         <gavp name="Resource-Allocation-Notification"/>
2075       </grouped>
2076                 </avp>
2077                 <avp name="Charging-Rule-Remove" code="1002" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2078                         <grouped>
2079                                 <gavp name="Charging-Rule-Name"/>
2080                                 <gavp name="Charging-Rule-Base-Name"/>
2081                         </grouped>
2082                 </avp>
2083                 <avp name="Charging-Rule-Definition" code="1003" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2084                         <grouped>
2085         <gavp name="Charging-Rule-Name"/>
2086         <gavp name="Service-Identifier"/>
2087         <gavp name="Rating-Group"/>
2088         <gavp name="Flow-Description"/>
2089         <gavp name="Flow-Informatio"/>
2090         <gavp name="Flow-Status"/>
2091         <gavp name="QoS-Information"/>
2092         <gavp name="Reporting-Level"/>
2093         <gavp name="Online"/>
2094         <gavp name="Offline"/>
2095         <gavp name="Metering-Method"/>
2096         <gavp name="Precedence"/>
2097         <gavp name="AF-Charging-Identifier"/>
2098         <gavp name="Flows"/>
2099       </grouped>
2100                 </avp>
2101                 <avp name="Charging-Rule-Base-Name" code="1004" mandatory="must" may-encrypt="no" protected="may" vendor-bit="must" vendor-id="TGPP">
2102                         <type type-name="UTF8String"/>
2103                 </avp>
2104                 <avp name="Charging-Rule-Name" code="1005" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2105                         <type type-name="OctetString"/>
2106                 </avp>
2107                 <avp name="Event-Trigger" code="1006" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2108                         <type type-name="Enumerated"/>
2109                           <enum name="SGSN CHANGE" code="0"/>
2110                           <enum name="QOS CHANGE" code="1"/>
2111                           <enum name="RAT CHANGE" code="2"/>
2112                           <enum name="TFT CHANGE" code="3"/>
2113                           <enum name="PLMN CHANGE" code="4"/>
2114         <enum name="LOSS_OF_BEARER"                             code="5"/>
2115         <enum name="RECOVERY_OF_BEARER"                         code="6"/>
2116         <enum name="IP-CAN_CHANGE"                              code="7"/>
2117         <enum name="GW-PCEF-MALFUNCTION"                        code="8"/>
2118         <enum name="RESOURCES_LIMITATION"                       code="9"/>
2119         <enum name="MAX_NR_BEARERS_REACHED"                     code="10"/>
2120         <enum name="QOS_CHANGE_EXCEEDING_AUTHORIZATION"         code="11"/>
2121         <enum name="NO_EVENT_TRIGGER"                           code="12"/>
2122       <enum name="USER_LOCATION_CHANGE"                         code="13"/>
2123       <enum name="NO_EVENT_TRIGGERS"                            code="14"/>
2124       <enum name="OUT_OF_CREDIT"                                code="15"/>
2125       <enum name="REALLOCATION_OF_CREDIT"                               code="16"/>
2126       <enum name="REVALIDATION_TIMEOUT"                         code="17"/>
2127       <enum name="UE_IP_ADDRESS_ALLOCATE"                               code="18"/>
2128       <enum name="UE_IP_ADDRESS_RELEASE"                                code="19"/>
2129       <enum name="DEFAULT_EPS_BEARER_QOS_CHANGE"                                code="20"/>
2130       <enum name="AN_GW_CHANGE"                         code="21"/>
2131       <enum name="SUCCESSFUL_RESOURCE_ALLOCATION"                               code="22"/>
2132       <enum name="RESOURCE_MODIFICATION_REQUEST"                                code="23"/>
2133       <enum name="TFT DELETED" code="1000"/>
2134                           <enum name="LOSS OF BEARER" code="1001"/>
2135                           <enum name="RECOVERY OF BEARER" code="1002"/>
2136                           <enum name="POLICY ENFORCEMENT FAILED" code="1003"/>
2137                 </avp>
2138                 <avp name="Metering-Method" code="1007" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2139                         <type type-name="Enumerated"/>
2140                         <enum name="DURATION" code="0" /> 
2141                         <enum name="VOLUME" code="1" />                                                 
2142                         <enum name="DURATION_VOLUME" code="1" />                        
2143                 </avp>
2144                 <avp name="Offline" code="1008" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2145                         <type type-name="Enumerated"/>
2146                         <enum name="DISABLE_OFFLINE" code="0"/>
2147                         <enum name="ENABLE_OFFLINE" code="1"/>
2148                 </avp>
2149                 <avp name="Online" code="1009">
2150                         <type type-name="Enumerated"/>
2151                         <enum name="DISABLE_ONLINE" code="0"/>
2152                         <enum name="ENABLE_ONLINE" code="1"/>
2153                 </avp>
2154                 <avp name="Precedence" code="1010" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2155                         <type type-name="Unsigned32"/>
2156                 </avp>
2157                 <avp name="Reporting-Level" code="1011" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2158                         <type type-name="Enumerated"/>
2159                         <enum name="CHARGING RULE LEVEL" code="0"/>
2160                         <enum name="RATING GROUP LEVEL" code="1"/>
2161                 </avp>
2162                 <avp name="TFT-Filter" code="1012">
2163                         <type type-name="IPFilterRule"/>
2164                 </avp>
2165                 <avp name="TFT-Packet-Filter-Information" code="1013" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2166                         <grouped>
2167                                 <gavp name="Precedence"/>
2168                                 <gavp name="TFT-Filter"/>
2169         <gavp name="TOS-Traffic-Class"/>
2170         <gavp name="Security-Parameter-Index"/>
2171         <gavp name="Flow-Label"/>
2172       </grouped>                
2173                 </avp>
2174                 <avp name="ToS-Traffic-Class" code="1014" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2175                 <type type-name="OctetString"/>
2176                 </avp>
2177                 <avp name="PDP-Session-operation" code="1015" vendor-id="TGPP" protected="may" mandatory="must" may-encrypt="yes" vendor-bit="must">
2178                         <type type-name="Unsigned32" /> 
2179                         <enum name="PDP-SESSION-TERMINATION" code="0" />                                                                
2180                 </avp>
2181                 <avp name="QoS-Information" code="1016" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="must" vendor-id="TGPP">
2182                         <grouped>
2183                                 <gavp name="QoS-Class-Identifier"/>
2184                                 <gavp name="Max-Requested-Bandwdith-DL"/>
2185                                 <gavp name="Max-Requested-Bandwdith-UL"/>
2186                                 <gavp name="Guaranteed-Bitrate-UL"/>
2187                                 <gavp name="Guaranteed-Bitrate-DL"/>
2188                                 <gavp name="Bearer-Identifier"/>
2189         <gavp name="Allocation-Retention-Priority"/>
2190         <gavp name="APN-Aggregate-Max-Bitrate-UL"/>
2191         <gavp name="APN-Aggregate-Max-Bitrate-DL"/>
2192       </grouped>
2193                 </avp>
2194                 <avp name="Charging-Rule-Report" code="1018" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="must" vendor-id="TGPP">
2195                         <grouped>
2196                                 <gavp name="Charging-Rule-Base-Name"/>
2197                                 <gavp name="Charging-Rule-Name"/>
2198         <gavp name="Bearer-Identifier"/>
2199         <gavp name="PCC-Rule-Status"/>
2200         <gavp name="Rule-Failure-Code"/>
2201         <gavp name="Final-Unit-Indication"/>
2202       </grouped>
2203                 </avp>
2204     <avp name="PCC-Rule-Status" code="1019" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="must" vendor-id="TGPP">
2205       <type type-name="Unsigned32"/>
2206       <enum name="ACTIVE"                       code="0"/>
2207       <enum name="INACTIVE"     code="1"/>
2208       <enum name="TEMPORARY_INACTIVE"   code="2"/>
2209     </avp>
2210     <avp name="Bearer-Identifier" code="1020" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="must" vendor-id="TGPP">
2211       <type type-name="OctetString"/>
2212     </avp>
2213     <avp name="Bearer-Operation" code="1021" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="must" vendor-id="TGPP">
2214       <type type-name="Enumerated"/>
2215       <enum name="TERMINATION"                  code="0"/>
2216       <enum name="ESTABLISHMENT"        code="1"/>
2217       <enum name="MODIFICATION"         code="2"/>
2218     </avp>
2219     <avp name="Access-Network-Charging-Identifier-Gx" code="1022" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="must" vendor-id="TGPP">
2220       <grouped>
2221         <gavp name="Access-Network-Charging-Identifier-Value"/>
2222         <gavp name="Charging-Rule-Base-Name"/>
2223         <gavp name="Charging-Rule-Name"/>
2224       </grouped>
2225     </avp>
2226     <avp name="Bearer-Control-Mode" code="1023" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="must" vendor-id="TGPP">
2227       <type type-name="Enumerated"/>
2228       <enum name="UE_ONLY"                      code="0"/>
2229       <enum name="RESERVED"     code="1"/>
2230       <enum name="UE_NW"        code="2"/>
2231     </avp>
2232     <avp name="Network-Request-Support" code="1024" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="must" vendor-id="TGPP">
2233       <type type-name="Enumerated"/>
2234       <enum name="NETWORK_REQUEST NOT SUPPORTED"                        code="0"/>
2235       <enum name="NETWORK_REQUEST SUPPORTED"    code="1"/>
2236     </avp>
2237                 <avp name="Guaranteed-Bitrate-DL" code="1025" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="must" vendor-id="TGPP">
2238                         <type type-name="Unsigned32"/>
2239                 </avp>          
2240                 <avp name="Guaranteed-Bitrate-UL" code="1026" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="must" vendor-id="TGPP">
2241                         <type type-name="Unsigned32"/>
2242                 </avp>
2243     <avp name="IP-CAN-Type" code="1027" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="must" vendor-id="TGPP">
2244       <type type-name="Enumerated"/>
2245       <enum name="3GPP-GPRS"                    code="0"/>
2246       <enum name="DOCSIS"       code="1"/>
2247       <enum name="xDSL"         code="2"/>
2248       <enum name="WiMAX"        code="3"/>
2249       <enum name="3GPP2"        code="4"/>
2250       <enum name="3GPP-EPS"     code="5"/>
2251     </avp>
2252                 <avp name="QoS-Class-Identifier" code="1028" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="must" vendor-id="TGPP">
2253                         <type type-name="Enumerated"/>
2254                         <enum name="None"                       code="0"/>
2255                         <enum name="Conversational"                     code="1"/>
2256                         <enum name="Conversational"                     code="2"/>
2257                         <enum name="Streaming"  code="3"/>
2258                         <enum name="Streaming"          code="4"/>
2259                         <enum name="Interactive"                        code="5"/>
2260                         <enum name="Interactive"                code="6"/>
2261                         <enum name="Interactive"                code="7"/>
2262                         <enum name="Interactive"                code="8"/>
2263                         <enum name="Background"                 code="9"/>
2264                         <enum name="OTHER"                      code="0xFFFFFFFF"/>
2265                 </avp>
2266     <avp name="QoS-Negotiation" code="1029" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="must" vendor-id="TGPP">
2267       <type type-name="Enumerated"/>
2268       <enum name="NO_QoS_NEGOTIATION"                   code="0"/>
2269       <enum name="QoS_NEGOTIATION_SUPPORTED"    code="1"/>
2270     </avp>
2271     <avp name="QoS-Upgrade" code="1030" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="must" vendor-id="TGPP">
2272       <type type-name="Enumerated"/>
2273       <enum name="QoS_UPGRADE_NOT_SUPPORTED"                    code="0"/>
2274       <enum name="QoS_UPGRADE_SUPPORTED"        code="1"/>
2275     </avp>
2276     <avp name="Rule-Failure-Code" code="1031" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="must" vendor-id="TGPP">
2277       <type type-name="Enumerated"/>
2278       <enum name="UNKNOWN_RULE_NAME"                    code="1"/>
2279       <enum name="RATING_GROUP_ERROR"                   code="2"/>
2280       <enum name="SERVICE_IDENTIFIER_ERROR"     code="3"/>
2281       <enum name="GW/PCEF_MALFUNCTION"          code="4"/>
2282       <enum name="RESOURCES_LIMITATION"                 code="5"/>
2283       <enum name="MAX_NR_BEARERS_REACHED"               code="6"/>
2284       <enum name="UNKNOWN_BEARER_ID"            code="7"/>
2285       <enum name="MISSING_BEARER_ID"            code="8"/>
2286       <enum name="MISSING_FLOW_DESCRIPTION"             code="9"/>
2287       <enum name="RESOURCE_ALLOCATION_FAILURE"                  code="10"/>
2288       <enum name="UNSUCCESSFUL_QOS_VALIDATION"                  code="11"/>
2289     </avp>
2290     <avp name="RAT-Type" code="1032" vendor-id="TGPP" protected="may" mandatory="must"  may-encrypt="yes" vendor-bit="must">
2291       <type type-name="Enumerated" />
2292       <enum name="WLAN" code="0" />
2293       <enum name="UTRAN" code="1000" />
2294       <enum name="GERAN" code="1001" />
2295       <enum name="GAN" code="1002" />
2296       <enum name="HSPA_EVOLUTION" code="1003" />
2297       <enum name="EUTRAN" code="1004" />
2298       <enum name="CDMA2000_1X" code="2000" />
2299       <enum name="HRPD" code="2001" />
2300       <enum name="UMB" code="2002" />
2301     </avp>
2302     <avp name="Event-Report-Indication" code="1033" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="must" vendor-id="TGPP">
2303       <grouped>
2304         <gavp name="Event-Trigger"/>
2305         <gavp name="RAT-Type"/>
2306         <gavp name="QoS-Information"/>
2307         <gavp name="RAI"/>
2308         <gavp name="3GPP-User-Location-Info"/>
2309       </grouped>
2310     </avp>
2311     <avp name="Allocation-Retention-Priority" code="1034" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="must" vendor-id="TGPP">
2312       <grouped>
2313         <gavp name="Priority-Level"/>
2314         <gavp name="Pre-emption-Capability"/>
2315         <gavp name="Pre-emption-Vulnerability"/>
2316       </grouped>
2317     </avp>
2318     <avp name="CoA-IP-Address" code="1035" vendor-bit="must" vendor-id="TGPP">
2319       <type type-name="IPAddress"/>
2320     </avp>
2321     <avp name="Tunnel-Header-Filter" code="1036" vendor-bit="must" vendor-id="TGPP">
2322       <type type-name="IPFilterRule"/>
2323     </avp>
2324     <avp name="Tunnel-Header-Length" code="1037" vendor-bit="must" vendor-id="TGPP">
2325       <type type-name="Unsigned32"/>
2326     </avp>
2327     <avp name="Tunnel-Information" code="1038" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="must" vendor-id="TGPP">
2328       <grouped>
2329         <gavp name="Tunnel-Header-Length"/>
2330         <gavp name="Tunnel-Header-Filter"/>
2331       </grouped>
2332     </avp>
2333     <avp name="CoA-Information" code="1039" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="must" vendor-id="TGPP">
2334       <grouped>
2335         <gavp name="Tunnel-Information"/>
2336         <gavp name="CoA-IP-Address"/>
2337       </grouped>
2338     </avp>
2339     <avp name="APN-Aggregate-Max-Bitrate-DL" code="1040" vendor-bit="must" vendor-id="TGPP">
2340       <type type-name="Unsigned32"/>
2341     </avp>
2342     <avp name="APN-Aggregate-Max-Bitrate-UL" code="1041" vendor-bit="must" vendor-id="TGPP">
2343       <type type-name="Unsigned32"/>
2344     </avp>
2345     <avp name="Revalidation-Time" code="1042" vendor-bit="must" vendor-id="TGPP">
2346       <type type-name="Time"/>
2347     </avp>
2348     <avp name="Rule-Activation-Time" code="1043" vendor-bit="must" vendor-id="TGPP">
2349       <type type-name="Time"/>
2350     </avp>
2351     <avp name="Rule-DeActivation-Time" code="1044" vendor-bit="must" vendor-id="TGPP">
2352       <type type-name="Time"/>
2353     </avp>
2354     <avp name="Session-Release-Cause" code="1045" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="must" vendor-id="TGPP">
2355       <type type-name="Enumerated"/>
2356       <enum name="UNSPECIFIED_REASON"                   code="0"/>
2357       <enum name="UE_SUBSCRIPTION_REASON"       code="1"/>
2358       <enum name="INSUFFICIENT_SERVER_RESOURCES"        code="2"/>
2359     </avp>
2360     <avp name="Priority-Level" code="1046" vendor-bit="must" vendor-id="TGPP">
2361       <type type-name="Unsigned32"/>
2362     </avp>
2363     <avp name="Pre-emption-Capability" code="1047" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="must" vendor-id="TGPP">
2364       <type type-name="Enumerated"/>
2365       <enum name="PRE-EMPTION_CAPABILITY_ENABLED"                       code="0"/>
2366       <enum name="PRE-EMPTION_CAPABILITY_DISABLED"      code="1"/>
2367     </avp>
2368     <avp name="Pre-emption-Vulnerability" code="1048" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="must" vendor-id="TGPP">
2369       <type type-name="Enumerated"/>
2370       <enum name="PRE-EMPTION_VULNERABILITY_ENABLED"                    code="0"/>
2371       <enum name="PRE-EMPTION_VULNERABILITY_DISABLED"   code="1"/>
2372     </avp>
2373     <avp name="Default-EPS-Bearer-QoS" code="1049" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2374       <grouped>
2375         <gavp name="QoS-Class-Identifier"/>
2376         <gavp name="Allocation-Retention-Priority"/>
2377       </grouped>
2378     </avp>
2379     <avp name="AN-GW-Address" code="1050" vendor-bit="must" vendor-id="TGPP">
2380       <type type-name="IPAddress"/>
2381     </avp>
2382     <avp name="Resource-Allocation-Notification" code="1051" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="must" vendor-id="TGPP">
2383       <type type-name="Enumerated"/>
2384       <enum name="ENABLE_NOTIFICATION"                  code="0"/>
2385     </avp>
2386     <avp name="QoS-Rule-Remove" code="1052" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2387       <grouped>
2388         <gavp name="QoS-Rule-Name"/>
2389       </grouped>
2390     </avp>
2391     <avp name="QoS-Rule-Definition" code="1053" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2392       <grouped>
2393         <gavp name="QoS-Rule-Name"/>
2394         <gavp name="Flow-Information"/>
2395         <gavp name="QoS-Information"/>
2396         <gavp name="Precedence"/>
2397       </grouped>
2398     </avp>
2399     <avp name="QoS-Rule-Name" code="1054" vendor-bit="must" vendor-id="TGPP">
2400       <type type-name="OctetString,"/>
2401     </avp>
2402     <avp name="QoS-Rule-Report" code="1055" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2403       <grouped>
2404         <gavp name="QoS-Rule-Name"/>
2405         <gavp name="PCC-Rule-Status"/>
2406         <gavp name="Rule-Failure-Code"/>
2407       </grouped>
2408     </avp>
2409     <avp name="Security-Parameter-Index" code="1056" vendor-bit="must" vendor-id="TGPP">
2410       <type type-name="OctetString"/>
2411     </avp>
2412     <avp name="Flow-Label" code="1057" vendor-bit="must" vendor-id="TGPP">
2413       <type type-name="OctetString"/>
2414     </avp>
2415     <avp name="Flow-Information" code="1058" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2416       <grouped>
2417         <gavp name="Flow-Description"/>
2418         <gavp name="Packet-Filter-Identifier"/>
2419         <gavp name="ToS-Traffic-Class"/>
2420         <gavp name="Security-Parameter-Index"/>
2421         <gavp name="Flow-Label"/>
2422       </grouped>
2423     </avp>
2424     <avp name="Packet-Filter-Content" code="1059" vendor-bit="must" vendor-id="TGPP">
2425       <type type-name="IPFilterRule"/>
2426     </avp>
2427     <avp name="Packet-Filter-Identifier" code="1060" vendor-bit="must" vendor-id="TGPP">
2428       <type type-name="OctetString"/>
2429     </avp>
2430     <avp name="Packet-Filter-Information" code="1061" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2431       <grouped>
2432         <gavp name="Packet-Filter-Identifier"/>
2433         <gavp name="Precedence"/>
2434         <gavp name="Packet-Filter-Content"/>
2435         <gavp name="ToS-Traffic-Class"/>
2436         <gavp name="Security-Parameter-Index"/>
2437         <gavp name="Flow-Label"/>
2438       </grouped>
2439     </avp>
2440     <avp name="Packet-Filter-Operation" code="1062" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="must" vendor-id="TGPP">
2441       <type type-name="Enumerated"/>
2442       <enum name="DELETION"                     code="0"/>
2443       <enum name="ADDITION"     code="1"/>
2444       <enum name="MODIFICATION"         code="2"/>
2445     </avp>
2446     <!-- 
2447     1063 Resource-Allocation-Notification Enumerated
2448     -->
2449     <!-- Note: The AVP codes from 1064 to 1099 are reserved for TS 29.212 -->
2450 <!-- ETSI TS 129 140 V6.3.0 (2005-12) -->
2451                 <avp name="Served-User-Identity" code="1100" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2452                         <grouped>
2453                                 <gavp name="MSISDN"/>
2454                                 <gavp name="VASP-ID"/>
2455                                 <gavp name="VAS-ID"/>
2456                         </grouped>              
2457                 </avp>
2458                 <avp name="VASP-ID" code="1101" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2459                         <type type-name="UTF8String"/>
2460                 </avp>
2461                 <avp name="VAS-ID" code="1102" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2462                         <type type-name="UTF8String"/>
2463                 </avp>
2464                 <avp name="Trigger-Event" code="1103" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2465                         <type type-name="Enumerated"/>
2466                         <enum name="MM1 Message Submission, Profile based" code="0"/>
2467                         <enum name="MM1 Message Submission, Address based" code="1"/>
2468                         <enum name="MM1 Message Delivery" code="2"/>
2469                         <enum name="MM7 Message Submission, Profile based" code="3"/>
2470                         <enum name="MM7 Message Submission, Address based" code="4"/>
2471                 </avp>
2472                 <avp name="Sender-Address" code="1104" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2473                         <type type-name="UTF8String"/>
2474                 </avp>
2475                 <avp name="Initial-Recipient-Address" code="1105" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2476                         <grouped>
2477                                 <gavp name="Sequence-Number"/>
2478                                 <gavp name="Recipient-Address"/>
2479                         </grouped>              
2480                 </avp>
2481                 <avp name="Result-Recipient-Address" code="1106" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2482                         <grouped>
2483                                 <gavp name="Sequence-Number"/>
2484                                 <gavp name="Recipient-Address"/>
2485                                 <gavp name="Routeing-Address"/>
2486                                 <gavp name="Sender-Address"/>
2487                         </grouped>              
2488                 </avp>
2489                 <avp name="Sequence-Number" code="1107" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2490                         <type type-name="Unsigned32"/>
2491                 </avp>
2492                 <avp name="Recipient-Address" code="1108" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2493                         <type type-name="UTF8String"/>
2494                 </avp>
2495                 <avp name="Routeing-Address" code="1109" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2496                         <type type-name="UTF8String"/>
2497                 </avp>
2498                 <avp name="Originating-Interface" code="1110" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2499                         <type type-name="Enumerated"/>
2500                         <enum name="MM1" code="0"/>
2501                         <enum name="MM3" code="1"/>
2502                         <enum name="MM4" code="2"/>
2503                         <enum name="MM7" code="3"/>
2504                 </avp>
2505                 <avp name="Delivery-Report" code="1111" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2506                         <type type-name="Enumerated"/>
2507                         <enum name="No Delivery Report Requested" code="0"/>
2508                         <enum name="Delivery Report Requested" code="1"/>
2509                 </avp>
2510                 <avp name="Read-Reply" code="1112" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2511                         <type type-name="Enumerated"/>
2512                         <enum name="No Read Reply Requested" code="0"/>
2513                         <enum name="Read Reply Requested" code="1"/>
2514                 </avp>
2515                 <avp name="Sender-Visibility" code="1113" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2516                         <type type-name="Enumerated"/>
2517                         <enum name="Sender Identification requested not to be hidden" code="0"/>
2518                         <enum name="Sender Identification requested to be hidden" code="1"/>
2519                 </avp>
2520                 <avp name="Service-Key" code="1114" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2521                         <type type-name="UTF8String"/>
2522                 </avp>
2523                 <avp name="Billing-Information" code="1115" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2524                         <type type-name="UTF8String"/>
2525                 </avp>
2526                 <avp name="Status" code="1116" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2527                         <grouped>
2528                                 <gavp name="Status-Code"/>
2529                                 <gavp name="Status-Text"/>
2530                         </grouped>              
2531                 </avp>
2532                 <avp name="Status-Code" code="1117" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2533                         <type type-name="UTF8String"/>
2534                 </avp>
2535                 <avp name="Status-Text" code="1118" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2536                         <type type-name="UTF8String"/>
2537                 </avp>
2538                 <avp name="Routeing-Address-Resolution" code="1119" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2539                         <type type-name="Enumerated"/>
2540                         <enum name="unresolved" code="0"/>
2541                         <enum name="resolved" code="1"/>
2542                 </avp>
2543
2544 <!--29.140 [16]
2545 Note: The AVP codes from 1119 to 1199 are reserved for TS 29.140
2546 32.299
2547 -->
2548                 <avp name="Domain-Name" code="1200" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2549                         <type type-name="UTF8String"/>
2550                 </avp>
2551                 <avp name="Recipient-Address" code="1201" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2552                         <grouped>
2553                                 <gavp name="Address-Type"/>
2554                                 <gavp name="Address-Data"/>
2555                                 <gavp name="Address-Domain"/>
2556                                 <gavp name="Addressee-Type"/>
2557                         </grouped>              
2558                 </avp>
2559                 <avp name="Submission-Time" code="1202" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2560                         <type type-name="Time"/>
2561                 </avp>
2562                 <avp name="MM-Content-Type" code="1203" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2563                         <grouped>
2564                                 <gavp name="Type-Number"/>
2565                                 <gavp name="Additional-Type-Information"/>
2566                                 <gavp name="Content-Size"/>