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