Diameter command codes update.
[obnox/wireshark/wip.git] / diameter / gqpolicy.xml
index 25f1da49161fcbb389ad5a8101603e3c1dc949f5..5666e7a0f58b9eaf9b69cebf7c508db5931441cd 100644 (file)
@@ -2,26 +2,20 @@
 <!-- $Id$ -->
 
     <application id="16777222" name="3GPP Gq" uri="http://www.3GPP.org/ftp/Specs/html-info/29209.htm">
-
-        <!-- IMS Cx Dx Application -->
-        <command name="AA"                        code="265" vendor-id="TGPP"/>
-        <command name="Re-Auth"                   code="258" vendor-id="TGPP"/>
-        <command name="Session-Termination"       code="275" vendor-id="TGPP"/>
-        <command name="Abort-Session"             code="274" vendor-id="TGPP"/>
-
-        <!-- TODO: return codes -->
         
         <!-- ************************** Gq AVPS ********************* -->
-        <avp name="Abort-Cause" code="500" mandatory="must" vendor-bit="must" vendor-id="TGPP" may-encrypt="yes">
-            <type type-name="Unsigned32"/>
-                <enum name="BEARER_RELEASED" code="0"/>
-                <enum name="INSUFFICIENT_SERVER_RESOURCES" code="1"/>
-                <enum name="NSUFFICIENT_BEARER_RESOURCES" code="2"/>
-        </avp>
+               <!-- ETSI TS 129 209 V6.7.0 (2007-06) -->
 
-        <avp name="Access-Network-Charging-Address" code="501" mandatory="must" vendor-bit="must" vendor-id="TGPP" may-encrypt="yes">
-            <type type-name="OctetString"/>
-        </avp>
+               <avp name="Abort-Cause" code="500" mandatory="must" vendor-bit="must" may-encrypt="yes" vendor-id="TGPP">
+                       <type type-name="Enumerated"/>
+                       <enum name="BEARER_RELEASED" code="0"/>
+                       <enum name="INSUFFICIENT_SERVER_RESOURCES" code="1"/>
+                       <enum name="INSUFFICIENT_BEARER_RESOURCES" code="2"/>
+               </avp>
+
+               <avp name="Access-Network-Charging-Address" code="501" vendor-bit="must" may-encrypt="no" vendor-id="TGPP"> 
+                       <type type-name="IPAddress"/>
+               </avp>
 
         <avp name="Access-Network-Charging-Identifier" code="502" mandatory="must" vendor-bit="must" vendor-id="TGPP" may-encrypt="yes">
             <grouped>
             <type type-name="OctetString"/>
         </avp>
 
-        <!-- type IPFilterRule -->
-        <avp name="Flow-Description" code="507" mandatory="must" vendor-bit="must" vendor-id="TGPP" may-encrypt="yes">
-            <type type-name="OctetString"/>
-        </avp>
+               <avp name="Flow-Description" code="507" vendor-id="TGPP" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must">
+                       <type type-name="IPFilterRule"/>
+               </avp>
 
         <avp name="Flow-Grouping" code="508" mandatory="must" vendor-bit="must" vendor-id="TGPP" may-encrypt="yes">
             <grouped>
 
         <avp name="Flows" code="510" mandatory="must" vendor-bit="must" vendor-id="TGPP" may-encrypt="yes">
             <grouped>
-                    <gavp name="Media-Component-Number"/>
-                    <gavp name="Flow-Number"/>
+              <gavp name="Media-Component-Number"/>
+              <gavp name="Flow-Number"/>
+              <gavp name="Final-Unit-Action"/>
             </grouped>
         </avp>
 
         <avp name="Flow-Status" code="511" mandatory="must" vendor-bit="must" vendor-id="TGPP" may-encrypt="yes">
-            <type type-name="Unsigned32"/>
+            <type type-name="Enumerated"/>
                 <enum name="ENABLED-UPLINK" code="0"/>
                 <enum name="ENABLED-DOWNLINK" code="1"/>
                 <enum name="ENABLED" code="2"/>
         </avp>
 
         <avp name="Flow-Usage" code="512" mandatory="must" vendor-bit="must" vendor-id="TGPP" may-encrypt="no">
