Commit 778b6c3a authored by pintar's avatar pintar
Browse files

TC101 001

parent 4957854a
Loading
Loading
Loading
Loading
+28 −0
Original line number Diff line number Diff line
@@ -41,6 +41,34 @@ module SipIsup_IMS_TCFunctions {
	group BasicCall {
		group TP1_InterworkingFromSIPtoISUP {
			group TP101_Sending_IAM {
				/* 
				* @desc		This is the test case function (SIP side) for TC_101_001
				* @param	p_CSeq_s Transaction Id
				*/
				function f_IMS_TC_101_001(in CSeq p_cSeq_s) runs on SipComponent {
					//c_userProfile_ICSCFwithHomeUE or c_userProfile_IBCFwithHomeUE
					f_IMS_preamble_woRegistration(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(p_cSeq_s, c_userProfile_ISUP);
					f_SendINVITE(m_INVITE_Request_Base(vc_requestUri, vc_callId, p_cSeq_s, vc_from, vc_to, vc_via, vc_contact));
					
					f_awaitingResponse(mw_Response_Base(c_statusLine180,vc_callId, vc_cSeq)); 
					
					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_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict());
					
					//Send BYE and awaiting response
					f_terminateCall_IMS(vc_requestUri, vc_callId, vc_cSeq, vc_caller_From, vc_caller_To);
					f_SIP_postamble_IMS1_withoutRegistration();
				} // end function f_IMS_TC_101_001
				
			} // end group TP101_SendingIAM

			group TP102_Sending_SAM {