Commit 292e0856 authored by rennoch's avatar rennoch
Browse files

NOTIFY Request headers

parent 9036151b
Loading
Loading
Loading
Loading
+21 −1
Original line number Diff line number Diff line
@@ -123,6 +123,26 @@ module LibIms_Steps
	  
		}// end f_setHeadersMESSAGE

		/*
		* 
		* @desc setting of Notify header fields (IMS addresses)
		*			extension of general settings from LibSip basic function
		* @param p_cSeq_s current cSeq 
		* @param p_to_user user_profile id of the user to be invited
		* @verdict 
		*/
		function f_setHeadersNOTIFY(inout CSeq p_cSeq_s, in integer p_to_user) runs on ImsComponent
		{      
				vc_to := f_initToHeader(p_to_user); // init of vc_to using userProfile identifier

				vc_from := f_initFromHeader(vc_userprofile.id, f_getRndTag()); // init of vc_from using userProfile identifier
        
				vc_requestUri := f_initSipUrl(p_to_user); // Request URI of Invite is identical with To header
  
				LibSip_Steps.f_setHeadersNOTIFY(p_cSeq_s);
	  
		}// end f_setHeadersNOTIFY
		
		function f_setHeadersReINVITE (inout CSeq p_cSeq_s) runs on ImsComponent
		{
		  f_setHeadersGeneral(p_cSeq_s, "INVITE"); // cseq, contact, branch, via