Commit 98550a7b authored by rennoch's avatar rennoch
Browse files

PUER_MSG consideration

parent b81f7175
Loading
Loading
Loading
Loading
+25 −0
Original line number Diff line number Diff line
@@ -663,6 +663,31 @@ module LibDiameter_Templates {
                aVP_Data        := *
            }
            
            template Supported_Features_AVP m_supportedFeatures (
                template Vendor_Id_AVP p_vendorId,
                template Feature_List_ID_AVP p_feature_list_Id,
                template Feature_List_AVP p_feature_list,
                template Supported_Features_AVP.aVP_Data p_aVP_Data
            ):= {
                aVP_Header := m_aVP_HeaderVid_Mbit1(c_supported_Features_AVP_Code, 1, c_vendId3gpp),
                vendor_Id       := m_vendorId(c_vendId3gpp),
                feature_list_Id := p_feature_list_Id,
                feature_list    := p_feature_list,
                aVP_Data        := p_aVP_Data
            }

            template Feature_List_AVP m_featureList(template (present) UInt32 p_avpData) :=
            {
                aVP_Header := m_aVP_HeaderVid_Mbit1(c_feature_List_AVP_Code, 1, c_vendId3gpp),
                aVP_Data := p_avpData
            }

            template Feature_List_ID_AVP m_featureListId(template (present) UInt32 p_avpData) :=
            {
                aVP_Header := m_aVP_HeaderVid_Mbit1(c_feature_List_Id_AVP_Code, 1, c_vendId3gpp),
                aVP_Data := p_avpData
            }
            
        } //end group SpecificAVPHeaders
    } //end group HeaderFieldTemplates

