Commit 662efa84 authored by rennoch's avatar rennoch
Browse files

303022-023

parent 17a8a251
Loading
Loading
Loading
Loading
+78 −0
Original line number Original line Diff line number Diff line
@@ -4722,6 +4722,84 @@ module SipIsup_IMS_TCFunctions {
				}// end function f_IMS_TC_303_021
				}// end function f_IMS_TC_303_021


				
				
                /* 
                *  @desc	This is the test case function (IMS/SIP side) for TC_303_022
                *  @param	loc_CSeq_s - Transaction Id
                */
                function f_IMS_TC_303_022(in CSeq p_cSeq_s) runs on ImsComponent {
            					
                // PREAMBLE
                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(*,*,*,*));
				select(PX_TC_VA) {           
                	case(1){vc_pstnTransit_local := valueof(m_PSTN_transit(m_BearerCapabilityType(c_BCAP_Speech), omit, omit, omit, omit, m_ProgressIndicatorType (c_PI_1), omit));}
					case(2){vc_pstnTransit_local := valueof(m_PSTN_transit(m_BearerCapabilityType(c_BCAP_Speech), omit, omit, omit, omit, m_ProgressIndicatorType (c_PI_2), omit));}
				}
            
                f_sendResponse(m_Response_18XonINVITE_MB_UE(c_statusLine183,vc_callId, vc_cSeq,vc_caller_From, vc_caller_To, vc_via, vc_contact, m_MBody_PSTN(vc_pstnTransit_local)));
                            f_sendResponse(m_Response_18XonINVITE(c_statusLine180,vc_callId, vc_cSeq,vc_caller_From, vc_caller_To, vc_via,vc_contact));
                f_check_Ringing();
                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();
                //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_303_022
    				

				/* 
				*  @desc	This is the test case function (IMS/SIP side) for TC_303_023
				*  @param	loc_CSeq_s - Transaction Id
				*/
				function f_IMS_TC_303_023(in CSeq p_cSeq_s) runs on ImsComponent {

				// PREAMBLE
				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(*,*,*,*));
                select(PX_TC_VA) {           
                	case(1){vc_pstnTransit_local := valueof(m_PSTN_transit(m_BearerCapabilityType(c_BCAP_Speech), omit, omit, omit, omit, m_ProgressIndicatorType (c_PI_3), omit));}
                	case(2){vc_pstnTransit_local := valueof(m_PSTN_transit(m_BearerCapabilityType(c_BCAP_Speech), omit, omit, omit, omit, m_ProgressIndicatorType (c_PI_4), omit));}
				}

				f_sendResponse(m_Response_18XonINVITE_MB_UE(c_statusLine183,vc_callId, vc_cSeq,vc_caller_From, vc_caller_To, vc_via, vc_contact, m_MBody_PSTN(vc_pstnTransit_local)));
																f_sendResponse(m_Response_18XonINVITE(c_statusLine180,vc_callId, vc_cSeq,vc_caller_From, vc_caller_To, vc_via,vc_contact));
				f_check_Ringing();
				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();
				//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_303_023


			} // end group TP303_Sending_ACM
			} // end group TP303_Sending_ACM
			
			
			group TP304_Sending_CPG {
			group TP304_Sending_CPG {
+3 −0
Original line number Original line Diff line number Diff line
@@ -920,6 +920,9 @@ const Bit7 c_PI_2 := '0000010'B;
/* Value 'Origination address is non-ISDN' of bit field element 'Progress description' in ISDN IE 'Progress Indicator' */
/* Value 'Origination address is non-ISDN' of bit field element 'Progress description' in ISDN IE 'Progress Indicator' */
const Bit7 c_PI_3 := '0000011'B;
const Bit7 c_PI_3 := '0000011'B;


/* Value 'Call has returned to ISDN' of bit field element 'Progress description' in ISDN IE 'Progress Indicator' */
const Bit7 c_PI_4 := '0000101'B;

/* Value 'Interworking has occurred and has resulted in a telecommunication service change' of bit field element 'Progress description' in ISDN IE 'Progress Indicator' */
/* Value 'Interworking has occurred and has resulted in a telecommunication service change' of bit field element 'Progress description' in ISDN IE 'Progress Indicator' */
const Bit7 c_PI_5 := '0000101'B;
const Bit7 c_PI_5 := '0000101'B;