Commit f077f221 authored by rennoch's avatar rennoch
Browse files

extended template for BYE with list of parameters

parent 8d17b9c6
Loading
Loading
Loading
Loading
+26 −0
Original line number Diff line number Diff line
@@ -1913,6 +1913,32 @@ group request_receive {
			reason := mw_ReasonSIP(p_cause)
		}
	}

	template BYE_Request mw_BYE_Request_headerfieldlist
		(
		 template 	CallId 	p_callId, 
		 template 	SipUrl	p_requestUri,
		 template 	To 		p_to, 
		 template 	From 	p_from, 
		 template 	CSeq 	p_cSeq,
		 template	Route	p_route,
		 template	Reason 	p_reason
		) modifies mw_BYE_Request_Base :=
	{	requestLine := 
		{
			requestUri	:= p_requestUri
		},
		msgHeader :=
		{	
			callId		:= p_callId, 
			toField		:= p_to, 
			fromField	:= p_from,
			cSeq 		:= p_cSeq,
			route		:= p_route,
			reason 		:= p_reason
		}
	}
	
	template BYE_Request mw_BYE_Request_UserToUser(template CallId p_callId) modifies mw_BYE_Request_Base :=
	{
		msgHeader :=