-            <type type-name="Unsigned32"/>
+            <type type-name="Enumerated"/>
                 <enum name="NO_INFORMATION" code="0"/>
                 <enum name="RTCP" code="1"/>
+                <enum name="AF_SIGNALLING" code="2"/>
         </avp>
 
-        <avp name="Specific-Action" code="513" mandatory="must" vendor-bit="must" vendor-id="TGPP" may-encrypt="no">
-            <type type-name="Unsigned32"/>
+        <avp name="Specific-Action" code="513" mandatory="must" protected="may" vendor-bit="must" vendor-id="TGPP" may-encrypt="no">
+            <type type-name="Enumerated"/>
+          <!--ETSI TS 129 209 V6.7.0 (2007-06)-->
                 <enum name="SERVICE_INFORMATION_REQUEST" code="0"/>
                 <enum name="CHARGING_CORRELATION_EXCHANGE" code="1"/>
                 <enum name="INDICATION_OF_LOSS_OF_BEARER" code="2"/>
                 <enum name="INDICATION_OF_RECOVERY_OF_BEARER" code="3"/>
                 <enum name="INDICATION_OF_RELEASE_OF_BEARER" code="4"/>
                 <enum name="INDICATION_OF_ESTABLISHMENT_OF_BEARER" code="5"/>
+          <!-- ETSI ES 283 026 V2.4.1 (2008-11) In addition, the present document defines two new events:-->
+                <enum name="INDICATION_OF_SUBSCRIBER_DETACHMENT" code="6"/>
+                <enum name="INDICATION_OF_RESERVATION_EXPIRATION" code="7"/>
         </avp>
 
         <avp name="Max-Requested-Bandwidth-DL" code="515" mandatory="must" vendor-bit="must" vendor-id="TGPP" may-encrypt="yes">
 
         <avp name="Media-Component-Description" code="517" mandatory="must" vendor-bit="must" vendor-id="TGPP" may-encrypt="yes">
             <grouped>
-                    <gavp name="Media-Component-Number"/>
-                    <gavp name="Media-Sub-Component"/>
-                    <gavp name="AF-Application-Identifier"/>
-                    <gavp name="Media-Type"/>
-                    <gavp name="Max-Requested-Bandwidth-UL"/>
-                    <gavp name="Max-Requested-Bandwidth-DL"/>
-                    <gavp name="Flow-Status"/>
-                    <gavp name="RS-Bandwidth"/>
-                    <gavp name="RR-Bandwidth"/>
+               <gavp name="Media-Component-Number"/>
+               <gavp name="Media-Sub-Component"/>
+               <gavp name="AF-Application-Identifier"/>
+               <gavp name="Media-Type"/>
+               <gavp name="Max-Requested-Bandwidth-UL"/>
+               <gavp name="Max-Requested-Bandwidth-DL"/>
+               <gavp name="Flow-Status"/>
+               <gavp name="RS-Bandwidth"/>
+               <gavp name="RR-Bandwidth"/>
+               <gavp name="Codec-Data"/>
+                                       <!-- ETSI ES 283 026 V1.6.0 (2008-02) -->
+              <gavp name="Reservation-Priority"/>
+              <gavp name="Reservation-Class"/>
+              <gavp name="Transport-Class"/>
+              <gavp name="Media-Authorization-Context-Id"/>
             </grouped>
         </avp>
 
         </avp>
 
         <avp name="Media-Type" code="520" mandatory="must" vendor-bit="must" vendor-id="TGPP" may-encrypt="yes">
-            <type type-name="Unsigned32"/>
+            <type type-name="Enumerated"/>
                 <enum name="AUDIO" code="0"/>
                 <enum name="VIDEO" code="1"/>
                 <enum name="DATA" code="2"/>
         </avp>
         
         <avp name="SIP-Forking-Indication" code="523" mandatory="must" vendor-bit="must" vendor-id="TGPP" may-encrypt="yes">
-            <type type-name="Unsigned32"/>
+            <type type-name="Enumerated"/>
                 <enum name="SINGLE_DIALOGUE" code="0"/>
                 <enum name="SEVERAL_DIALOGUES" code="1"/>
         </avp>