Commit a4fc3594 authored by pintar's avatar pintar
Browse files

Registration procedure

parent e757d340
Loading
Loading
Loading
Loading
+162 −46
Original line number Diff line number Diff line
@@ -1095,13 +1095,21 @@ module SS_Ims_TCFunctions {
				var template Response v_Response;
				var SipUrl	v_divertedUserUri;

				var REGISTER_Request v_register;				
				// Request-Uri refers to home network (SUT)
				// UE1 registers its public sip-url in home network (SUT)
				// UE contact is in home network (SUT)
				// UE authorizaton data is in home network (SUT)
				v_register :=
				valueof(m_REGISTER_Request_Base(vc_requestUri, vc_callId,
					p_cSeq_s, vc_from, vc_to,
					vc_via_REG, vc_contact,
					vc_authorization));
										
				f_IMS_preamble_withRegistration(c_userProfile_UE1atSUThome, p_cSeq_s, m_REGISTER_Request_Base(vc_requestUri, vc_callId, p_cSeq_s, vc_from, vc_to, vc_via_REG, vc_contact, vc_authorization)); // LibSip
                
    			// preamble with send REGISTER, await 401, send REGISTER, await
    			// 200 OK and user profile setting
    			f_IMS_preamble_withRegistration(c_userProfile_UE1atSUThome,
				p_cSeq_s, v_register);

				f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());
				// Testbody
@@ -1164,13 +1172,21 @@ module SS_Ims_TCFunctions {
				var template Response v_Response;
				var SipUrl	v_divertedUserUri;

				var REGISTER_Request v_register;				
				// Request-Uri refers to home network (SUT)
				// UE1 registers its public sip-url in home network (SUT)
				// UE3 registers its public sip-url in home network (SUT)
				// UE contact is in home network (SUT)
				// UE authorizaton data is in home network (SUT)
				v_register :=
				valueof(m_REGISTER_Request_Base(vc_requestUri, vc_callId,
					p_cSeq_s, vc_from, vc_to,
					vc_via_REG, vc_contact,
					vc_authorization));
										
                f_IMS_preamble_withRegistration(c_userProfile_UE3atSUThome, p_cSeq_s, m_REGISTER_Request_Base(vc_requestUri, vc_callId, p_cSeq_s, vc_from, vc_to, vc_via_REG, vc_contact, vc_authorization)); // LibSip
                
    			// preamble with send REGISTER, await 401, send REGISTER, await
    			// 200 OK and user profile setting
    			f_IMS_preamble_withRegistration(c_userProfile_UE3atSUThome,
				p_cSeq_s, v_register);

				f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());
				// Testbody
@@ -1225,11 +1241,21 @@ module SS_Ims_TCFunctions {
				var template Response v_Response;
				var SipUrl	v_divertedUserUri;

				var REGISTER_Request v_register;				
				// Request-Uri refers to home network (SUT)
				// UE1 registers its public sip-url in home network (SUT)
				// UE contact is in home network (SUT)
				// UE authorizaton data is in home network (SUT)
				f_IMS_preamble_withRegistration(c_userProfile_UE1atSUThome, p_cSeq_s, m_REGISTER_Request_Base(vc_requestUri, vc_callId, p_cSeq_s, vc_from, vc_to, vc_via_REG, vc_contact, vc_authorization)); // LibSip
				v_register :=
				valueof(m_REGISTER_Request_Base(vc_requestUri, vc_callId,
					p_cSeq_s, vc_from, vc_to,
					vc_via_REG, vc_contact,
					vc_authorization));
										
				// preamble with send REGISTER, await 401, send REGISTER, await
				// 200 OK and user profile setting
				f_IMS_preamble_withRegistration(c_userProfile_UE1atSUThome,
				p_cSeq_s, v_register);
				
				f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());
				// Testbody
