Commit f7ff55db authored by ulrichst's avatar ulrichst
Browse files

Implementation of TC TP_SH_HSS_SN_08 finalized

parent 1cc14040
Loading
Loading
Loading
Loading

LibDiameter @ f7f587ec

Original line number Diff line number Diff line
Subproject commit 30caadd3d6ff865bf5949ddf966383e5b9c441be
Subproject commit f7f587ec9ed56c1d225ffbf84bb9ee98cb4da6e0
+26 −4
Original line number Diff line number Diff line
@@ -21,7 +21,7 @@ module DiameterShDh_TCFunctions {
    
    import from NoTargetNamespace language "XSD" all
    with {
		extension "File:../LibDiameter/xsd/ShDataType_Rel15.xsd";
        extension "File:../LibDiameter/xsd/ShDataType_Rel15.xsd"
    }
    
    // 5.2.2.1. CDF Role
@@ -1988,7 +1988,29 @@ module DiameterShDh_TCFunctions {
                    f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); 
                    log("*** " & __SCOPE__ & ": INFO: Preamble done. ***");

                    //TODO TestBody
                    // TestBody
                    f_send_SNR(
                               md_sNR(
                                      vc_sessionId,
                                       md_snrBodyAvps_service_Indication(
                                            vc_originHost,                 // containing an Origin-Host AVP
                                            vc_originRealm,                // containing an Origin-Realm AVP
                                            vc_destinationRealm,           // containing a Destination-Realm AVP
                                            m_msisdn_user_Identity (
                                                 m_MSISDN_user_identity(char2oct(PX_PublicUserIdentity))
                                            ),
                                            m_data_Reference(REPOSITORY_DATA_E),
                                            m_service_Indication('00'O)
                               ))
                    );

                    f_awaiting_SNA(
                                   mdw_sNA( 
                                           vc_sessionId,                       // containing a Session-ID AVP
                                           mdw_snaBodyAvps_experimental_result(
                                                mw_experimentalResult(DIAMETER_ERROR_SUBS_DATA_ABSENT)
                        ))
                    );

                    f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); 

+24 −0
Original line number Diff line number Diff line
@@ -161,6 +161,10 @@ module DiameterShDh_Templates {
                    aVP_Data   := p_aVP_Data
                }
                
                template Service_Indication_AVP m_service_Indication (in template (value) octetstring p_aVP_Data)
                modifies m_service_Indication_dummy := {
                    aVP_Data   := p_aVP_Data
                }
            } // End of group sendingTemplatesForAVPs
            
            group receivingTemplatesForAVPs{
@@ -413,6 +417,26 @@ module DiameterShDh_Templates {
                
                } // End of template md_snrBodyAvps_DSAI_Tag

                template (value) SNR_Body_AVP md_snrBodyAvps_service_Indication(
                                                             template (value) Origin_Host_AVP p_origin_Host,
                                                             template (value) Origin_Realm_AVP p_origin_Realm,
                                                             template (value) Destination_Realm_AVP p_destination_Realm,
                                                             template (value) User_Identity_AVP p_user_Identity := m_user_Identity_dummy,
                                                             template (value) Data_Reference_AVP p_data_Reference := m_data_Reference_dummy,
                                                             template (value) Service_Indication_AVP p_service_Indication
                ) modifies m_SNR_Body_dummy := {
                    vendor_Specific_Application_Id := m_vendor_Specific_Appl_Id_Sh,//required only in TS129 229
                    auth_Session_State := m_auth_Session_State,
                    origin_Host := p_origin_Host,
                    origin_Realm := p_origin_Realm,
                    destination_Realm := p_destination_Realm,
                    user_Identity := p_user_Identity,
                    data_Reference := {p_data_Reference},
                    service_Indication := {p_service_Indication}
                
                } // End of template md_snrBodyAvps_DSAI_Tag                                
                
                
                template (value) SNR_Body_AVP md_snrBodyAvps_Expiry_Time(
                                                             template (value) Origin_Host_AVP p_origin_Host,
                                                             template (value) Origin_Realm_AVP p_origin_Realm,