Commit 2ceef000 authored by schmitting's avatar schmitting
Browse files

Second parameter added to mw_hostPort

hostPort made to template parameter in mw_ViaBody_interface
parent fbee4f04
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -291,10 +291,10 @@ module LibSip_Templates
		  contactParams := *
		};

		template HostPort mw_hostPort(template charstring p_host) :=
		template HostPort mw_hostPort(template charstring p_host, template integer p_portField) :=
		{
		  host  := p_host,
		  portField := *
		  portField := p_portField
		};
		
		template StatusLine mw_statusLine1xx   := {sipVersion := c_sipNameVersion, statusCode := (100..199), reasonPhrase := ?};
@@ -735,7 +735,7 @@ module LibSip_Templates
		  viaParams:={{id :=c_branchId,paramValue :=branch_val}}
		}
		
		template ViaBody mw_ViaBody_interface(HostPort p_hostport) :=
		template ViaBody mw_ViaBody_interface(template HostPort p_hostport) :=
		{
		  sentProtocol := m_SentProtocol(PX_SIP_TRANSPORT),
		  sentBy:={host:=p_hostport.host, portField:= p_hostport.portField},