<?xml version="1.0" encoding="UTF-8"?>

<!-- ETSI ES 283 034 V2.2.0  -->
<!-- ETSI ES 283 035 V2.5.1 (2008-08) -->

<application id="16777231" name="Diameter e2e4 Application" uri="http://pda.etsi.org">

	<!-- ETSI ES 283 026 V1.6.0 (2008-02) Specifies some experimental resultcodes with vendor id ETSI
		6.3.2 Experimental-Result-Code AVP values defined in the present
		document
	This clause defines the specific values of the Experimental-Result-Code AVP (vendor-id is ETSI):

	XXX prefixed with ETSI to not clash with the IETF one, that causes some filter problem with Wireshark when creating custom columns

	The following tshark parameters ” -Y diameter -z
	proto,colinfo,diameter.Experimental-Result-Code,diameter.Experimental-Result-Code”

	yields no result where as

	-Y diameter -z proto,colinfo,diameter.Result-Code,diameter.Result-Code

	Does

		<avp name="Experimental-Result-Code" code="298" mandatory="must" protected="mustnot" vendor-bit="must" vendor-id="ETSI" may-encrypt="no" >
	-->

	<avp name="ETSI-Experimental-Result-Code" code="298" mandatory="must" protected="mustnot" vendor-bit="must" vendor-id="ETSI" may-encrypt="no" >
		<type type-name="Enumerated"/>
		<enum name="INSUFFICIENT_RESOURCES"	code="4041"/>
		<enum name="COMMIT_FAILURE"		code="4043"/>
		<enum name="REFRESH_FAILURE"		code="4044"/>
		<enum name="QOS_PROFILE_FAILURE"	code="4045"/>
		<enum name="ACCESS_PROFILE_FAILURE"	code="4046"/>
		<enum name="PRIORITY_NOT_GRANTED"	code="4047"/>
		<enum name="MODIFICATION_FAILURE"	code="5041"/>
	</avp>

	<!-- ************************* e4 AVPs ************************ -->

	<avp name="Globally-Unique-Address" code="300" mandatory="must" vendor-bit="must" vendor-id="ETSI" may-encrypt="yes">
		<grouped>
			<gavp name="Framed-IP-Address"/>
			<gavp name="Framed-IPv6-Prefix"/>
			<gavp name="Address-Realm"/>
		</grouped>
	</avp>
	<avp name="Address-Realm" code="301" mandatory="must" vendor-bit="must" vendor-id="ETSI" may-encrypt="yes">
		<type type-name="OctetString"/>
	</avp>
	<avp name="Logical-Access-ID" code="302" mandatory="may" vendor-bit="must" vendor-id="ETSI" may-encrypt="yes">
		<type type-name="OctetString"/>
	</avp>
	<avp name="Initial-Gate-Setting" code="303" mandatory="may" vendor-bit="must" vendor-id="ETSI" may-encrypt="yes">
		<grouped>
			<gavp name="NAS-Filter-Rule"/>
			<gavp name="Maximum-Allowed-Bandwidth-UL"/>
			<gavp name="Maximum-Allowed-Bandwidth-DL"/>
		</grouped>
	</avp>
	<avp name="QoS-Profile" code="304" mandatory="may" vendor-bit="must" vendor-id="ETSI" may-encrypt="yes">
		<grouped>
			<gavp name="Application-Class-ID"/>
			<gavp name="Media-Type"/>
			<gavp name="Reservation-Priority"/>
			<gavp name="Maximum-Allowed-Bandwidth-UL"/>
			<gavp name="Maximum-Allowed-Bandwidth-DL"/>
			<gavp name="Transport-Class"/>
		</grouped>
	</avp>
	<avp name="IP-Connectivity-Status" code="305" mandatory="may" vendor-bit="must" vendor-id="ETSI" may-encrypt="yes">
		<type type-name="Enumerated"/>
		<enum name="IP-CONNECTIVITY-ON" code="0"/>
		<enum name="IP-CONNECTIVITY-LOST" code="1"/>
	</avp>
	<avp name="Access-Network-Type" code="306" mandatory="may" vendor-bit="must" vendor-id="ETSI" may-encrypt="yes">
		<grouped>
			<gavp name="NAS-Port-Type"/>
			<gavp name="Aggregation-Network-Type"/>
		</grouped>
	</avp>
	<avp name="Aggregation-Network-Type" code="307" mandatory="may" vendor-bit="must" vendor-id="ETSI" may-encrypt="yes">
		<type type-name="Enumerated"/>
		<enum name="UNKNOWN" code="0"/>
		<enum name="ATM" code="1"/>
		<enum name="ETHERNET" code="2"/>
	</avp>
	<avp name="Maximum-Allowed-Bandwidth-UL" code="308" mandatory="may" vendor-bit="must" vendor-id="ETSI" may-encrypt="yes">
		<type type-name="Unsigned32"/>
	</avp>
	<avp name="Maximum-Allowed-Bandwidth-DL" code="309" mandatory="may" vendor-bit="must" vendor-id="ETSI" may-encrypt="yes">
		<type type-name="Unsigned32"/>
	</avp>
	<!-- Removed from ETSI ES 283 034 V1.2.0 (2007-05) -->
	<avp name="Maximum-Priority-DEPRECATED" code="310" mandatory="may" vendor-bit="must" vendor-id="ETSI" may-encrypt="yes">
		<type type-name="Unsigned32"/>
	</avp>
	<avp name="Transport-Class" code="311" mandatory="may" vendor-bit="must" vendor-id="ETSI" may-encrypt="yes">
		<type type-name="Unsigned32"/>
	</avp>
	<avp name="Application-Class-ID" code="312" mandatory="may" vendor-bit="must" vendor-id="ETSI" may-encrypt="yes">
		<type type-name="UTF8String"/>
	</avp>
	<avp name="Physical-Access-ID" code="313" mandatory="may" vendor-bit="must" vendor-id="ETSI" may-encrypt="yes">
		<type type-name="UTF8String"/>
	</avp>
	<avp name="Initial-Gate-Setting-ID" code="314" mandatory="may" vendor-bit="must" vendor-id="ETSI" may-encrypt="yes">
		<type type-name="Unsigned32"/>
	</avp>
	<avp name="QoS-Profile-ID" code="315" mandatory="may" vendor-bit="must" vendor-id="ETSI" may-encrypt="yes">
		<type type-name="Unsigned32"/>
	</avp>

	<!-- ************************* e2 AVPs ************************ -->

	<avp name="ETSI-Location-Information" code="350" mandatory="may" vendor-bit="must" vendor-id="ETSI" may-encrypt="yes">
		<grouped>
			<gavp name="Line-Identifier"/>
		</grouped>
	</avp>
	<avp name="RACS-Contact-Point" code="351" mandatory="may" vendor-bit="must" vendor-id="ETSI" may-encrypt="yes">
		<type type-name="DiameterIdentity"/>
	</avp>
	<avp name="Terminal-Type" code="352" mandatory="may" vendor-bit="must" vendor-id="ETSI" may-encrypt="yes">
		<type type-name="OctetString"/>
	</avp>
	<avp name="Requested-Information-353" code="353" mandatory="mustnot" vendor-bit="must" vendor-id="ETSI" may-encrypt="yes">
		<type type-name="Enumerated"/>
		<enum name="SUBSCRIBER-ID" code="0"/>
		<enum name="LOCATION-INFORMATION" code="1"/>
		<enum name="RACS-CONTACT-POINT" code="2"/>
		<enum name="ACCESS-NETWORK-TYPE" code="3"/>
		<enum name="TERMINAL-TYPE" code="4"/>
		<!-- The following values are reserved for future use and
		     are out of scope in ETSI ES 283 035 V1.2.1 (2007-06). -->
		<enum name="Logical-Access-ID" code="5"/>
		<enum name="Physical-Access-ID" code="6"/>
		<enum name="ACCESS-NETWORK-TYPE" code="7"/>
		<enum name="INITIAL-GATE-SETTING" code="8"/>
		<enum name="QOS-PROFILE" code="9"/>
		<enum name="IP-CONNECTIVITY-STATUS" code="10"/>
	</avp>
	<avp name="ETSI-Event-Type-354" code="354" mandatory="must" vendor-bit="must" vendor-id="ETSI" may-encrypt="yes">
		<type type-name="Enumerated"/>
		<enum name="USER-LOGON" code="0"/>
		<enum name="LOCATION-INFORMATION-CHANGED" code="1"/>
		<enum name="RACS-CONTACT-POINT-CHANGED" code="2"/>
		<enum name="ACCESS-NETWORK-TYPE" code="3"/>
		<enum name="TERMINAL-TYPE-CHANGED" code="4"/>
		<enum name="LOGICAL-ACCESS-ID-CHANGED" code="5"/>
		<enum name="PHYSICAL-ACCESS-ID-CHANGED" code="6"/>
		<enum name="IP-ADDRESS-CHANGED" code="7"/>
		<enum name="INITIAL-GATE-SETTING-CHANGED" code="8"/>
		<enum name="QOS-PROFILE-CHANGED" code="9"/>
		<enum name="USER-LOGOFF" code="10"/>
	</avp>
	<avp name="Civic-Location" code="355" mandatory="must" vendor-bit="must" vendor-id="ETSI" may-encrypt="yes">
		<type type-name="OctetString"/>
	</avp>
	<avp name="Geospatial-Location" code="356" mandatory="must" vendor-bit="must" vendor-id="ETSI" may-encrypt="yes">
		<type type-name="OctetString"/>
	</avp>

	<!--- ETSI ES 283 026 V1.6.0 (2008-02) -->
	<avp name="Session-Bundle-Id" code="400" mandatory="must" vendor-bit="must" vendor-id="ETSI" may-encrypt="yes">
		<type type-name="Unsigned32"/>
	</avp>

	<!--- ETSI TS 183 066 V2.1.1 (2009-01) -->
	<avp name="ETSI-Event-Type-420" code="420" mandatory="must" vendor-bit="must" vendor-id="ETSI" may-encrypt="yes">
		<type type-name="Enumerated"/>
		<enum name="UPDATE" code="0"/>
		<enum name="REMOVE" code="1"/>
	</avp>

	<!-- ETSI TS 183 017 V1.4.0 (2007-08) -->
	<avp name="Binding-information" code="450" mandatory="mustnot" vendor-bit="must" vendor-id="ETSI" may-encrypt="yes">
		<grouped>
			<gavp name="Binding-Input-List"/>
			<gavp name="Binding-Output-List"/>
		</grouped>
	</avp>
	<avp name="Binding-Input-List" code="451" mandatory="mustnot" vendor-bit="must" vendor-id="ETSI" may-encrypt="yes">
		<grouped>
			<gavp name="V6-Transport-Address"/>
			<gavp name="V4-Transport-Address"/>
		</grouped>
	</avp>
	<avp name="Binding-Output-List" code="452" mandatory="mustnot" vendor-bit="must" vendor-id="ETSI" may-encrypt="yes">
		<grouped>
			<gavp name="V6-Transport-Address"/>
			<gavp name="V4-Transport-Address"/>
		</grouped>
	</avp>
	<avp name="V6-Transport-Address" code="453" mandatory="mustnot" vendor-bit="must" vendor-id="ETSI" may-encrypt="yes">
		<grouped>
			<gavp name="Framed-IPv6-Prefix"/>
			<gavp name="Port-Number"/>
		</grouped>
	</avp>
	<avp name="V4-Transport-Address" code="454" mandatory="mustnot" vendor-bit="must" vendor-id="ETSI" may-encrypt="yes">
		<grouped>
			<gavp name="Framed-IP-Address"/>
			<gavp name="Port-Number"/>
		</grouped>
	</avp>
	<avp name="Port-Number" code="455" mandatory="may" vendor-bit="must" vendor-id="ETSI" may-encrypt="no">
		<type type-name="Unsigned32"/>
	</avp>
	<avp name="Reservation-Class" code="456" mandatory="may" vendor-bit="must" vendor-id="ETSI" may-encrypt="no">
		<type type-name="Unsigned32"/>
	</avp>
	<avp name="Requested-Information-457" code="457" mandatory="mustnot" vendor-bit="must" vendor-id="ETSI" may-encrypt="yes">
		<type type-name="Enumerated"/>
		<enum name="LATCH" code="0"/>
		<enum name="RELATCH" code="1"/>
	</avp>
	<avp name="Reservation-Priority" code="458" mandatory="mustnot" vendor-bit="must" vendor-id="ETSI" may-encrypt="yes">
		<type type-name="Enumerated"/>
		<enum name="DEFAULT" code="0"/>
		<enum name="PRIORITY-ONE" code="1"/>
		<enum name="PRIORITY-TWO" code="2"/>
		<enum name="PRIORITY-THREE" code="3"/>
		<enum name="PRIORITY-FOUR" code="4"/>
		<enum name="PRIORITY-FIVE" code="5"/>
		<enum name="PRIORITY-SIX" code="6"/>
		<enum name="PRIORITY-SEVEN" code="7"/>
		<enum name="PRIORITY-EIGHT" code="8"/>
		<enum name="PRIORITY-NINE" code="9"/>
		<enum name="PRIORITY-TEN" code="10"/>
		<enum name="PRIORITY-ELEVEN" code="11"/>
		<enum name="PRIORITY-TWELVE" code="12"/>
		<enum name="PRIORITY-THIRTEEN" code="13"/>
		<enum name="PRIORITY-FOURTEEN" code="14"/>
		<enum name="PRIORITY-FIFTEEN" code="15"/>
	</avp>
	<avp name="ETSI-Service-Class" code="459" mandatory="mustnot" vendor-bit="must" vendor-id="ETSI" may-encrypt="yes">
		<type type-name="UTF8String"/>
	</avp>
	<avp name="Media-Authorization-Context-Id" code="462" mandatory="must" vendor-bit="must" vendor-id="ETSI" may-encrypt="yes">
		<type type-name="UTF8String" />
	</avp>

	<!--- ETSI TS 183 033 V1.2.0 (2007-10) -->
	<!-- The Line-Identifier AVP has a Vendor-Id header set to ETSI (13019).
	6.3.34 Line-Identifier AVP
	The Line-Identifier AVP is of type OctetString. This AVP contains a fixed broadband access line identifier
	 associated to the user.
	-->
	<avp name="Line-Identifier" code="500" mandatory="may" vendor-bit="must" vendor-id="ETSI" may-encrypt="no">
		<type type-name="OctetString"/>
	</avp>
	<!-- The following table describes the Diameter AVPs defined for the Cx interface protocol in support of
		 HTTP Digest, their AVP Code values, types, possible flag values and whether or not the AVP may be
		 encrypted. The Vendor-Id header of all AVPs defined in the present document shall be set to ETSI (13019). -->

	<avp name="ETSI-SIP-Authenticate" code="501" mandatory="may" vendor-bit="must" vendor-id="ETSI" may-encrypt="no">
		<grouped>
			<gavp name="ETSI-Digest-Realm"/>
			<gavp name="ETSI-Digest-Nonce"/>
			<gavp name="ETSI-Digest-Domain"/>
			<gavp name="ETSI-Digest-Opaque"/>
			<gavp name="ETSI-Digest-Stale"/>
			<gavp name="ETSI-Digest-Algorithm"/>
			<gavp name="ETSI-Digest-QoP"/>
			<gavp name="ETSI-Digest-HA1"/>
			<gavp name="ETSI-Digest-Auth-Param"/>
		</grouped>
	</avp>
	<avp name="ETSI-SIP-Authorization" code="502" mandatory="may" vendor-bit="must" vendor-id="ETSI" may-encrypt="no">
		<grouped>
			<gavp name="ETSI-Digest-Username"/>
			<gavp name="ETSI-Digest-Realm"/>
			<gavp name="ETSI-Digest-Nonce"/>
			<gavp name="ETSI-Digest-URI"/>
			<gavp name="ETSI-Digest-Response"/>
			<gavp name="ETSI-Digest-Algorithm"/>
			<gavp name="ETSI-Digest-CNonce"/>
			<gavp name="ETSI-Digest-Opaque"/>
			<gavp name="ETSI-Digest-QoP"/>
			<gavp name="ETSI-Digest-Nonce-Count"/>
			<gavp name="ETSI-Digest-Method"/>
			<gavp name="ETSI-Digest-Entity-Body-Hash"/>
			<gavp name="ETSI-Digest-Auth-Param"/>
		</grouped>
	</avp>
	<avp name="ETSI-SIP-Authentication-Info" code="503" mandatory="may" vendor-bit="must" vendor-id="ETSI" may-encrypt="no">
		<grouped>
			<gavp name="ETSI-Digest-Nextnonce"/>
			<gavp name="ETSI-Digest-QoP"/>
			<gavp name="ETSI-Digest-Response-Auth"/>
			<gavp name="ETSI-Digest-CNonce"/>
			<gavp name="ETSI-Digest-Nonce-Count"/>
		</grouped>
	</avp>
	<avp name="ETSI-Digest-Realm" code="504" mandatory="may" vendor-bit="must" vendor-id="ETSI" may-encrypt="no">
		<type type-name="UTF8String"/>
	</avp>
	<avp name="ETSI-Digest-Nonce" code="505" mandatory="may" vendor-bit="must" vendor-id="ETSI" may-encrypt="no">
		<type type-name="UTF8String"/>
	</avp>
	<avp name="ETSI-Digest-Domain" code="506" mandatory="may" vendor-bit="must" vendor-id="ETSI" may-encrypt="no">
		<type type-name="UTF8String"/>
	</avp>
	<avp name="ETSI-Digest-Opaque" code="507" mandatory="may" vendor-bit="must" vendor-id="ETSI" may-encrypt="no">
		<type type-name="UTF8String"/>
	</avp>
	<avp name="ETSI-Digest-Stale" code="508" mandatory="may" vendor-bit="must" vendor-id="ETSI" may-encrypt="no">
		<type type-name="UTF8String"/>
	</avp>
	<avp name="ETSI-Digest-Algorithm" code="509" mandatory="may" vendor-bit="must" vendor-id="ETSI" may-encrypt="no">
		<type type-name="UTF8String"/>
	</avp>
	<avp name="ETSI-Digest-QoP" code="510" mandatory="may" vendor-bit="must" vendor-id="ETSI" may-encrypt="no">
		<type type-name="UTF8String"/>
	</avp>
	<avp name="ETSI-Digest-HA1" code="511" mandatory="may" vendor-bit="must" vendor-id="ETSI" may-encrypt="no">
		<type type-name="UTF8String"/>
	</avp>
	<avp name="ETSI-Digest-Auth-Param" code="512" mandatory="may" vendor-bit="must" vendor-id="ETSI" may-encrypt="no">
		<type type-name="UTF8String"/>
	</avp>
	<avp name="ETSI-Digest-Username" code="513" mandatory="may" vendor-bit="must" vendor-id="ETSI" may-encrypt="no">
		<type type-name="UTF8String"/>
	</avp>
	<avp name="ETSI-Digest-URI" code="514" mandatory="may" vendor-bit="must" vendor-id="ETSI" may-encrypt="no">
		<type type-name="UTF8String"/>
	</avp>
	<avp name="ETSI-Digest-Response" code="515" mandatory="may" vendor-bit="must" vendor-id="ETSI" may-encrypt="no">
		<type type-name="UTF8String"/>
	</avp>
	<avp name="ETSI-Digest-CNonce" code="516" mandatory="may" vendor-bit="must" vendor-id="ETSI" may-encrypt="no">
		<type type-name="UTF8String"/>
	</avp>
	<avp name="ETSI-Digest-Nonce-Count" code="517" mandatory="may" vendor-bit="must" vendor-id="ETSI" may-encrypt="no">
		<type type-name="UTF8String"/>
	</avp>
	<avp name="ETSI-Digest-Method" code="518" mandatory="may" vendor-bit="must" vendor-id="ETSI" may-encrypt="no">
		<type type-name="UTF8String"/>
	</avp>
	<avp name="ETSI-Digest-Entity-Body-Hash" code="519" mandatory="may" vendor-bit="must" vendor-id="ETSI" may-encrypt="no">
		<type type-name="UTF8String"/>
	</avp>
	<avp name="ETSI-Digest-Nextnonce" code="520" mandatory="may" vendor-bit="must" vendor-id="ETSI" may-encrypt="no">
		<type type-name="UTF8String"/>
	</avp>
	<avp name="ETSI-Digest-Response-Auth" code="521" mandatory="may" vendor-bit="must" vendor-id="ETSI" may-encrypt="no">
		<type type-name="UTF8String"/>
	</avp>
</application>