@@ -1291,11 +1317,21 @@ module SS_Ims_TCFunctions {
				var template Response v_Response;
				var SipUrl	v_divertedUserUri;

				var REGISTER_Request v_register;				
				// Request-Uri refers to home network (SUT)
				// UE1 registers its public sip-url in home network (SUT)
				// UE3 registers its public sip-url in home network (SUT)
				// UE contact is in home network (SUT)
				// UE authorizaton data is in home network (SUT)
				f_IMS_preamble_withRegistration(c_userProfile_UE3atSUThome, p_cSeq_s, m_REGISTER_Request_Base(vc_requestUri, vc_callId, p_cSeq_s, vc_from, vc_to, vc_via_REG, vc_contact, vc_authorization)); // LibSip
				v_register :=
				valueof(m_REGISTER_Request_Base(vc_requestUri, vc_callId,
					p_cSeq_s, vc_from, vc_to,
					vc_via_REG, vc_contact,
					vc_authorization));
										
				// preamble with send REGISTER, await 401, send REGISTER, await
				// 200 OK and user profile setting
				f_IMS_preamble_withRegistration(c_userProfile_UE3atSUThome,
				p_cSeq_s, v_register);
				
				f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());
				// Testbody
@@ -1346,11 +1382,21 @@ module SS_Ims_TCFunctions {
				var template PAssertedID v_PAsserted;
				var SipUrl	v_divertedUserUri;

				var REGISTER_Request v_register;				
				// Request-Uri refers to home network (SUT)
				// UE1 registers its public sip-url in home network (SUT)
				// UE contact is in home network (SUT)
				// UE authorizaton data is in home network (SUT)
				f_IMS_preamble_withRegistration(c_userProfile_UE1atSUThome, p_cSeq_s, m_REGISTER_Request_Base(vc_requestUri, vc_callId, p_cSeq_s, vc_from, vc_to, vc_via_REG, vc_contact, vc_authorization)); // LibSip
				v_register :=
				valueof(m_REGISTER_Request_Base(vc_requestUri, vc_callId,
					p_cSeq_s, vc_from, vc_to,
					vc_via_REG, vc_contact,
					vc_authorization));
										
				// preamble with send REGISTER, await 401, send REGISTER, await
				// 200 OK and user profile setting
				f_IMS_preamble_withRegistration(c_userProfile_UE1atSUThome,
				p_cSeq_s, v_register);
				
				f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());
				// Testbody
@@ -1415,11 +1461,21 @@ module SS_Ims_TCFunctions {
				var template PAssertedID v_PAsserted;
				var SipUrl	v_divertedUserUri;

				var REGISTER_Request v_register;				
				// Request-Uri refers to home network (SUT)
				// UE1 registers its public sip-url in home network (SUT)
				// UE3 registers its public sip-url in home network (SUT)
				// UE contact is in home network (SUT)
				// UE authorizaton data is in home network (SUT)
				f_IMS_preamble_withRegistration(c_userProfile_UE3atSUThome, p_cSeq_s, m_REGISTER_Request_Base(vc_requestUri, vc_callId, p_cSeq_s, vc_from, vc_to, vc_via_REG, vc_contact, vc_authorization)); // LibSip
				v_register :=
				valueof(m_REGISTER_Request_Base(vc_requestUri, vc_callId,
					p_cSeq_s, vc_from, vc_to,
					vc_via_REG, vc_contact,
					vc_authorization));
										
    			// preamble with send REGISTER, await 401, send REGISTER, await
    			// 200 OK and user profile setting
    			f_IMS_preamble_withRegistration(c_userProfile_UE3atSUThome,
				p_cSeq_s, v_register);
				
				f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());
				// Testbody
