Loading ttcn/DiameterShDh_TCFunctions.ttcn3 +1 −1 Original line number Diff line number Diff line Loading @@ -1509,7 +1509,7 @@ module DiameterShDh_TCFunctions { f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); log("*** " & __SCOPE__ & ": INFO: Preamble done. ***"); // TestBody // // TestBody // f_send_SNR( // md_sNR( // vc_sessionId, Loading ttcn/DiameterShDh_Templates.ttcn3 +38 −0 Original line number Diff line number Diff line Loading @@ -287,6 +287,44 @@ module DiameterShDh_Templates { } // End of group pur_msg group snr_msg { /** * @desc Send template for SNR * @param p_sessionId Session identifier * @param p_snrBody SNR message body */ template (value) SNR_MSG md_sNR( in template (value) Session_Id_AVP p_sessionId, in template (value) SNR_Body_AVP p_snrBody ) modifies m_SNR_dummy := { header := m_diameterHeaderReq_dummy(SNR_E, c_applId3GPPShDh), session_Id := p_sessionId, sNR_Body := p_snrBody } // End of template md_sNR /** * @desc Send template for SNR message body */ template (value) SNR_Body_AVP md_snrBodyAvps( 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 ) 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_dummy,//TODO origin_Host := p_origin_Host, origin_Realm := p_origin_Realm, destination_Realm := p_destination_Realm, user_Identity := p_user_Identity, subs_Req_Type := m_subs_Req_Type_dummy,//TODO data_Reference := {m_data_Reference_dummy}//TODO } // End of template md_snrBodyAvps } // End of group snr_msg } // End of group Sh_request_message_templates_send group Sh_request_message_templates_receive { Loading Loading
ttcn/DiameterShDh_TCFunctions.ttcn3 +1 −1 Original line number Diff line number Diff line Loading @@ -1509,7 +1509,7 @@ module DiameterShDh_TCFunctions { f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); log("*** " & __SCOPE__ & ": INFO: Preamble done. ***"); // TestBody // // TestBody // f_send_SNR( // md_sNR( // vc_sessionId, Loading
ttcn/DiameterShDh_Templates.ttcn3 +38 −0 Original line number Diff line number Diff line Loading @@ -287,6 +287,44 @@ module DiameterShDh_Templates { } // End of group pur_msg group snr_msg { /** * @desc Send template for SNR * @param p_sessionId Session identifier * @param p_snrBody SNR message body */ template (value) SNR_MSG md_sNR( in template (value) Session_Id_AVP p_sessionId, in template (value) SNR_Body_AVP p_snrBody ) modifies m_SNR_dummy := { header := m_diameterHeaderReq_dummy(SNR_E, c_applId3GPPShDh), session_Id := p_sessionId, sNR_Body := p_snrBody } // End of template md_sNR /** * @desc Send template for SNR message body */ template (value) SNR_Body_AVP md_snrBodyAvps( 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 ) 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_dummy,//TODO origin_Host := p_origin_Host, origin_Realm := p_origin_Realm, destination_Realm := p_destination_Realm, user_Identity := p_user_Identity, subs_Req_Type := m_subs_Req_Type_dummy,//TODO data_Reference := {m_data_Reference_dummy}//TODO } // End of template md_snrBodyAvps } // End of group snr_msg } // End of group Sh_request_message_templates_send group Sh_request_message_templates_receive { Loading