Commit 1cc91a63 authored by garciay's avatar garciay
Browse files

STF490: Add RF/Ro AVPs

parent 01b5f610
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -545,6 +545,7 @@ group BasicTypesAndConstants{
               const integer c_pdp_Context_Type_AVP_Code            := 1247; //Ref ETSI TS 132 299 PDP_Context_Type_AVP
               const integer c_called_Asserted_Identity_AVP_Code    := 1250; //Ref ETSI TS 132 299 Called_Asserted_Identity_AVP
               const integer c_requested_Party_Address_AVP_Code     := 1251; //Ref ETSI TS 132 299 Requested_Party_Address_AVP
               const integer c_service_Generic_Information_AVP_Code := 1256; //Ref ETSI TS 132 299 Service_Generic_Information_AVP
               const integer c_service_Specific_Type_AVP_Code       := 1257; //Ref ETSI TS 132 299 Service_Specific_Type_AVP
               const integer c_access_Network_Information_AVP_Code          := 1263; //Ref ETSI TS 132 299 Access_Network_Information_AVP
               const integer c_base_Time_Interval_AVP_Code          := 1265; //Ref ETSI TS 132 299 Base_Time_Interval_AVP
@@ -598,6 +599,11 @@ group BasicTypesAndConstants{
               const integer c_sgw_Address_AVP_Code                 := 2067; //Ref ETSI TS 132 299 SGW_Address_AVP
               const integer c_dynamic_Address_Flag_Extension_AVP_Code := 2068; //Ref ETSI TS 132 299 Dynamic_Address_Flag_Extension_AVP

               const integer c_application_Server_ID_AVP_Code       := 2101; //Ref ETSI TS 132 299 Application_Server_ID_AVP
               const integer c_application_Service_Type_AVP_Code    := 2102; //Ref ETSI TS 132 299 Application_Service_Type_AVP
               const integer c_spplication_Session_ID_AVP_Code      := 2103; //Ref ETSI TS 132 299 Application_Session_ID_AVP
               const integer c_delivery_Status_AVP_Code             := 2104; //Ref ETSI TS 132 299 Delivery_Status_AVP

               const integer c_sip_Request_Timestamp_Fraction_AVP_Code  := 2301;//Ref: ETSI TS 132 299 SIP_Request_Timestamp_Fraction_AVP
               const integer c_sip_Response_Timestamp_Fraction_AVP_Code := 2302;//Ref: ETSI TS 132 299 SIP_Response_Timestamp_Fraction_AVP
               const integer c_online_Charging_Flag_AVP_Code        := 2303;//Ref: ETSI TS 132 299 Online_Charging_Flag_AVP
+91 −14
Original line number Diff line number Diff line
@@ -426,6 +426,20 @@ module LibDiameter_Types_RfRo_AVPs {
                variant "length=32" // TODO Length to be confirmed
            } // End of type Media_Initiator_Flag
            
            /**
             * @desc The Application_Service_Type enumerated values
             */
            type enumerated Application_Service_Type {
                e_INVITING  (0),
                e_JOINING   (1),
                e_LEAVING   (2),
                e_RECEIVING (3),
                e_RETRIEVAL (4),
                e_SENDING   (5)
            } with {
                variant "length=32" // TODO Length to be confirmed
            } // End of type Application_Service_Type
            
        } // End of group Enum_AVP_Rf_Ro_Types 
        
        group Avp_Rf_Ro_Types { 
@@ -435,27 +449,27 @@ module LibDiameter_Types_RfRo_AVPs {
                /**
                 * @desc The Accounting-Input-Octets AVP (AVP code 363)
                 * @member aVP_Header  Header AVP
                 * @member octetsTransmitted    Number of octets transmitted during the data container recording interval, reflecting the volume counts for uplink traffic for a data flow
                 * @member aVP_Data    Number of octets transmitted during the data container recording interval, reflecting the volume counts for uplink traffic for a data flow
                 * 
                 * @see ETSI TS 132 299 V10.15.0 Clause 7.1.1 Accounting-Input-Octets
                 * @see ETSI TS 132 299 V10.15.0 Table 7.1: Use Of IETF Diameter AVPs
                 */
                type record Accounting_Input_Octets_AVP {
                    AVP_Header  aVP_Header,//<AVP header: 363...>
                    UInt64      octetsTransmitted
                    UInt64      aVP_Data
                } // End of type Accounting_Input_Octets_AVP
                
                /**
                 * @desc The Accounting-Output-Octets AVP (AVP code 364)
                 * @member aVP_Header  Header AVP
                 * @member octetsTransmitted    Number of octets transmitted during the data container recording interval, reflecting the volume counts for downlink traffic for a data flow
                 * @member aVP_Data    Number of octets transmitted during the data container recording interval, reflecting the volume counts for downlink traffic for a data flow
                 * 
                 * @see ETSI TS 132 299 V10.15.0 Clause 7.1.3 Accounting-Output-Octets
                 * @see ETSI TS 132 299 V10.15.0 Table 7.1: Use Of IETF Diameter AVPs
                 */
                type record Accounting_Output_Octets_AVP {
                    AVP_Header  aVP_Header,//<AVP header: 364...>
                    UInt64      octetsTransmitted
                    UInt64      aVP_Data
                } // End of type Accounting_Output_Octets_AVP
                
                /**
@@ -764,7 +778,7 @@ module LibDiameter_Types_RfRo_AVPs {
                /**
                 * @desc The SDP-Media-Description AVP (AVP code 845)
                 * @member aVP_Header  Header AVP
                 * @member octetsTransmitted    Holds the content of  SDP lines (i=, c=, b=, k=, a=, etc.) related to a media description, as described in RFC 4566 
                 * @member aVP_Data    Holds the content of  SDP lines (i=, c=, b=, k=, a=, etc.) related to a media description, as described in RFC 4566 
                 * 
                 * @see ETSI TS 132 299 V10.15.0 Clause 7.2.181 SDP-Media-Description AVP
                 * @see ETSI TS 132 299 V10.15.0 Table 7.1: Use Of IETF Diameter AVPs
@@ -803,7 +817,8 @@ module LibDiameter_Types_RfRo_AVPs {
                /**
                 * @desc The Application-Server-Information AVP (AVP code 850)
                 * @member aVP_Header                                   Header AVP
                 * @member aVP_Data     Holds the used bearer service for the PSTN leg
                 * @member application_Server                           TODO
                 * @member application_Provided_Called_Party_Address    TODO
                 * 
                 * @see ETSI TS 132 299 V10.15.0 Clause 7.2.24  Application-Server-Information AVP
                 * @see ETSI TS 132 299 V10.15.0 Table 7.1: Use Of IETF Diameter AVPs
@@ -1447,11 +1462,25 @@ module LibDiameter_Types_RfRo_AVPs {
                    UTF8String aVP_Data
                } // End of type Requested_Party_Address_AVP
                
                /**
                 * @desc Service-Generic-Information AVP (AVP code 1256)
                 * @member aVP_Header               Header AVP
                 * @member application_Server_ID    TODO
                 * @member application_Service_Type TODO
                 * @member application_Session_ID   TODO
                 * @member delivery_Status          TODO
                 * 
                 * @see ETSI TS 132 299 V10.15.0 Clause 7.2.191 Service-Generic-Information AVP
                 * @see ETSI TS 132 299 V10.15.0 Table 7.1: Use Of IETF Diameter AVPs
                 * @see OMA-DDS-Charging_Data-V1_0-20110201-A
                 */
                type record Service_Generic_Information_AVP {
                    AVP_Header                  aVP_Header//<AVP header: 1256...>
                    // TODO
                    
                } // End of type ervice_Generic_Information_AVP 
                    AVP_Header  aVP_Header,//<AVP header: 1256...>
                    Application_Server_ID_AVP       application_Server_ID optional,
                    Application_Service_Type_AVP    application_Service_Type optional,
                    Application_Session_ID_AVP      application_Session_ID optional,
                    Delivery_Status_AVP             delivery_Status optional
                } // End of type Service_Generic_Information_AVP
                
                /**
                 * @desc Service-Specific-Type AVP (AVP code 1257)
@@ -2216,6 +2245,54 @@ module LibDiameter_Types_RfRo_AVPs {
                    Dynamic_Address_Flag_Extension pdpAddressAllocation
                } // End of type Dynamic_Address_Flag_Extension_AVP
                
                /**
                 * @desc The Application-Server-ID AVP (AVP code 2101)
                 * @member aVP_Header   Header AVP
                 * @member aVP_Data     The Application Server identifier
                 * 
                 * @see ETSI TS 132 299 V10.15.0 Table 7.2: 3GPP specific AVPs
                 */
                type record Application_Server_ID_AVP {
                    AVP_Header aVP_Header,//<AVP header: 2101...>
                    UTF8String aVP_Data
                } // End of type Application_Server_ID_AVP 
                
                /**
                 * @desc The Application-Service-Type AVP (AVP code 2102)
                 * @member aVP_Header   Header AVP
                 * @member aVP_Data     TODO
                 * 
                 * @see ETSI TS 132 299 V10.15.0 Table 7.2: 3GPP specific AVPs
                 */
                type record Application_Service_Type_AVP {
                    AVP_Header                 aVP_Header,//<AVP header: 2102...>
                    Application_Service_Type   aVP_Data
                } // End of type Application_Service_Type_AVP 
                
                /**
                 * @desc The Application-Session-ID AVP (AVP code 2103)
                 * @member aVP_Header   Header AVP
                 * @member aVP_Data     TODO
                 * 
                 * @see ETSI TS 132 299 V10.15.0 Table 7.2: 3GPP specific AVPs
                 */
                type record Application_Session_ID_AVP {
                    AVP_Header aVP_Header,//<AVP header: 2103...>
                    UTF8String aVP_Data
                } // End of type Application_Session_ID_AVP 
                
                /**
                 * @desc The Delivery_Status AVP (AVP code 2104)
                 * @member aVP_Header   Header AVP
                 * @member aVP_Data     TODO
                 * 
                 * @see ETSI TS 132 299 V10.15.0 Table 7.2: 3GPP specific AVPs
                 */
                type record Delivery_Status_AVP {
                    AVP_Header aVP_Header,//<AVP header: 2104...>
                    UTF8String aVP_Data
                } // End of type Delivery_Status_AVP 
                
                type record IM_Information_AVP {
                    AVP_Header                  aVP_Header//<AVP header: 2110...>
                    // TODO