Commit e8b1ac06 authored by rennoch's avatar rennoch
Browse files

sending of historyinfo templates

parent 52160502
Loading
Loading
Loading
Loading
+24 −2
Original line number Diff line number Diff line
@@ -244,6 +244,15 @@ module LibSip_Templates
				headers := *
		};
		
		template SipUrl m_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:=omit},
				hostPort := {host:=p_host, portField:=c_defaultSipPort},
				urlParameters := p_urlParameters,
				headers := omit
		};
		
		template SipUrl mw_SipUrl_Anonymous :=  	//*  SIP-URL with a calles party number
		{
		  scheme := c_sipScheme,  		//*  contains "sip"
@@ -506,6 +515,19 @@ module LibSip_Templates
			hiExtention := p_paramlist
		}
		
      	template HistoryInfo m_HistoryInfo(template HistoryInfo_List p_HistoryInfo_List) := 
      	{
       		fieldName := HISTORY_INFO_E,
       		historyInfoList := p_HistoryInfo_List
      	};
    
     	template HistoryInfoEntry m_HistoryInfoEntry(template SipUrl p_Url, template IntegerList p_index, template SemicolonParam_List p_paramlist) :=
      	{
       		nameAddr := {displayName:=omit, 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,