Loading AtsCommon/SipIsup_IMS_TCFunctions.ttcn +178 −0 Original line number Diff line number Diff line Loading @@ -9991,6 +9991,126 @@ module SipIsup_IMS_TCFunctions { } // end group TP505_3PTY group TP506_COL { /* * @desc This is the test case function (SIP side) for TC_506_001 * @param p_CSeq_s Transaction Id */ function f_IMS_TC_506_001(in CSeq p_cSeq_s) runs on ImsComponent { f_IMS_TC_101_001(p_cSeq_s); } // end function f_IMS_TC_506_001 /* * @desc This is the test case function (SIP side) for TC_506_002 * @param p_CSeq_s Transaction Id */ function f_IMS_TC_506_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 // 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_check_Ringing(); //Check in 200 OK if PAsserted header has number in international format f_awaitingResponse(mw_Response_PAsserted_Privacy(c_statusLine200,vc_callId, vc_cSeq,mw_PAssertedID(mw_PAssertedIDValue(mw_TelSipUrl_Number(m_international_number_format))),*)); 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_506_002 /* @desc This is the test case function (SIP side) for TC_506_003 * @param p_CSeq_s Transaction Id */ function f_IMS_TC_506_003(in CSeq p_cSeq_s) runs on ImsComponent { f_IMS_TC_506_002(p_cSeq_s); } // end function f_IMS_TC_506_003 /* @desc This is the test case function (SIP side) for TC_506_004 * @param p_CSeq_s Transaction Id */ function f_IMS_TC_506_004(in CSeq p_cSeq_s) runs on ImsComponent { f_IMS_TC_506_002(p_cSeq_s); } // end function f_IMS_TC_506_004 /* @desc This is the test case function (SIP side) for TC_506_005 * @param p_CSeq_s Transaction Id */ function f_IMS_TC_506_005(in CSeq p_cSeq_s) runs on ImsComponent { f_IMS_TC_506_002(p_cSeq_s); } // end function f_IMS_TC_506_005 /* * @desc This is the test case function (SIP side) for TC_506_006 * @param p_CSeq_s Transaction Id */ function f_IMS_TC_506_006(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_check_Ringing(); //Check in 200 OK if PAsserted header has number in international format // and privacy has "id" f_awaitingResponse(mw_Response_PAsserted_Privacy(c_statusLine200,vc_callId, vc_cSeq,mw_PAssertedID(mw_PAssertedIDValue(mw_TelSipUrl_Number(m_international_number_format))),mw_Privacy_id)); 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_506_006 /* @desc This is the test case function (SIP side) for TC_506_007 * @param p_CSeq_s Transaction Id */ function f_IMS_TC_506_007(in CSeq p_cSeq_s) runs on ImsComponent { f_IMS_TC_506_006(p_cSeq_s); } // end function f_IMS_TC_506_007 /* @desc This is the test case function (SIP side) for TC_506_008 * @param p_CSeq_s Transaction Id */ function f_IMS_TC_506_008(in CSeq p_cSeq_s) runs on ImsComponent { f_IMS_TC_506_006(p_cSeq_s); } // end function f_IMS_TC_506_008 /* @desc This is the test case function (SIP side) for TC_506_009 * @param p_CSeq_s Transaction Id */ function f_IMS_TC_506_009(in CSeq p_cSeq_s) runs on ImsComponent { f_IMS_TC_506_006(p_cSeq_s); } // end function f_IMS_TC_506_009 } // end group TP506_COL group TP507_MCID { Loading @@ -10000,6 +10120,64 @@ module SipIsup_IMS_TCFunctions { } // end group TP508_SUB group TP509_CDIV { /* * @desc This is the test case function (SIP side) for TC_509_001 * @param p_CSeq_s Transaction Id */ function f_IMS_TC_509_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_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_509_001 /* * @desc This is the test case function (SIP side) for TC_509_002 * @param p_CSeq_s Transaction Id */ function f_IMS_TC_509_002(in CSeq p_cSeq_s) runs on ImsComponent { f_IMS_TC_509_001(p_cSeq_s); } // end function f_IMS_TC_509_002 /* * @desc This is the test case function (SIP side) for TC_509_003 * @param p_CSeq_s Transaction Id */ function f_IMS_TC_509_003(in CSeq p_cSeq_s) runs on ImsComponent { f_IMS_TC_509_001(p_cSeq_s); } // end function f_IMS_TC_511_003 /* * @desc This is the test case function (SIP side) for TC_509_004 * @param p_CSeq_s Transaction Id */ function f_IMS_TC_509_004(in CSeq p_cSeq_s) runs on ImsComponent { f_IMS_TC_509_001(p_cSeq_s); } // end function f_IMS_TC_509_004 } // end group TP509_CDIV group TP510_CW { Loading Loading
AtsCommon/SipIsup_IMS_TCFunctions.ttcn +178 −0 Original line number Diff line number Diff line Loading @@ -9991,6 +9991,126 @@ module SipIsup_IMS_TCFunctions { } // end group TP505_3PTY group TP506_COL { /* * @desc This is the test case function (SIP side) for TC_506_001 * @param p_CSeq_s Transaction Id */ function f_IMS_TC_506_001(in CSeq p_cSeq_s) runs on ImsComponent { f_IMS_TC_101_001(p_cSeq_s); } // end function f_IMS_TC_506_001 /* * @desc This is the test case function (SIP side) for TC_506_002 * @param p_CSeq_s Transaction Id */ function f_IMS_TC_506_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 // 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_check_Ringing(); //Check in 200 OK if PAsserted header has number in international format f_awaitingResponse(mw_Response_PAsserted_Privacy(c_statusLine200,vc_callId, vc_cSeq,mw_PAssertedID(mw_PAssertedIDValue(mw_TelSipUrl_Number(m_international_number_format))),*)); 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_506_002 /* @desc This is the test case function (SIP side) for TC_506_003 * @param p_CSeq_s Transaction Id */ function f_IMS_TC_506_003(in CSeq p_cSeq_s) runs on ImsComponent { f_IMS_TC_506_002(p_cSeq_s); } // end function f_IMS_TC_506_003 /* @desc This is the test case function (SIP side) for TC_506_004 * @param p_CSeq_s Transaction Id */ function f_IMS_TC_506_004(in CSeq p_cSeq_s) runs on ImsComponent { f_IMS_TC_506_002(p_cSeq_s); } // end function f_IMS_TC_506_004 /* @desc This is the test case function (SIP side) for TC_506_005 * @param p_CSeq_s Transaction Id */ function f_IMS_TC_506_005(in CSeq p_cSeq_s) runs on ImsComponent { f_IMS_TC_506_002(p_cSeq_s); } // end function f_IMS_TC_506_005 /* * @desc This is the test case function (SIP side) for TC_506_006 * @param p_CSeq_s Transaction Id */ function f_IMS_TC_506_006(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_check_Ringing(); //Check in 200 OK if PAsserted header has number in international format // and privacy has "id" f_awaitingResponse(mw_Response_PAsserted_Privacy(c_statusLine200,vc_callId, vc_cSeq,mw_PAssertedID(mw_PAssertedIDValue(mw_TelSipUrl_Number(m_international_number_format))),mw_Privacy_id)); 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_506_006 /* @desc This is the test case function (SIP side) for TC_506_007 * @param p_CSeq_s Transaction Id */ function f_IMS_TC_506_007(in CSeq p_cSeq_s) runs on ImsComponent { f_IMS_TC_506_006(p_cSeq_s); } // end function f_IMS_TC_506_007 /* @desc This is the test case function (SIP side) for TC_506_008 * @param p_CSeq_s Transaction Id */ function f_IMS_TC_506_008(in CSeq p_cSeq_s) runs on ImsComponent { f_IMS_TC_506_006(p_cSeq_s); } // end function f_IMS_TC_506_008 /* @desc This is the test case function (SIP side) for TC_506_009 * @param p_CSeq_s Transaction Id */ function f_IMS_TC_506_009(in CSeq p_cSeq_s) runs on ImsComponent { f_IMS_TC_506_006(p_cSeq_s); } // end function f_IMS_TC_506_009 } // end group TP506_COL group TP507_MCID { Loading @@ -10000,6 +10120,64 @@ module SipIsup_IMS_TCFunctions { } // end group TP508_SUB group TP509_CDIV { /* * @desc This is the test case function (SIP side) for TC_509_001 * @param p_CSeq_s Transaction Id */ function f_IMS_TC_509_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_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_509_001 /* * @desc This is the test case function (SIP side) for TC_509_002 * @param p_CSeq_s Transaction Id */ function f_IMS_TC_509_002(in CSeq p_cSeq_s) runs on ImsComponent { f_IMS_TC_509_001(p_cSeq_s); } // end function f_IMS_TC_509_002 /* * @desc This is the test case function (SIP side) for TC_509_003 * @param p_CSeq_s Transaction Id */ function f_IMS_TC_509_003(in CSeq p_cSeq_s) runs on ImsComponent { f_IMS_TC_509_001(p_cSeq_s); } // end function f_IMS_TC_511_003 /* * @desc This is the test case function (SIP side) for TC_509_004 * @param p_CSeq_s Transaction Id */ function f_IMS_TC_509_004(in CSeq p_cSeq_s) runs on ImsComponent { f_IMS_TC_509_001(p_cSeq_s); } // end function f_IMS_TC_509_004 } // end group TP509_CDIV group TP510_CW { Loading