Loading AtsCommon/SipIsup_IMS_TCFunctions.ttcn +94 −0 Original line number Diff line number Diff line Loading @@ -10114,9 +10114,103 @@ module SipIsup_IMS_TCFunctions { } // end group TP506_COL group TP507_MCID { /* * @desc This is the test case function (SIP side) for TC_507_001 * @param p_CSeq_s Transaction Id */ function f_IMS_TC_507_001(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 // INVITE UE1 LibIms_Steps.f_setHeadersINVITE(vc_cSeq, c_userProfile_ISUP); f_SendINVITE(m_INVITE_Request_IMS(vc_requestUri, vc_callId, vc_cSeq, vc_from, vc_to, vc_via, vc_contact, omit, vc_route, vc_recordRoute, omit, omit, m_MBody_SDP(vc_sdp_local))); f_awaitingResponse(mw_Response_Base(c_statusLine180,vc_callId, vc_cSeq)); f_selfOrClientSyncAndVerdict(c_sync1, f_getVerdict());// sync 1 f_check_Ringing(); f_awaitingResponse(mw_Response_Base(c_statusLine200,vc_callId, vc_cSeq)); f_SendACK(m_ACK_Request_Base(vc_requestUri, vc_callId, vc_cSeq, vc_from, vc_to, vc_via)); f_check_Conversation(); //await BYE and send 200 OK f_awaitingBYE_sendReply(mw_BYE_Request_Base(vc_callId)); f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); f_SIP_postamble_IMS1_withoutRegistration(); } // end function f_IMS_TC_507_001 /* @desc This is the test case function (SIP side) for TC_507_002 * @param p_CSeq_s Transaction Id */ function f_IMS_TC_507_002(in CSeq p_cSeq_s) runs on ImsComponent { f_IMS_TC_507_001(p_cSeq_s); } // end function f_IMS_TC_507_002 } // end group TP507_MCID group TP508_SUB { /* * @desc This is the test case function (SIP side) for TC_508_001 * @param p_CSeq_s Transaction Id */ function f_IMS_TC_508_001(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 // INVITE UE1 LibIms_Steps.f_setHeadersINVITE(vc_cSeq, c_userProfile_ISUP); f_SendINVITE( m_INVITE_Request_PAsserted_Privacy_IMS( vc_requestUri, vc_callId, vc_cSeq, vc_from, vc_to, vc_via, vc_contact, m_Require_prec, vc_route, vc_recordRoute, /*TODO check passerted with isub=... */ m_PAssertedID(m_AddrUnion_NameAddr(PX_SIP_NameAddr_PAsserted)), //PAsserted omit, //Privacy omit, //Supported omit, //ChargingVector m_MBody_SDP(vc_sdp_local) ) ); f_awaitingResponse(mw_Response_Base(c_statusLine180,vc_callId, vc_cSeq)); f_check_Ringing(); f_awaitingResponse(mw_Response_Base(c_statusLine200,vc_callId, vc_cSeq)); f_SendACK(m_ACK_Request_Base(vc_requestUri, vc_callId, vc_cSeq, vc_from, vc_to, vc_via)); f_check_Conversation(); //Send BYE and awaiting response f_terminateCall_IMS(vc_requestUri, vc_callId, vc_cSeq, vc_caller_From, vc_caller_To); f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); f_SIP_postamble_IMS1_withoutRegistration(); } // end function f_IMS_TC_508_001 } // end group TP508_SUB group TP509_CDIV { Loading Loading
AtsCommon/SipIsup_IMS_TCFunctions.ttcn +94 −0 Original line number Diff line number Diff line Loading @@ -10114,9 +10114,103 @@ module SipIsup_IMS_TCFunctions { } // end group TP506_COL group TP507_MCID { /* * @desc This is the test case function (SIP side) for TC_507_001 * @param p_CSeq_s Transaction Id */ function f_IMS_TC_507_001(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 // INVITE UE1 LibIms_Steps.f_setHeadersINVITE(vc_cSeq, c_userProfile_ISUP); f_SendINVITE(m_INVITE_Request_IMS(vc_requestUri, vc_callId, vc_cSeq, vc_from, vc_to, vc_via, vc_contact, omit, vc_route, vc_recordRoute, omit, omit, m_MBody_SDP(vc_sdp_local))); f_awaitingResponse(mw_Response_Base(c_statusLine180,vc_callId, vc_cSeq)); f_selfOrClientSyncAndVerdict(c_sync1, f_getVerdict());// sync 1 f_check_Ringing(); f_awaitingResponse(mw_Response_Base(c_statusLine200,vc_callId, vc_cSeq)); f_SendACK(m_ACK_Request_Base(vc_requestUri, vc_callId, vc_cSeq, vc_from, vc_to, vc_via)); f_check_Conversation(); //await BYE and send 200 OK f_awaitingBYE_sendReply(mw_BYE_Request_Base(vc_callId)); f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); f_SIP_postamble_IMS1_withoutRegistration(); } // end function f_IMS_TC_507_001 /* @desc This is the test case function (SIP side) for TC_507_002 * @param p_CSeq_s Transaction Id */ function f_IMS_TC_507_002(in CSeq p_cSeq_s) runs on ImsComponent { f_IMS_TC_507_001(p_cSeq_s); } // end function f_IMS_TC_507_002 } // end group TP507_MCID group TP508_SUB { /* * @desc This is the test case function (SIP side) for TC_508_001 * @param p_CSeq_s Transaction Id */ function f_IMS_TC_508_001(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 // INVITE UE1 LibIms_Steps.f_setHeadersINVITE(vc_cSeq, c_userProfile_ISUP); f_SendINVITE( m_INVITE_Request_PAsserted_Privacy_IMS( vc_requestUri, vc_callId, vc_cSeq, vc_from, vc_to, vc_via, vc_contact, m_Require_prec, vc_route, vc_recordRoute, /*TODO check passerted with isub=... */ m_PAssertedID(m_AddrUnion_NameAddr(PX_SIP_NameAddr_PAsserted)), //PAsserted omit, //Privacy omit, //Supported omit, //ChargingVector m_MBody_SDP(vc_sdp_local) ) ); f_awaitingResponse(mw_Response_Base(c_statusLine180,vc_callId, vc_cSeq)); f_check_Ringing(); f_awaitingResponse(mw_Response_Base(c_statusLine200,vc_callId, vc_cSeq)); f_SendACK(m_ACK_Request_Base(vc_requestUri, vc_callId, vc_cSeq, vc_from, vc_to, vc_via)); f_check_Conversation(); //Send BYE and awaiting response f_terminateCall_IMS(vc_requestUri, vc_callId, vc_cSeq, vc_caller_From, vc_caller_To); f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); f_SIP_postamble_IMS1_withoutRegistration(); } // end function f_IMS_TC_508_001 } // end group TP508_SUB group TP509_CDIV { Loading