@@ -3199,6 +3255,7 @@ group SuplementaryService_MCID{
			function f_Sip_MCID_N01_001_UE1(in CSeq p_cSeq_s) runs on ImsComponent {
				
				var template PPreferredID v_PPreferredID;
				var REGISTER_Request v_register;
				
				// set PPreferred
				v_PPreferredID := m_PPreferredID(m_AddrUnion_NameAddr(PX_SIP_NameAddr_PPreferred));
@@ -3207,7 +3264,17 @@ group SuplementaryService_MCID{
            	// UE1 registers its public sip-url in home network (SUT)
            	// UE contact is in home network (SUT)
            	// UE authorizaton data is in home network (SUT)
            	f_IMS_preamble_withRegistration(c_userProfile_UE1atSUThome, p_cSeq_s, m_REGISTER_Request_Base(vc_requestUri, vc_callId, p_cSeq_s, vc_from, vc_to, vc_via_REG, vc_contact, vc_authorization)); // LibSip
    
                v_register :=
                 valueof(m_REGISTER_Request_Base(vc_requestUri, vc_callId,
                         p_cSeq_s, vc_from, vc_to,
                         vc_via_REG, vc_contact,
                         vc_authorization));
                        											
                // preamble with send REGISTER, await 401, send REGISTER, await
                // 200 OK and user profile setting
                f_IMS_preamble_withRegistration(c_userProfile_UE1atSUThome,
             	p_cSeq_s, v_register);
            	
				f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());
				// Testbody
@@ -3241,12 +3308,21 @@ group SuplementaryService_MCID{
			*/
			function f_Sip_MCID_N01_001_UE2(in CSeq p_cSeq_s) runs on ImsComponent {
				
								
				var REGISTER_Request v_register;				
				// Request-Uri refers to home network (SUT)
        		// UE1 registers its public sip-url in home network (SUT)
        		// UE2 registers its public sip-url in home network (SUT)
        		// UE contact is in home network (SUT)
        		// UE authorizaton data is in home network (SUT)
        		f_IMS_preamble_withRegistration(c_userProfile_UE2atSUThome, p_cSeq_s, m_REGISTER_Request_Base(vc_requestUri, vc_callId, p_cSeq_s, vc_from, vc_to, vc_via_REG, vc_contact, vc_authorization)); // LibSip
				v_register :=
				valueof(m_REGISTER_Request_Base(vc_requestUri, vc_callId,
					p_cSeq_s, vc_from, vc_to,
					vc_via_REG, vc_contact,
					vc_authorization));
										
    			// preamble with send REGISTER, await 401, send REGISTER, await
    			// 200 OK and user profile setting
    			f_IMS_preamble_withRegistration(c_userProfile_UE2atSUThome,
				p_cSeq_s, v_register);

				f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());
				// Testbody
@@ -3336,6 +3412,7 @@ group SuplementaryService_MCID{
			function f_Sip_MCID_N01_002_UE1(in CSeq p_cSeq_s) runs on ImsComponent {
				
				var template PPreferredID v_PPreferredID;
				var REGISTER_Request v_register;
				
				// set PPreferred
				v_PPreferredID := m_PPreferredID(m_AddrUnion_NameAddr(PX_SIP_NameAddr_PPreferred));
@@ -3344,7 +3421,16 @@ group SuplementaryService_MCID{
				// UE1 registers its public sip-url in home network (SUT)
				// UE contact is in home network (SUT)
				// UE authorizaton data is in home network (SUT)
            	f_IMS_preamble_withRegistration(c_userProfile_UE1atSUThome, p_cSeq_s, m_REGISTER_Request_Base(vc_requestUri, vc_callId, p_cSeq_s, vc_from, vc_to, vc_via_REG, vc_contact, vc_authorization)); // LibSip
				v_register :=
				valueof(m_REGISTER_Request_Base(vc_requestUri, vc_callId,
					p_cSeq_s, vc_from, vc_to,
					vc_via_REG, vc_contact,
					vc_authorization));
										
    			// preamble with send REGISTER, await 401, send REGISTER, await
    			// 200 OK and user profile setting
    			f_IMS_preamble_withRegistration(c_userProfile_UE1atSUThome,
				p_cSeq_s, v_register);
				
				f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());
				// Testbody
@@ -3378,11 +3464,21 @@ group SuplementaryService_MCID{
			*/
			function f_Sip_MCID_N01_002_UE2(in CSeq p_cSeq_s) runs on ImsComponent {
							
				var REGISTER_Request v_register;				
				// Request-Uri refers to home network (SUT)
        		// UE1 registers its public sip-url in home network (SUT)
				// UE2 registers its public sip-url in home network (SUT)
				// UE contact is in home network (SUT)
				// UE authorizaton data is in home network (SUT)
        		f_IMS_preamble_withRegistration(c_userProfile_UE2atSUThome, p_cSeq_s, m_REGISTER_Request_Base(vc_requestUri, vc_callId, p_cSeq_s, vc_from, vc_to, vc_via_REG, vc_contact, vc_authorization)); // LibSip
				v_register :=
				valueof(m_REGISTER_Request_Base(vc_requestUri, vc_callId,
					p_cSeq_s, vc_from, vc_to,
					vc_via_REG, vc_contact,
					vc_authorization));
										
				// preamble with send REGISTER, await 401, send REGISTER, await
				// 200 OK and user profile setting
				f_IMS_preamble_withRegistration(c_userProfile_UE2atSUThome,
				p_cSeq_s, v_register);
				
				f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());
				// Testbody
@@ -3494,6 +3590,7 @@ group SuplementaryService_MCID{
			function f_Sip_MCID_N01_003_UE1(in CSeq p_cSeq_s) runs on ImsComponent {
				
				var template PPreferredID v_PPreferredID;
				var REGISTER_Request v_register;

				// set PPreferred
				v_PPreferredID := m_PPreferredID(m_AddrUnion_NameAddr(PX_SIP_NameAddr_PPreferred));
@@ -3502,7 +3599,16 @@ group SuplementaryService_MCID{
				// UE1 registers its public sip-url in home network (SUT)
				// UE contact is in home network (SUT)
				// UE authorizaton data is in home network (SUT)
            	f_IMS_preamble_withRegistration(c_userProfile_UE1atSUThome, p_cSeq_s, m_REGISTER_Request_Base(vc_requestUri, vc_callId, p_cSeq_s, vc_from, vc_to, vc_via_REG, vc_contact, vc_authorization)); // LibSip
				v_register :=
				valueof(m_REGISTER_Request_Base(vc_requestUri, vc_callId,
					p_cSeq_s, vc_from, vc_to,
					vc_via_REG, vc_contact,
					vc_authorization));
										
				// preamble with send REGISTER, await 401, send REGISTER, await
				// 200 OK and user profile setting
				f_IMS_preamble_withRegistration(c_userProfile_UE1atSUThome,
				p_cSeq_s, v_register);
            	
				f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());
				// Testbody
@@ -3536,11 +3642,21 @@ group SuplementaryService_MCID{
			*/
			function f_Sip_MCID_N01_003_UE2(in CSeq p_cSeq_s) runs on ImsComponent {
					
				var REGISTER_Request v_register;				
				// Request-Uri refers to home network (SUT)
        		// UE1 registers its public sip-url in home network (SUT)
				// UE2 registers its public sip-url in home network (SUT)
				// UE contact is in home network (SUT)
				// UE authorizaton data is in home network (SUT)
        		f_IMS_preamble_withRegistration(c_userProfile_UE2atSUThome, p_cSeq_s, m_REGISTER_Request_Base(vc_requestUri, vc_callId, p_cSeq_s, vc_from, vc_to, vc_via_REG, vc_contact, vc_authorization)); // LibSip
				v_register :=
				valueof(m_REGISTER_Request_Base(vc_requestUri, vc_callId,
					p_cSeq_s, vc_from, vc_to,
					vc_via_REG, vc_contact,
					vc_authorization));
										
				// preamble with send REGISTER, await 401, send REGISTER, await
				// 200 OK and user profile setting
				f_IMS_preamble_withRegistration(c_userProfile_UE2atSUThome,
				p_cSeq_s, v_register);
				
				f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());
				// Testbody