Loading ttcn/AtsSccas/AtsSccas_TCFunctions.ttcn +79 −2 Original line number Diff line number Diff line Loading @@ -965,7 +965,7 @@ module AtsSccas_TCFunctions { } // End of function f_TC_ISC_SCCAS_PCT_INV_02 /** * @desc Verify that SCC AS correctly procedures for PS to CS access transfer of additional call. * @desc Verify that the SCC AS handles correctly the procedures for handling of SIP OPTIONS request. * @param p_cSeq_s Random CSeq REGISTER number */ function f_TC_ISC_SCCAS_PCT_INV_03(in CSeq p_cSeq_s) Loading Loading @@ -1016,7 +1016,7 @@ module AtsSccas_TCFunctions { )); tc_ack.start; alt { [] SIPP.receive(mw_REFER_Request(?,vc_requestUri,vc_requestUri2)) { [] SIPP.receive(mw_Response_Base(c_statusLine200)) { tc_ack.stop; log("*** " & __SCOPE__ & ": PASS: REFER message was received ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_success); // sync Loading @@ -1031,6 +1031,73 @@ module AtsSccas_TCFunctions { } // End of function f_TC_ISC_SCCAS_PCT_INV_03 /** * @desc Verify that the SCC AS handles correctly the procedures for handling of SIP OPTIONS request. * @param p_cSeq_s Random CSeq REGISTER number */ function f_TC_ISC_SCCAS_MED_OPT_01(in CSeq p_cSeq_s) runs on ImsComponent { // Local variables var CSeq v_cSeq_s := p_cSeq_s; // Preambule f_init_userprofile(c_userProfile_UE1atSUThome); f_initSipUrl(c_serviceProfile_EMERGENCY); f_init_interfaceprofile(c_interfaceProfile_IMS_SUT_PCSCF1); // Registration f_sendRegistrationAndAwait200Ok( v_cSeq_s, m_sccas_register( vc_requestUri, vc_callId, vc_cSeq, vc_from, vc_to, vc_via_REG, vc_contact, m_add_Authorization_digest( vc_authorization, {c_Integrity_protected_no} ), PX_IMS_SUT_SCSCF_IPADDR, // TODO To be refined during validation PX_IMS_SUT_SCSCF_PORT, // TODO To be refined during validation "600000", -, m_contentType(c_sdpApplication), // TODO To be refined during validation m_MBody_SDP(vc_sdp_local) // TODO To be refined during validation ), mw_sccas_Response_2xxonREGISTER(vc_callId, vc_cSeq, vc_from, vc_to, vc_via_REG, vc_contact) ); f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); // sync // Registration f_IncCSeq(v_cSeq_s); LibIms_Steps.f_setHeadersINVITE(v_cSeq_s, f_initSipUrl(c_serviceProfile_EMERGENCY), f_initSipUrl(c_userProfile_UE1atSUThome)); f_SendOPTIONS( m_OPTIONS_Request_Base( vc_requestUri, vc_callId, p_cSeq_s, vc_from, vc_to, vc_via_REG )); tc_ack.start; alt { [] SIPP.receive(mw_Response_Base(c_statusLine200)) { tc_ack.stop; log("*** " & __SCOPE__ & ": PASS: 200 response was received ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_success); // sync } [] tc_ack.timeout { f_selfOrClientSyncAndVerdict(c_tbDone, e_error); // sync } } // TODO Deregistration? f_selfOrClientSyncAndVerdict(c_poDone, f_getVerdict()); // sync } // End of function f_TC_ISC_SCCAS_MED_OPT_01 } // End of group Group_12_3 group helpers { Loading @@ -1054,6 +1121,16 @@ module AtsSccas_TCFunctions { } // End of function f_sendRegistrationAndAwait200Ok /** * @desc function send OPTIONS message * @param p_request template of the message to be sent */ function f_SendOPTIONS( template(value) OPTIONS_Request p_request ) runs on SipComponent { SIPP.send(p_request) to vc_sent_label; } } // End of group helpers } // End of module AtsSccas_TCFunctions No newline at end of file Loading
ttcn/AtsSccas/AtsSccas_TCFunctions.ttcn +79 −2 Original line number Diff line number Diff line Loading @@ -965,7 +965,7 @@ module AtsSccas_TCFunctions { } // End of function f_TC_ISC_SCCAS_PCT_INV_02 /** * @desc Verify that SCC AS correctly procedures for PS to CS access transfer of additional call. * @desc Verify that the SCC AS handles correctly the procedures for handling of SIP OPTIONS request. * @param p_cSeq_s Random CSeq REGISTER number */ function f_TC_ISC_SCCAS_PCT_INV_03(in CSeq p_cSeq_s) Loading Loading @@ -1016,7 +1016,7 @@ module AtsSccas_TCFunctions { )); tc_ack.start; alt { [] SIPP.receive(mw_REFER_Request(?,vc_requestUri,vc_requestUri2)) { [] SIPP.receive(mw_Response_Base(c_statusLine200)) { tc_ack.stop; log("*** " & __SCOPE__ & ": PASS: REFER message was received ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_success); // sync Loading @@ -1031,6 +1031,73 @@ module AtsSccas_TCFunctions { } // End of function f_TC_ISC_SCCAS_PCT_INV_03 /** * @desc Verify that the SCC AS handles correctly the procedures for handling of SIP OPTIONS request. * @param p_cSeq_s Random CSeq REGISTER number */ function f_TC_ISC_SCCAS_MED_OPT_01(in CSeq p_cSeq_s) runs on ImsComponent { // Local variables var CSeq v_cSeq_s := p_cSeq_s; // Preambule f_init_userprofile(c_userProfile_UE1atSUThome); f_initSipUrl(c_serviceProfile_EMERGENCY); f_init_interfaceprofile(c_interfaceProfile_IMS_SUT_PCSCF1); // Registration f_sendRegistrationAndAwait200Ok( v_cSeq_s, m_sccas_register( vc_requestUri, vc_callId, vc_cSeq, vc_from, vc_to, vc_via_REG, vc_contact, m_add_Authorization_digest( vc_authorization, {c_Integrity_protected_no} ), PX_IMS_SUT_SCSCF_IPADDR, // TODO To be refined during validation PX_IMS_SUT_SCSCF_PORT, // TODO To be refined during validation "600000", -, m_contentType(c_sdpApplication), // TODO To be refined during validation m_MBody_SDP(vc_sdp_local) // TODO To be refined during validation ), mw_sccas_Response_2xxonREGISTER(vc_callId, vc_cSeq, vc_from, vc_to, vc_via_REG, vc_contact) ); f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); // sync // Registration f_IncCSeq(v_cSeq_s); LibIms_Steps.f_setHeadersINVITE(v_cSeq_s, f_initSipUrl(c_serviceProfile_EMERGENCY), f_initSipUrl(c_userProfile_UE1atSUThome)); f_SendOPTIONS( m_OPTIONS_Request_Base( vc_requestUri, vc_callId, p_cSeq_s, vc_from, vc_to, vc_via_REG )); tc_ack.start; alt { [] SIPP.receive(mw_Response_Base(c_statusLine200)) { tc_ack.stop; log("*** " & __SCOPE__ & ": PASS: 200 response was received ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_success); // sync } [] tc_ack.timeout { f_selfOrClientSyncAndVerdict(c_tbDone, e_error); // sync } } // TODO Deregistration? f_selfOrClientSyncAndVerdict(c_poDone, f_getVerdict()); // sync } // End of function f_TC_ISC_SCCAS_MED_OPT_01 } // End of group Group_12_3 group helpers { Loading @@ -1054,6 +1121,16 @@ module AtsSccas_TCFunctions { } // End of function f_sendRegistrationAndAwait200Ok /** * @desc function send OPTIONS message * @param p_request template of the message to be sent */ function f_SendOPTIONS( template(value) OPTIONS_Request p_request ) runs on SipComponent { SIPP.send(p_request) to vc_sent_label; } } // End of group helpers } // End of module AtsSccas_TCFunctions No newline at end of file