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