Commit 1fcd2d08 authored by rennoch's avatar rennoch
Browse files

check of historyInfo header

parent 405a4481
Loading
Loading
Loading
Loading
+27 −1
Original line number Diff line number Diff line
@@ -235,6 +235,15 @@ module LibSip_Templates
            headers := *
          };
          
		template SipUrl mw_SipUrl_NumberHostParam(charstring p_number, charstring p_host, template SemicolonParam_List p_urlParameters) :=  	//*  SIP-URL with a calling party number
		{
				scheme := c_sipScheme,  		//*  contains "sip"
				userInfo:= {userOrTelephoneSubscriber:=p_number, password:=*},
				hostPort := {host:=p_host, portField:=*},
				urlParameters := p_urlParameters,
				headers := *
		};

		template SipUrl mw_SipUrl_Anonymous :=  	//*  SIP-URL with a calles party number
		{
		  scheme := c_sipScheme,  		//*  contains "sip"
@@ -471,12 +480,26 @@ module LibSip_Templates
			deltaSec := p_deltaSec
		};


		template PAssertedID m_PAssertedID(template Addr_Union p_pAssertedIDValue) := 
		{
			fieldName := P_ASSERTED_ID_E,
			pAssertedIDValueList := {p_pAssertedIDValue}
		};

		template HistoryInfo mw_HistoryInfo(template HistoryInfo_List p_HistoryInfo_List) := 
		{
			fieldName := HISTORY_INFO_E,
			historyInfoList := p_HistoryInfo_List
		};

		template HistoryInfoEntry mw_HistoryInfoEntry(template SipUrl p_Url, template IntegerList p_index, template SemicolonParam_List p_paramlist) :=
		{
			nameAddr := {displayName:=*, addrSpec:= p_Url},
			hiIndex := p_index,
			hiExtention := p_paramlist
		}

		template PAssertedID m_PAssertedID_2x(template Addr_Union p_pAssertedIDValue1, template Addr_Union p_pAssertedIDValue2) := 
		{
			fieldName := P_ASSERTED_ID_E,
@@ -1717,7 +1740,10 @@ group request_receive {
			messageBody := p_mb
		}


       template NOTIFY_Request mw_NOTIFY_Request_MB (CallId p_callId, template MessageBody p_mb) modifies mw_NOTIFY_Request_Base :=
    	{
    		messageBody := p_mb
    	}

} //*  end group request_receive