+8 −2
Original line number Diff line number Diff line
@@ -175,6 +175,8 @@ group BasicTypesAndConstants{
          const integer c_service_Indication_AVP_Code := 704;                         //Ref: 3GPP TS 29.329 6.3.5 Service-Indication AVP
          const integer c_subs_Req_Type_AVP_Code := 705;                             //Ref: 3GPP TS 29.329 6.3.6 Subs-Req-Type AVP
          const integer c_supported_Features_AVP_Code := 628;                         //Ref: 3GPP TS 29.329 6.3.11 Supported-Features AVP
          const integer c_feature_List_Id_AVP_Code := 629;                         //Ref: 3GPP TS 29.329 6.3.30 Feature-List-Id AVP
          const integer c_feature_List_AVP_Code := 630;                         //Ref: 3GPP TS 29.329 6.3.31 Feature-List AVP
          const integer c_user_Data_AVP_Code := 606;                                 //Ref: 3GPP TS 29.229 6.3.7 User-Data AVP
          const integer c_user_Identity_AVP_Code := 700;                             //Ref: 3GPP TS 29.329 6.3.1 User-Identity AVP
          const integer c_wildcarded_IMPU_AVP_Code := 636;                         //Ref: 3GPP TS 29.329 6.3.20 Wildcarded-IMPU AVP , 3GPP TS 29.229
@@ -547,8 +549,8 @@ group BasicTypesAndConstants{
					IDA_E,  // Insert-Subscriber-Data-Answer             IDA    (319)- Ref: TS 129 272 7.2.10
	                DSR_E,  // Delete-Subscriber-Data-Request            DSR    (320)- Ref: TS 129 272 7.2.11
					DSA_E,  // Delete-Subscriber-Data-Answer             DSA    (320)- Ref: TS 129 272 7.2.12
	                // PUR_E,  // Purge-UE-Request                          PUR    (321)- Ref: TS 129 272 7.2.13
					// PUA_E,  // Purge-UE-Answer                           PUA    (321)- Ref: TS 129 272 7.2.14
	                PUER_E, // Purge-UE-Request                          PUR    (321)- Ref: TS 129 272 7.2.13
					PUEA_E, // Purge-UE-Answer                           PUA    (321)- Ref: TS 129 272 7.2.14
	                RSR_E,  // Reset-Request                             DSR    (322)- Ref: TS 129 272 7.2.15
					RSA_E,  // Reset-Answer                              DSA    (322)- Ref: TS 129 272 7.2.16
	                NOR_E,  // Notify-Request                            NOR    (323)- Ref: TS 129 272 7.2.17
@@ -614,6 +616,10 @@ group BasicTypesAndConstants{
                    IDA_MSG    iDA_MSG,
                    DSR_MSG    dSR_MSG,
                    DSA_MSG    dSA_MSG,
                    
                    PUER_MSG   pUER_MSG, // Purge-UE-Request: PUR    (321)- Ref: TS 129 272 7.2.13
                    PUEA_MSG   pUEA_MSG, // Purge-UE-Answer: PUA    (321)- Ref: TS 129 272 7.2.14
                    
                    RSR_MSG    rSR_MSG,
                    RSA_MSG    rSA_MSG,
                    NOR_MSG    nOR_MSG,
+2 −2
Original line number Diff line number Diff line
@@ -463,8 +463,8 @@ module LibDiameter_Types_Base_AVPs {
                DIAMETER_ERROR_CONFLICTING_REQUEST_E (5147),
                // Ref: 3GPP TS 29.215 
                DIAMETER_ERROR_SUBSESSION_E (5470),
                DIAMETER_ERROR_UNKNOWN_EPS_SUBSCRIPTION_E (9990), // FIXME Set the correct error code value - See ETSI TS 129 272 Clause 5.2.1.1.3 Detailed behaviour of the HSS
                DIAMETER_ERROR_RAT_NOT_ALLOWED_E (9991), // FIXME Set the correct error code value - See ETSI TS 129 272 Clause 5.2.1.1.3 Detailed behaviour of the HSS
                DIAMETER_ERROR_UNKNOWN_EPS_SUBSCRIPTION_E (5420),//(9990), // Set the correct error code value - See ETSI TS 129 272 Clause 5.2.1.1.3 Detailed behaviour of the HSS
                DIAMETER_ERROR_RAT_NOT_ALLOWED_E (5421),//(9991), // Set the correct error code value - See ETSI TS 129 272 Clause 5.2.1.1.3 Detailed behaviour of the HSS
                unknown
            }
            with {
+48 −19
Original line number Diff line number Diff line
@@ -1510,25 +1510,54 @@ module LibDiameter_Types_S6a_AVPs {
                set of AVP_Type aVP_Type optional
            }

//            //     Purge-UE-Request (PUR) Command - Ref: TS 129 272 7.2.13
//            type record S6a_PUR_MSG {
//                DiameterHeader header,
//                //     <PUR>  ::= < Diameter Header: 321, REQ, PXY, 16777251 >
//
//                Session_Id_AVP session_Id,
//                //
//                PUR_Body_AVP pUR_Body
//            }
            //     Purge-UE-Request (PUR) Command - Ref: TS 129 272 7.2.13
            type record PUER_MSG {
                DiameterHeader header,
                //     <PUR>  ::= < Diameter Header: 321, REQ, PXY, 16777251 >
                Session_Id_AVP session_Id,
                //
//            //     Purge-UE-Answer (PUA) Command - Ref: TS 129 272 7.2.14
//            type record S6a_PUA_MSG {
//                DiameterHeader header,
//                //     <DSA> ::=    < Diameter Header: 321, PXY, 16777251 >
                PUER_Body_AVP pUER_Body
            }
            
          type set  PUER_Body_AVP {
              Vendor_Specific_Appl_Id_AVP            vendor_Specific_Application_Id,
              Auth_Session_State_AVP                 auth_Session_State,//requi.
              Origin_Host_AVP                        origin_Host,//requi.
              Origin_Realm_AVP                       origin_Realm,//requi.
              Destination_Host_AVP                   destination_Host optional,
              Destination_Realm_AVP                  destination_Realm,//requi.
              set of Supported_Features_AVP          supported_Features optional,
              User_Name_AVP                          user_Name,//Requi.
              PUR_Flags_AVP                          pUR_Flags optional,
              set of Proxy_Info_AVP                  proxy_Info optional,
              set of Route_Record_AVP                route_Record optional,
              set of AVP_Type                        aVP_Type optional
          }

            //     Purge-UE-Answer (PUA) Command - Ref: TS 129 272 7.2.14
           type record PUEA_MSG {
                DiameterHeader header,
                //     <DSA> ::=    < Diameter Header: 321, PXY, 16777251 >

                Session_Id_AVP session_Id,
                //
//                Session_Id_AVP session_Id,
//                //
//                PUA_Body_AVP pUA_Body
//            }
                PUEA_Body_AVP pUEA_Body
            }
            
          type set  PUEA_Body_AVP {
              Vendor_Specific_Appl_Id_AVP            vendor_Specific_Application_Id,
              Result_Code_AVP                        result_Code optional,
              Experimental_Result_AVP                experimental_Result optional,
              Auth_Session_State_AVP                 auth_Session_State,//requi.
              Origin_Host_AVP                        origin_Host,//requi.
              Origin_Realm_AVP                       origin_Realm,//requi.
              PUA_Flags_AVP                          pUEA_Flags optional,
              set of Supported_Features_AVP          supported_Features optional,
              set of Failed_AVP                      failed optional,
              set of Proxy_Info_AVP                  proxy_Info optional,
              set of Route_Record_AVP                route_Record optional,
              set of AVP_Type                        aVP_Type optional
          }

            //     Reset-Request (RSR) Command - Ref: TS 129 272 7.2.15
            type record RSR_MSG {