Commit ce9e8c93 authored by rennoch's avatar rennoch
Browse files

aux. template for privacy and sipurl

parent 517f1e2f
Loading
Loading
Loading
Loading
+17 −1
Original line number Diff line number Diff line
@@ -217,6 +217,16 @@ module LibSip_Templates
				headers := *
		};

		
          template SipUrl mw_SipUrl_NumberHost(charstring p_number, charstring p_host) :=  	// SIP-URL with a calling party number
          {
            scheme := c_sipScheme,  		// contains "sip"
            userInfo:= {userOrTelephoneSubscriber:=p_number, password:=*},
            hostPort := {host:=p_host, portField:=*},
            urlParameters := *,
            headers := *
          };

		template SipUrl mw_SipUrl_Anonymous :=  	// SIP-URL with a calles party number
		{
		  scheme := c_sipScheme,  		// contains "sip"
@@ -467,6 +477,12 @@ module LibSip_Templates
			privValueList := {p_privacy}
		};

		template Privacy m_Privacy_without(PrivacyValue p_privacy) := 
		{
			fieldName := PRIVACY_E,
			privValueList := complement({*,p_privacy,*})
		};
				
		template RAck m_RAck(integer p_responseNum, integer p_seqNumber, charstring p_method) :=
		{
		  	fieldName := RACK_E,