Commit 96075a4f authored by pintar's avatar pintar
Browse files

group 612 and 614

parent 04a55063
Loading
Loading
Loading
Loading
+265 −2
Original line number Diff line number Diff line
@@ -12890,12 +12890,275 @@ module SipIsup_IMS_TCFunctions {
			} // end group TP611_ECT
									
			group TP612_ACR {
			 
				/* 
				*  @desc	This is the test case function (IMS/SIP side) for TC_612_001
				*  @param	loc_CSeq_s - Transaction Id
				*/
				function f_IMS_TC_612_001(in CSeq p_cSeq_s) runs on ImsComponent {
				
					// PREAMBLE
					// IMS component interface initialization
					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(*,*,*,*));

					f_sendResponse(m_Response_onINVITE(c_statusLine433,vc_callId, vc_cSeq,vc_caller_From, vc_caller_To, vc_via,vc_contact,f_route()));
					f_awaitingACK(mw_ACK_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_612_001	
			 
				/* 
				*  @desc	This is the test case function (IMS/SIP side) for TC_612_002
				*  @param	loc_CSeq_s - Transaction Id
				*/
				function f_IMS_TC_612_002(in CSeq p_cSeq_s) runs on ImsComponent {
				
					// PREAMBLE
					// IMS component interface initialization
					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(*,*,*,*));

					f_sendResponse(m_Response_onINVITE(c_statusLine603,vc_callId, vc_cSeq,vc_caller_From, vc_caller_To, vc_via,vc_contact,f_route()));
					f_awaitingACK(mw_ACK_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_612_002		
				
			} // end group TP612_ACR
			
			group TP613_CW {	
			} // end group TP613_CW
			
			group TP614_MCID {
			 
				/* 
				*  @desc	This is the test case function (IMS/SIP side) for TC_614_001
				*  @param	loc_CSeq_s - Transaction Id
				*/
				function f_IMS_TC_614_001(in CSeq p_cSeq_s) runs on ImsComponent {
				
					// PREAMBLE
					// IMS component interface initialization
					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(*,*,*,*));

					//Send INFO with XML_MCID and await response 200 INFO
					vc_xml_local := valueof(m_XmlBody_MCID(m_mcid_request_mcidIndicatorTrue));
					f_SendINFO(m_INFO_Request_Xml_IMS(vc_requestUri, vc_callId, vc_cSeq, vc_caller_From, vc_caller_To, vc_via,  m_MBody_XML(vc_xml_local)));
					f_awaitingResponse(mw_Response_Base(c_statusLine200, vc_callId, vc_cSeq));

					f_selfOrClientSyncAndVerdict(c_sync1, f_getVerdict()); // Synchronisation point 1
					
					//Send 180 and 200 INVITE
					f_sendResponse(m_Response_18XonINVITE(c_statusLine180,vc_callId, vc_cSeq,vc_caller_From, vc_caller_To, vc_via,vc_contact));
					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));
					f_check_Conversation();

					f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict());// sync point test body done
					
					//await BYE and send 200 OK
					f_awaitingBYE_sendReply(mw_BYE_Request_Base(vc_callId));

					// POSTAMBLE
					f_SIP_postamble_IMS1_withoutRegistration ()
					
				}// end function f_IMS_TC_614_001	
			 
				/* 
				*  @desc	This is the test case function (IMS/SIP side) for TC_614_002
				*  @param	loc_CSeq_s - Transaction Id
				*/
				function f_IMS_TC_614_002(in CSeq p_cSeq_s) runs on ImsComponent {
				
					// PREAMBLE
					// IMS component interface initialization
					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(*,*,*,*));

					//Send INFO with XML_MCID and await response 200 INFO
					vc_xml_local := valueof(m_XmlBody_MCID(m_mcid_request_mcidIndicatorTrue_holdIndTrue));
					f_SendINFO(m_INFO_Request_Xml_IMS(vc_requestUri, vc_callId, vc_cSeq, vc_caller_From, vc_caller_To, vc_via,  m_MBody_XML(vc_xml_local)));
					f_awaitingResponse(mw_Response_Base(c_statusLine200, vc_callId, vc_cSeq));

					f_selfOrClientSyncAndVerdict(c_sync1, f_getVerdict()); // Synchronisation point 1

					//Send 180 and 200 INVITE
					f_sendResponse(m_Response_18XonINVITE(c_statusLine180,vc_callId, vc_cSeq,vc_caller_From, vc_caller_To, vc_via,vc_contact));
					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));
					f_check_Conversation();

					f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict());// sync point test body done
					
					//await BYE and send 200 OK
					f_awaitingBYE_sendReply(mw_BYE_Request_Base(vc_callId));

					// POSTAMBLE
					f_SIP_postamble_IMS1_withoutRegistration ()
					
				}// end function f_IMS_TC_614_002
			 
				/* 
				*  @desc	This is the test case function (IMS/SIP side) for TC_614_003
				*  @param	loc_CSeq_s - Transaction Id
				*/
				function f_IMS_TC_614_003(in CSeq p_cSeq_s) runs on ImsComponent {
				
					// PREAMBLE
					// IMS component interface initialization
					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(*,*,*,*));

					//Send INFO with XML_MCID and await response 200 INFO
					vc_xml_local := valueof(m_XmlBody_MCID(m_mcid_request_mcidIndicatorTrue));
					f_SendINFO(m_INFO_Request_Xml_IMS(vc_requestUri, vc_callId, vc_cSeq, vc_caller_From, vc_caller_To, vc_via,  m_MBody_XML(vc_xml_local)));
					f_awaitingResponse(mw_Response_Base(c_statusLine200, vc_callId, vc_cSeq));

					f_selfOrClientSyncAndVerdict(c_sync1, f_getVerdict()); // Synchronisation point 1
					
					//awaiting INFO with XML message body
					f_awaitingINFO_sendReply(mw_INFO_Request_MB(vc_callId, m_MBody_XML(mw_XmlBody_MCID(mw_mcid_response_mcidIndicatorTrue))));
				
  					f_selfOrClientSyncAndVerdict(c_sync2, f_getVerdict()); // Synchronisation point 2

					//Send 180 and 200 INVITE
					f_sendResponse(m_Response_18XonINVITE(c_statusLine180,vc_callId, vc_cSeq,vc_caller_From, vc_caller_To, vc_via,vc_contact));
					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));
					f_check_Conversation();

					f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict());// sync point test body done
					
					//await BYE and send 200 OK
					f_awaitingBYE_sendReply(mw_BYE_Request_Base(vc_callId));

					// POSTAMBLE
					f_SIP_postamble_IMS1_withoutRegistration ()
					
				}// end function f_IMS_TC_614_003
			 
				/* 
				*  @desc	This is the test case function (IMS/SIP side) for TC_614_004
				*  @param	loc_CSeq_s - Transaction Id
				*/
				function f_IMS_TC_614_004(in CSeq p_cSeq_s) runs on ImsComponent {
				
					// PREAMBLE
					// IMS component interface initialization
					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(*,*,*,*));

					//Send INFO with XML_MCID and await response 200 INFO
					vc_xml_local := valueof(m_XmlBody_MCID(m_mcid_request_mcidIndicatorTrue_holdIndTrue));
					f_SendINFO(m_INFO_Request_Xml_IMS(vc_requestUri, vc_callId, vc_cSeq, vc_caller_From, vc_caller_To, vc_via,  m_MBody_XML(vc_xml_local)));
					f_awaitingResponse(mw_Response_Base(c_statusLine200, vc_callId, vc_cSeq));

					f_selfOrClientSyncAndVerdict(c_sync1, f_getVerdict()); // Synchronisation point 1
					
					//awaiting INFO with XML message body
					f_awaitingINFO_sendReply(mw_INFO_Request_MB(vc_callId, m_MBody_XML(mw_XmlBody_MCID(mw_mcid_response_mcidIndicatorTrue_holdProvIndFalse))));
				
  					f_selfOrClientSyncAndVerdict(c_sync2, f_getVerdict()); // Synchronisation point 2

					//Send 180 and 200 INVITE
					f_sendResponse(m_Response_18XonINVITE(c_statusLine180,vc_callId, vc_cSeq,vc_caller_From, vc_caller_To, vc_via,vc_contact));
					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));
					f_check_Conversation();

					f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict());// sync point test body done
					
					//await BYE and send 200 OK
					f_awaitingBYE_sendReply(mw_BYE_Request_Base(vc_callId));

					// POSTAMBLE
					f_SIP_postamble_IMS1_withoutRegistration ()
					
				}// end function f_IMS_TC_614_004
			 
				/* 
				*  @desc	This is the test case function (IMS/SIP side) for TC_614_005
				*  @param	loc_CSeq_s - Transaction Id
				*/
				function f_IMS_TC_614_005(in CSeq p_cSeq_s) runs on ImsComponent {
				
					// PREAMBLE
					// IMS component interface initialization
					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(*,*,*,*));

					//Send INFO with XML_MCID and await response 200 INFO
					vc_xml_local := valueof(m_XmlBody_MCID(m_mcid_request_mcidIndicatorTrue_holdIndTrue));
					f_SendINFO(m_INFO_Request_Xml_IMS(vc_requestUri, vc_callId, vc_cSeq, vc_caller_From, vc_caller_To, vc_via,  m_MBody_XML(vc_xml_local)));
					f_awaitingResponse(mw_Response_Base(c_statusLine200, vc_callId, vc_cSeq));

					f_selfOrClientSyncAndVerdict(c_sync1, f_getVerdict()); // Synchronisation point 1
					
					//awaiting INFO with XML message body
					f_awaitingINFO_sendReply(mw_INFO_Request_MB(vc_callId, m_MBody_XML(mw_XmlBody_MCID(mw_mcid_response_mcidIndicatorTrue_holdProvIndTrue))));
				
  					f_selfOrClientSyncAndVerdict(c_sync2, f_getVerdict()); // Synchronisation point 2

					//Send 180 and 200 INVITE
					f_sendResponse(m_Response_18XonINVITE(c_statusLine180,vc_callId, vc_cSeq,vc_caller_From, vc_caller_To, vc_via,vc_contact));
					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));
					f_check_Conversation();

					f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict());// sync point test body done
					
					//await BYE and send 200 OK
					f_awaitingBYE_sendReply(mw_BYE_Request_Base(vc_callId));

					// POSTAMBLE
					f_SIP_postamble_IMS1_withoutRegistration ()
					
				}// end function f_IMS_TC_614_005		
			} // end group TP614_MCID
			
		} // end group InterworkingFromISUPtoSIP