Loading AtsNIT_SipSip/ttcn/AtsNIT_SipSip_BC_TCFunctions.ttcn +123 −2 Original line number Diff line number Diff line Loading @@ -287,7 +287,7 @@ module AtsNIT_SipSip_BC_TCFunctions { // postamble f_IMS_postamble_withDeRegistration(vc_cSeq); } // end function f_AtsNIT_TC_SS___XX__01UE1 } // end function f_AtsNIT_TC_SS___XX__02UE1 /* * @desc This is the test case function (terminating side) for AtsNIT_TC_SS___XX__02 Loading Loading @@ -382,7 +382,128 @@ module AtsNIT_SipSip_BC_TCFunctions { // postamble f_IMS_postamble_withDeRegistration(vc_cSeq); } // end function f_AtsNIT_TC_SS___XX__01UE2 } // end function f_AtsNIT_TC_SS___XX__02UE2 /* * @desc This is the test case function (originating side) for AtsNIT_TC_SS___XX__03 * @param p_CSeq_s Transaction Id */ function f_AtsNIT_TC_SS___XX__03UE1(in CSeq p_cSeq_s) runs on ImsComponent { f_IMS_preamble_withRegistrationBasic(c_userProfile_UE1atSUThome, p_cSeq_s); // assignment of PIXIT values to component variable f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); // Testbody // prepare and send INVITE UE2@SUT LibIms_Steps.f_setHeadersINVITE( vc_cSeq, c_userProfile_UE2atSUThome ); f_SendINVITE(m_INVITE_Request_UE( vc_requestUri, vc_callId, vc_cSeq, vc_from, vc_to, vc_via, vc_contact, omit, vc_route, omit, m_MBody_SDP(vc_sdp_local) )); // await 180 response without // 100rel in require header field f_awaitingResponse(mw_Response_Require_ifpresent( c_statusLine180, vc_callId, vc_cSeq, mw_Require_not_100rel )); // await 200 OK response f_awaitingOkResponse(vc_cSeq); // send ACK f_SendACK(m_ACK_Request_Base( vc_requestUri, vc_callId, vc_cSeq, vc_from, vc_to, vc_via )); // check media f_check_Conversation(); //SendBYE and await response f_terminateCall_UE( vc_requestUri, vc_callId, vc_cSeq, vc_caller_From, vc_caller_To ); f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); // postamble f_IMS_postamble_withDeRegistration(vc_cSeq); } // end function f_AtsNIT_TC_SS___XX__03UE1 /* * @desc This is the test case function (terminating side) for AtsNIT_TC_SS___XX__03 * @param p_CSeq_s Transaction Id */ function f_AtsNIT_TC_SS___XX__03UE2(in CSeq p_cSeq_s) runs on ImsComponent { f_IMS_preamble_withRegistrationBasic(c_userProfile_UE2atSUThome, p_cSeq_s); // assignment of PIXIT values to component variable f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); // Testbody f_awaitingINVITE(mw_INVITE_Request_require( mw_Require_not_100rel )); f_sendResponse(m_Response_18XonINVITE_Require_ifpresent( c_statusLine180, vc_callId, vc_cSeq, vc_caller_From, vc_caller_To, vc_via, vc_contact, mw_Require_not_100rel )); f_sendResponse(m_Response_2xxonINVITE_UE( c_statusLine200, vc_callId, vc_cSeq, vc_caller_From, vc_caller_To, vc_via,vc_contact, f_route(), valueof(m_MBody_SDP(vc_sdp_local)) )); // await ACK f_awaitingACK(mw_ACK_Request_Base(vc_callId)); // check media f_check_Conversation(); //await BYE and send 200OK f_awaitingBYE_sendReply(mw_BYE_Request_Base(vc_callId)); f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); // postamble f_IMS_postamble_withDeRegistration(vc_cSeq); } // end function f_AtsNIT_TC_SS___XX__03UE2 } // end group TP1_1_1_BC_Normal_Call_Esthablishment Loading Loading
AtsNIT_SipSip/ttcn/AtsNIT_SipSip_BC_TCFunctions.ttcn +123 −2 Original line number Diff line number Diff line Loading @@ -287,7 +287,7 @@ module AtsNIT_SipSip_BC_TCFunctions { // postamble f_IMS_postamble_withDeRegistration(vc_cSeq); } // end function f_AtsNIT_TC_SS___XX__01UE1 } // end function f_AtsNIT_TC_SS___XX__02UE1 /* * @desc This is the test case function (terminating side) for AtsNIT_TC_SS___XX__02 Loading Loading @@ -382,7 +382,128 @@ module AtsNIT_SipSip_BC_TCFunctions { // postamble f_IMS_postamble_withDeRegistration(vc_cSeq); } // end function f_AtsNIT_TC_SS___XX__01UE2 } // end function f_AtsNIT_TC_SS___XX__02UE2 /* * @desc This is the test case function (originating side) for AtsNIT_TC_SS___XX__03 * @param p_CSeq_s Transaction Id */ function f_AtsNIT_TC_SS___XX__03UE1(in CSeq p_cSeq_s) runs on ImsComponent { f_IMS_preamble_withRegistrationBasic(c_userProfile_UE1atSUThome, p_cSeq_s); // assignment of PIXIT values to component variable f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); // Testbody // prepare and send INVITE UE2@SUT LibIms_Steps.f_setHeadersINVITE( vc_cSeq, c_userProfile_UE2atSUThome ); f_SendINVITE(m_INVITE_Request_UE( vc_requestUri, vc_callId, vc_cSeq, vc_from, vc_to, vc_via, vc_contact, omit, vc_route, omit, m_MBody_SDP(vc_sdp_local) )); // await 180 response without // 100rel in require header field f_awaitingResponse(mw_Response_Require_ifpresent( c_statusLine180, vc_callId, vc_cSeq, mw_Require_not_100rel )); // await 200 OK response f_awaitingOkResponse(vc_cSeq); // send ACK f_SendACK(m_ACK_Request_Base( vc_requestUri, vc_callId, vc_cSeq, vc_from, vc_to, vc_via )); // check media f_check_Conversation(); //SendBYE and await response f_terminateCall_UE( vc_requestUri, vc_callId, vc_cSeq, vc_caller_From, vc_caller_To ); f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); // postamble f_IMS_postamble_withDeRegistration(vc_cSeq); } // end function f_AtsNIT_TC_SS___XX__03UE1 /* * @desc This is the test case function (terminating side) for AtsNIT_TC_SS___XX__03 * @param p_CSeq_s Transaction Id */ function f_AtsNIT_TC_SS___XX__03UE2(in CSeq p_cSeq_s) runs on ImsComponent { f_IMS_preamble_withRegistrationBasic(c_userProfile_UE2atSUThome, p_cSeq_s); // assignment of PIXIT values to component variable f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); // Testbody f_awaitingINVITE(mw_INVITE_Request_require( mw_Require_not_100rel )); f_sendResponse(m_Response_18XonINVITE_Require_ifpresent( c_statusLine180, vc_callId, vc_cSeq, vc_caller_From, vc_caller_To, vc_via, vc_contact, mw_Require_not_100rel )); f_sendResponse(m_Response_2xxonINVITE_UE( c_statusLine200, vc_callId, vc_cSeq, vc_caller_From, vc_caller_To, vc_via,vc_contact, f_route(), valueof(m_MBody_SDP(vc_sdp_local)) )); // await ACK f_awaitingACK(mw_ACK_Request_Base(vc_callId)); // check media f_check_Conversation(); //await BYE and send 200OK f_awaitingBYE_sendReply(mw_BYE_Request_Base(vc_callId)); f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); // postamble f_IMS_postamble_withDeRegistration(vc_cSeq); } // end function f_AtsNIT_TC_SS___XX__03UE2 } // end group TP1_1_1_BC_Normal_Call_Esthablishment Loading