Loading AtsCommon/SipIsup_IMS_TCFunctions.ttcn +100 −0 Original line number Diff line number Diff line Loading @@ -12778,6 +12778,106 @@ module SipIsup_IMS_TCFunctions { } // end group TP607_SUB group TP608_CUG { /* * @desc This is the test case function (SIP side) for TC_608_001 * @param p_CSeq_s Transaction Id */ function f_IMS_TC_608_001(in CSeq p_cSeq_s) runs on ImsComponent { f_IMS_TC_101_001(p_cSeq_s); } // end function f_IMS_TC_608_001 /* * @desc This is the test case function (SIP side) for TC_608_002 * @param p_CSeq_s Transaction Id */ function f_IMS_TC_608_002(in CSeq p_cSeq_s) runs on ImsComponent { //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()); // Testbody // no activity f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); f_SIP_postamble_IMS1_withoutRegistration(); } // end function f_IMS_TC_608_002 /* * @desc This is the test case function (IMS/SIP side) for TC_608_003 * @param loc_CSeq_s - Transaction Id */ function f_IMS_TC_608_003(in CSeq p_cSeq_s) runs on ImsComponent { var INVITE_Request v_InviteReq; // 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 with communication indicator "10" f_awaitingINVITE(mw_INVITE_Request_MB(vc_callId,mw_MBody_XML(mw_XmlBody_CUG(mw_CUG(*,PX_CUG_NetworkIndicator,PX_CUG_InterlockBinaryCode,"10"))))); f_sendResponse(m_Response_18XonINVITE_UE(c_statusLine180,vc_callId, vc_cSeq,vc_caller_From, vc_caller_To, vc_via,vc_contact)); f_selfOrClientSyncAndVerdict(c_sync1, f_getVerdict());// sync point f_sendResponse(m_Response_2XXonINVITE_supported_privacy_UE(c_statusLine200,vc_callId, vc_cSeq,vc_caller_From, vc_caller_To, vc_via,vc_contact, m_Supported_fromChange ,omit,f_route(),valueof(m_MBody_SDP(vc_sdp_local)))); f_awaitingACK(mw_ACK_Request_Base(vc_callId)); f_check_Conversation(); //await BYE and send 200 OK f_awaitingBYE_sendReply(mw_BYE_Request_Base(vc_callId)); f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict());// sync point test body done // POSTAMBLE f_SIP_postamble_IMS1_withoutRegistration () }// end function f_IMS_TC_608_003 /* * @desc This is the test case function (IMS/SIP side) for TC_608_004 * @param loc_CSeq_s - Transaction Id */ function f_IMS_TC_608_004(in CSeq p_cSeq_s) runs on ImsComponent { var INVITE_Request v_InviteReq; // 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 with communication indicator "11" f_awaitingINVITE(mw_INVITE_Request_MB(vc_callId,mw_MBody_XML(mw_XmlBody_CUG(mw_CUG(*,PX_CUG_NetworkIndicator,PX_CUG_InterlockBinaryCode,"11"))))); f_sendResponse(m_Response_18XonINVITE_UE(c_statusLine180,vc_callId, vc_cSeq,vc_caller_From, vc_caller_To, vc_via,vc_contact)); f_selfOrClientSyncAndVerdict(c_sync1, f_getVerdict());// sync point f_sendResponse(m_Response_2XXonINVITE_supported_privacy_UE(c_statusLine200,vc_callId, vc_cSeq,vc_caller_From, vc_caller_To, vc_via,vc_contact, m_Supported_fromChange ,omit,f_route(),valueof(m_MBody_SDP(vc_sdp_local)))); f_awaitingACK(mw_ACK_Request_Base(vc_callId)); f_check_Conversation(); //await BYE and send 200 OK f_awaitingBYE_sendReply(mw_BYE_Request_Base(vc_callId)); f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict());// sync point test body done // POSTAMBLE f_SIP_postamble_IMS1_withoutRegistration () }// end function f_IMS_TC_608_004 } // end group TP608_CUG group TP609_CDIV { Loading
AtsCommon/SipIsup_IMS_TCFunctions.ttcn +100 −0 Original line number Diff line number Diff line Loading @@ -12778,6 +12778,106 @@ module SipIsup_IMS_TCFunctions { } // end group TP607_SUB group TP608_CUG { /* * @desc This is the test case function (SIP side) for TC_608_001 * @param p_CSeq_s Transaction Id */ function f_IMS_TC_608_001(in CSeq p_cSeq_s) runs on ImsComponent { f_IMS_TC_101_001(p_cSeq_s); } // end function f_IMS_TC_608_001 /* * @desc This is the test case function (SIP side) for TC_608_002 * @param p_CSeq_s Transaction Id */ function f_IMS_TC_608_002(in CSeq p_cSeq_s) runs on ImsComponent { //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()); // Testbody // no activity f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); f_SIP_postamble_IMS1_withoutRegistration(); } // end function f_IMS_TC_608_002 /* * @desc This is the test case function (IMS/SIP side) for TC_608_003 * @param loc_CSeq_s - Transaction Id */ function f_IMS_TC_608_003(in CSeq p_cSeq_s) runs on ImsComponent { var INVITE_Request v_InviteReq; // 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 with communication indicator "10" f_awaitingINVITE(mw_INVITE_Request_MB(vc_callId,mw_MBody_XML(mw_XmlBody_CUG(mw_CUG(*,PX_CUG_NetworkIndicator,PX_CUG_InterlockBinaryCode,"10"))))); f_sendResponse(m_Response_18XonINVITE_UE(c_statusLine180,vc_callId, vc_cSeq,vc_caller_From, vc_caller_To, vc_via,vc_contact)); f_selfOrClientSyncAndVerdict(c_sync1, f_getVerdict());// sync point f_sendResponse(m_Response_2XXonINVITE_supported_privacy_UE(c_statusLine200,vc_callId, vc_cSeq,vc_caller_From, vc_caller_To, vc_via,vc_contact, m_Supported_fromChange ,omit,f_route(),valueof(m_MBody_SDP(vc_sdp_local)))); f_awaitingACK(mw_ACK_Request_Base(vc_callId)); f_check_Conversation(); //await BYE and send 200 OK f_awaitingBYE_sendReply(mw_BYE_Request_Base(vc_callId)); f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict());// sync point test body done // POSTAMBLE f_SIP_postamble_IMS1_withoutRegistration () }// end function f_IMS_TC_608_003 /* * @desc This is the test case function (IMS/SIP side) for TC_608_004 * @param loc_CSeq_s - Transaction Id */ function f_IMS_TC_608_004(in CSeq p_cSeq_s) runs on ImsComponent { var INVITE_Request v_InviteReq; // 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 with communication indicator "11" f_awaitingINVITE(mw_INVITE_Request_MB(vc_callId,mw_MBody_XML(mw_XmlBody_CUG(mw_CUG(*,PX_CUG_NetworkIndicator,PX_CUG_InterlockBinaryCode,"11"))))); f_sendResponse(m_Response_18XonINVITE_UE(c_statusLine180,vc_callId, vc_cSeq,vc_caller_From, vc_caller_To, vc_via,vc_contact)); f_selfOrClientSyncAndVerdict(c_sync1, f_getVerdict());// sync point f_sendResponse(m_Response_2XXonINVITE_supported_privacy_UE(c_statusLine200,vc_callId, vc_cSeq,vc_caller_From, vc_caller_To, vc_via,vc_contact, m_Supported_fromChange ,omit,f_route(),valueof(m_MBody_SDP(vc_sdp_local)))); f_awaitingACK(mw_ACK_Request_Base(vc_callId)); f_check_Conversation(); //await BYE and send 200 OK f_awaitingBYE_sendReply(mw_BYE_Request_Base(vc_callId)); f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict());// sync point test body done // POSTAMBLE f_SIP_postamble_IMS1_withoutRegistration () }// end function f_IMS_TC_608_004 } // end group TP608_CUG group TP609_CDIV {