Loading ttcn/AtsSccas/AtsSccas_TCFunctions.ttcn +78 −0 Original line number Diff line number Diff line Loading @@ -824,6 +824,84 @@ module AtsSccas_TCFunctions { } // End of group TP_6A_4_3_SIP_INVITE_responses_towards_the_SC_UE group TP_6A_4_3A_SIP_INVITE_responses_towards_the_MSC_Server{ /** * @desc Verify that the SCCAS sends 1xx and/or 2xx response to the SIP INVITE request due to STN-SR or STN * @param p_cSeq_s Random CSeq INVITE number */ function f_TC_ISC_SCCAS_GEN_INV_03(in CSeq p_cSeq_s) runs on ImsComponent { // Local variables var CSeq v_cSeq_s := p_cSeq_s; var Contact v_contact; f_registrationAS(v_cSeq_s); f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); // sync f_EstablishDialogAS(v_cSeq_s); f_IncCSeq(v_cSeq_s); //TODO: assign new profile MSCwithUE for STN-SR number and uncomment...... //f_setHeaders_INVITE_AS(v_cSeq_s, f_initSipUrl(c_userProfile_MSCwithUE), f_initSipUrl(c_userProfile_SCSCFwithHomeUE)); v_contact := valueof(vc_contact); v_contact.contactBody.contactAddresses[0].contactParams := { { "g3gppMidcallMediaFeature_Tag" }, { "g3gppSrvccAlertingFeature_Tag" }, { "g3gppPs2csSrvccOrigPreAlertingMediaFeature_Tag" } }; f_SendINVITE( m_sccas_invite( vc_requestUri, vc_callId, p_cSeq_s, vc_from, vc_to, vc_via_REG, v_contact, -, -, -, m_MBody_SDP(vc_sdp_local) )); tc_ack.start; alt { [] SIPP.receive(mw_Response_1xx_Base(vc_callId, vc_cSeq)) { repeat } [] SIPP.receive(mw_Response_PCV_FeatureCaps( 200, ?, ?, ?, mw_sccas_featureCaps({(mw_fcValue("g3gppFeatureCapabilityIndicator")), (mw_fcValue("g3gppRemoteLegInfoFeatureCapabilityIndicator")) }) )) { tc_ack.stop; log("*** " & __SCOPE__ & ": PASS: response 200 OK was received ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_success); // sync } [] tc_ack.timeout { f_selfOrClientSyncAndVerdict(c_tbDone, e_error); // sync } } f_ReleaseDialogAS(v_cSeq_s); f_deregistrationAS(v_cSeq_s); f_selfOrClientSyncAndVerdict(c_poDone, f_getVerdict()); // sync } //End of function f_TC_ISC_SCCAS_GEN_INV_03 } // End of group TP_6A_4_3A_SIP_INVITE_responses_towards_the_MSC_Server group TP_6A_4_5_Target_refresh_request_for_a_dialog_and_associated_responses { /** Loading ttcn/AtsSccas/AtsSccas_Testcases.ttcn +34 −1 Original line number Diff line number Diff line Loading @@ -288,6 +288,39 @@ module AtsSccas_Testcases } // End of group TP_6A_4_3_SIP_INVITE_responses_towards_the_SC_UE group TP_6A_4_3A_SIP_INVITE_responses_towards_the_MSC_server { /* * @desc Verify that the SCCAS sends 1xx and/or 2xx response to the SIP INVITE request due to STN-SR or STN * @param p_cSeq_s Transaction Id */ testcase TC_ISC_SCCAS_GEN_INV_03(inout CSeq p_cSeq_s) runs on ServerSyncComp system TestAdapter { //Variables var ImsComponent v_imsComponent_ueims; // Test control if (not PICS_SCCAS_IUT) { log("*** " & __SCOPE__ & ": ERROR: 'PICS_SCCAS_IUT' shall be set to true for executing the TC. ***"); stop; } // Test component configuration f_cf_1IscUp(v_imsComponent_ueims); //Start f_IncCSeq(p_cSeq_s); v_imsComponent_ueims.start(f_TC_ISC_SCCAS_GEN_INV_03(p_cSeq_s)); // synchronize both PTCs on 3 sychronization points f_serverSync1Client({c_prDone, c_tbDone, c_poDone}); f_cf_1IscDown(v_imsComponent_ueims); } // End of TC_ISC_SCCAS_GEN_INV_03 } // End of group TP_6A_4_3A_SIP_INVITE_responses_towards_the_MSC_server group TP_6A_4_5_Target_refresh_request_for_a_dialog_and_associated_responses { /** Loading Loading
ttcn/AtsSccas/AtsSccas_TCFunctions.ttcn +78 −0 Original line number Diff line number Diff line Loading @@ -824,6 +824,84 @@ module AtsSccas_TCFunctions { } // End of group TP_6A_4_3_SIP_INVITE_responses_towards_the_SC_UE group TP_6A_4_3A_SIP_INVITE_responses_towards_the_MSC_Server{ /** * @desc Verify that the SCCAS sends 1xx and/or 2xx response to the SIP INVITE request due to STN-SR or STN * @param p_cSeq_s Random CSeq INVITE number */ function f_TC_ISC_SCCAS_GEN_INV_03(in CSeq p_cSeq_s) runs on ImsComponent { // Local variables var CSeq v_cSeq_s := p_cSeq_s; var Contact v_contact; f_registrationAS(v_cSeq_s); f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); // sync f_EstablishDialogAS(v_cSeq_s); f_IncCSeq(v_cSeq_s); //TODO: assign new profile MSCwithUE for STN-SR number and uncomment...... //f_setHeaders_INVITE_AS(v_cSeq_s, f_initSipUrl(c_userProfile_MSCwithUE), f_initSipUrl(c_userProfile_SCSCFwithHomeUE)); v_contact := valueof(vc_contact); v_contact.contactBody.contactAddresses[0].contactParams := { { "g3gppMidcallMediaFeature_Tag" }, { "g3gppSrvccAlertingFeature_Tag" }, { "g3gppPs2csSrvccOrigPreAlertingMediaFeature_Tag" } }; f_SendINVITE( m_sccas_invite( vc_requestUri, vc_callId, p_cSeq_s, vc_from, vc_to, vc_via_REG, v_contact, -, -, -, m_MBody_SDP(vc_sdp_local) )); tc_ack.start; alt { [] SIPP.receive(mw_Response_1xx_Base(vc_callId, vc_cSeq)) { repeat } [] SIPP.receive(mw_Response_PCV_FeatureCaps( 200, ?, ?, ?, mw_sccas_featureCaps({(mw_fcValue("g3gppFeatureCapabilityIndicator")), (mw_fcValue("g3gppRemoteLegInfoFeatureCapabilityIndicator")) }) )) { tc_ack.stop; log("*** " & __SCOPE__ & ": PASS: response 200 OK was received ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_success); // sync } [] tc_ack.timeout { f_selfOrClientSyncAndVerdict(c_tbDone, e_error); // sync } } f_ReleaseDialogAS(v_cSeq_s); f_deregistrationAS(v_cSeq_s); f_selfOrClientSyncAndVerdict(c_poDone, f_getVerdict()); // sync } //End of function f_TC_ISC_SCCAS_GEN_INV_03 } // End of group TP_6A_4_3A_SIP_INVITE_responses_towards_the_MSC_Server group TP_6A_4_5_Target_refresh_request_for_a_dialog_and_associated_responses { /** Loading
ttcn/AtsSccas/AtsSccas_Testcases.ttcn +34 −1 Original line number Diff line number Diff line Loading @@ -288,6 +288,39 @@ module AtsSccas_Testcases } // End of group TP_6A_4_3_SIP_INVITE_responses_towards_the_SC_UE group TP_6A_4_3A_SIP_INVITE_responses_towards_the_MSC_server { /* * @desc Verify that the SCCAS sends 1xx and/or 2xx response to the SIP INVITE request due to STN-SR or STN * @param p_cSeq_s Transaction Id */ testcase TC_ISC_SCCAS_GEN_INV_03(inout CSeq p_cSeq_s) runs on ServerSyncComp system TestAdapter { //Variables var ImsComponent v_imsComponent_ueims; // Test control if (not PICS_SCCAS_IUT) { log("*** " & __SCOPE__ & ": ERROR: 'PICS_SCCAS_IUT' shall be set to true for executing the TC. ***"); stop; } // Test component configuration f_cf_1IscUp(v_imsComponent_ueims); //Start f_IncCSeq(p_cSeq_s); v_imsComponent_ueims.start(f_TC_ISC_SCCAS_GEN_INV_03(p_cSeq_s)); // synchronize both PTCs on 3 sychronization points f_serverSync1Client({c_prDone, c_tbDone, c_poDone}); f_cf_1IscDown(v_imsComponent_ueims); } // End of TC_ISC_SCCAS_GEN_INV_03 } // End of group TP_6A_4_3A_SIP_INVITE_responses_towards_the_MSC_server group TP_6A_4_5_Target_refresh_request_for_a_dialog_and_associated_responses { /** Loading