Loading AtsCommon/SipIsup_IMS_TCFunctions.ttcn +92 −0 Original line number Diff line number Diff line Loading @@ -7815,6 +7815,98 @@ module SipIsup_IMS_TCFunctions { } // end group TP306_Sending_CON group TP307_Receiving_REL { /* * @desc This is the test case function (IMS/SIP side) for TC_307_001 * @param loc_CSeq_s - Transaction Id */ function f_IMS_TC_307_001(in CSeq p_cSeq_s) runs on ImsComponent { // PREAMBLE // IMS component interface initialization //c_userProfile_ICSCFwithHomeUE or c_userProfile_IBCFwithHomeUE f_IMS_preamble_MGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());// sync point preamble done // TESTBODY f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict());// sync point test body done // POSTAMBLE f_SIP_postamble_IMS1_withoutRegistration () }// end function f_IMS_TC_307_001 /* * @desc This is the test case function (IMS/SIP side) for TC_307_002 * @param loc_CSeq_s - Transaction Id */ function f_IMS_TC_307_002(in CSeq p_cSeq_s) runs on ImsComponent { // PREAMBLE // IMS component interface initialization //c_userProfile_ICSCFwithHomeUE or c_userProfile_IBCFwithHomeUE f_IMS_preamble_MGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());// sync point preamble done // TESTBODY //Awaiting INVITE f_awaitingINVITE_No100Response(mw_INVITE_Request_IMS(*,*,*,*)); f_sendResponse(m_Response_2xxonINVITE(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)))); f_awaitingACK(mw_ACK_Request_Base(vc_callId)); //await BYE - also check cause and send 200 OK f_awaitingBYE_sendReply(mw_BYE_Request_Reason(vc_callId,PX_CauseValue)); f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict());// sync point test body done // POSTAMBLE f_SIP_postamble_IMS1_withoutRegistration () }// end function f_IMS_TC_307_002 /* * @desc This is the test case function (IMS/SIP side) for TC_307_003 * @param loc_CSeq_s - Transaction Id */ function f_IMS_TC_307_003(in CSeq p_cSeq_s) runs on ImsComponent { var INVITE_Request v_InviteReq; var CANCEL_Request v_CancelReq; // PREAMBLE // IMS component interface initialization //c_userProfile_ICSCFwithHomeUE or c_userProfile_IBCFwithHomeUE f_IMS_preamble_MGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());// sync point preamble done // TESTBODY //Awaiting INVITE f_awaitingINVITE(mw_INVITE_Request_IMS(*,*,*,*)); v_InviteReq:=vc_request; f_selfOrClientSyncAndVerdict(c_sync1, f_getVerdict());// sync point f_awaitingCANCEL(mw_CANCEL_Request_Base(vc_callId)); v_CancelReq:=vc_request; f_setHeadersOnReceiptOfRequest(v_InviteReq); f_sendResponse(m_Response_2xxonINVITE(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)))); f_setHeadersOnReceiptOfRequest(v_CancelReq); f_sendResponse(m_Response_2xxonCANCEL(c_statusLine200,vc_callId, vc_cSeq,vc_caller_From, vc_caller_To, vc_via,vc_contact,f_route())); f_awaitingACK(mw_ACK_Request_Base(vc_callId)); //await BYE - also check cause and send 200 OK f_awaitingBYE_sendReply(mw_BYE_Request_Reason(vc_callId,PX_CauseValue)); f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict());// sync point test body done // POSTAMBLE f_SIP_postamble_IMS1_withoutRegistration () }// end function f_IMS_TC_307_003 } // end group TP307_ReceiptREL group TP308_Sending_REL { Loading Loading
AtsCommon/SipIsup_IMS_TCFunctions.ttcn +92 −0 Original line number Diff line number Diff line Loading @@ -7815,6 +7815,98 @@ module SipIsup_IMS_TCFunctions { } // end group TP306_Sending_CON group TP307_Receiving_REL { /* * @desc This is the test case function (IMS/SIP side) for TC_307_001 * @param loc_CSeq_s - Transaction Id */ function f_IMS_TC_307_001(in CSeq p_cSeq_s) runs on ImsComponent { // PREAMBLE // IMS component interface initialization //c_userProfile_ICSCFwithHomeUE or c_userProfile_IBCFwithHomeUE f_IMS_preamble_MGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());// sync point preamble done // TESTBODY f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict());// sync point test body done // POSTAMBLE f_SIP_postamble_IMS1_withoutRegistration () }// end function f_IMS_TC_307_001 /* * @desc This is the test case function (IMS/SIP side) for TC_307_002 * @param loc_CSeq_s - Transaction Id */ function f_IMS_TC_307_002(in CSeq p_cSeq_s) runs on ImsComponent { // PREAMBLE // IMS component interface initialization //c_userProfile_ICSCFwithHomeUE or c_userProfile_IBCFwithHomeUE f_IMS_preamble_MGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());// sync point preamble done // TESTBODY //Awaiting INVITE f_awaitingINVITE_No100Response(mw_INVITE_Request_IMS(*,*,*,*)); f_sendResponse(m_Response_2xxonINVITE(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)))); f_awaitingACK(mw_ACK_Request_Base(vc_callId)); //await BYE - also check cause and send 200 OK f_awaitingBYE_sendReply(mw_BYE_Request_Reason(vc_callId,PX_CauseValue)); f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict());// sync point test body done // POSTAMBLE f_SIP_postamble_IMS1_withoutRegistration () }// end function f_IMS_TC_307_002 /* * @desc This is the test case function (IMS/SIP side) for TC_307_003 * @param loc_CSeq_s - Transaction Id */ function f_IMS_TC_307_003(in CSeq p_cSeq_s) runs on ImsComponent { var INVITE_Request v_InviteReq; var CANCEL_Request v_CancelReq; // PREAMBLE // IMS component interface initialization //c_userProfile_ICSCFwithHomeUE or c_userProfile_IBCFwithHomeUE f_IMS_preamble_MGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());// sync point preamble done // TESTBODY //Awaiting INVITE f_awaitingINVITE(mw_INVITE_Request_IMS(*,*,*,*)); v_InviteReq:=vc_request; f_selfOrClientSyncAndVerdict(c_sync1, f_getVerdict());// sync point f_awaitingCANCEL(mw_CANCEL_Request_Base(vc_callId)); v_CancelReq:=vc_request; f_setHeadersOnReceiptOfRequest(v_InviteReq); f_sendResponse(m_Response_2xxonINVITE(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)))); f_setHeadersOnReceiptOfRequest(v_CancelReq); f_sendResponse(m_Response_2xxonCANCEL(c_statusLine200,vc_callId, vc_cSeq,vc_caller_From, vc_caller_To, vc_via,vc_contact,f_route())); f_awaitingACK(mw_ACK_Request_Base(vc_callId)); //await BYE - also check cause and send 200 OK f_awaitingBYE_sendReply(mw_BYE_Request_Reason(vc_callId,PX_CauseValue)); f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict());// sync point test body done // POSTAMBLE f_SIP_postamble_IMS1_withoutRegistration () }// end function f_IMS_TC_307_003 } // end group TP307_ReceiptREL group TP308_Sending_REL { Loading