Commit 11f4f2d2 authored by poglitsch's avatar poglitsch
Browse files

new templates added

parent 2af2e90b
Loading
Loading
Loading
Loading
+28 −0
Original line number Diff line number Diff line
@@ -317,6 +317,16 @@ module LibSip_Templates

	group HeaderFieldTemplates {
		
		template Allow m_Allow (template Method_List p_methods) := {
			fieldName := ALLOW_E,
			methods := p_methods
		}
		
		template Allow mw_Allow (charstring p_method) := {
			fieldName := ALLOW_E,
			methods := superset(p_method)
		}

		template GenericParam m_Cause (template charstring p_cause):=
			{id:="cause", paramValue:=p_cause}

@@ -548,6 +558,12 @@ module LibSip_Templates
			optionsTags:={c_tagPrecond}
		}
		
		template Supported m_Supported_100rel :=
		{
			fieldName:=SUPPORTED_E, 
			optionsTags:={c_tag100rel}
		}
		
		template Supported m_Supported_100rel_prec :=
		{
			fieldName:=SUPPORTED_E, 
@@ -672,6 +688,18 @@ module LibSip_Templates
			routeBody := p_routeBody
		};
		
		template Supported mw_Supported_100rel_prec :=
		{
			fieldName:=SUPPORTED_E, 
			optionsTags:= superset(c_tag100rel, c_tagPrecond)
		}
		
		template Supported mw_Supported_100rel :=
		{
			fieldName:=SUPPORTED_E, 
			optionsTags:= superset(c_tag100rel)
		}
		
	} // end of group HeaderFieldTemplates