Commit 1377f9b4 authored by pintar's avatar pintar
Browse files

Changes done due to validation phase on STF406 in weeks 13 and 14.

Validation was done with Italtel AS as SUT and with IMS UE MyMonster and IMS Communicator. 
parent 8a9d8614
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1417,11 +1417,11 @@ group SubTypes{// Subtypes

	  type record of HistoryInfoEntry HistoryInfo_List;

	  type record of integer IntegerList;
	  type record of charstring StringList;

	  type record HistoryInfoEntry {
		  NameAddr nameAddr,
		  IntegerList hiIndex optional,
          StringList hiIndex optional,
		  SemicolonParam_List hiExtention optional
	  }
	  }//end group RFC4244HeaderFieldTypes
+4 −4
Original line number Diff line number Diff line
@@ -1037,7 +1037,7 @@ group SetHeaders {
	{      

		p_cSeq_s.method := "CANCEL"; 
		//vc_branch := c_branchCookie & f_getRndTag();
		//vc_branch := c_branchCookie & f_getRndTag(); // STF 406: CANCEL and ACK should have the same branch as the INVITE
		vc_via:={
    				fieldName := VIA_E,
    				viaBody 	 := {valueof(m_ViaBody_currIpaddr(vc_branch, vc_userprofile))}
@@ -2138,7 +2138,7 @@ group SDPOperations{
				{
					if (ischosen(vc_sdp_remote.media_list[i].attributes[j].rtpmap))
					{
						if (v_PT == regexp(vc_sdp_remote.media_list[i].attributes[j].rtpmap.attr_value,	valueof(v_mypat),	0))
						if (v_PT == regexp(vc_sdp_remote.media_list[i].attributes[j].rtpmap.attr_value,	/*valueof(*/v_mypat/*)//Within validation for STF406 valueof was removed due to ERROR which was provided by TTWorkbench in running process. After this correction Tests runs without error.*/,	0))
						{
							v_rtpmap := vc_sdp_remote.media_list[i].attributes[j].
							rtpmap.attr_value;
@@ -3174,9 +3174,9 @@ group SendMessage {
	*/
	function f_SendPRACK() runs on SipComponent
	{
		f_setHeadersGeneral(vc_cSeq, "PRACK"); // cseq, contact, branch, via	
		vc_rAck := valueof(m_RAck(vc_response.msgHeader.rSeq.responseNum, vc_cSeq.seqNumber, vc_cSeq.method));
		
		vc_rAck := valueof(m_RAck(vc_response.msgHeader.rSeq.responseNum, vc_cSeq.seqNumber, vc_cSeq.method));
        f_setHeadersGeneral(vc_cSeq, "PRACK"); // cseq, contact, branch, via	
		SIPP.send(m_PRACK_Request_Base(
            vc_requestUri, 
            vc_callId, 
+32 −3
Original line number Diff line number Diff line
@@ -303,6 +303,24 @@ module LibSip_Templates
				headers := *
		};
		
        template SipUrl m_SipUrl_NumberHostHeader(charstring p_number, charstring p_host, template AmpersandParam_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:=omit},
                urlParameters := omit,
                headers := p_urlParameters
        };
		
        template SipUrl mw_SipUrl_NumberHostHeader(charstring p_number, charstring p_host, template AmpersandParam_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 := *,
                headers := p_urlParameters
        };
		
		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"
@@ -312,6 +330,15 @@ module LibSip_Templates
				headers := omit
		};
		
        template SipUrl m_SipUrl_NumberHostParam_woPort(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:=omit},
                urlParameters := p_urlParameters,
                headers := omit
        };
		
		template SipUrl mw_SipUrl_Anonymous :=  	//*  SIP-URL with a calles party number
		{
		  scheme := c_sipScheme,  		//*  contains "sip"
@@ -586,7 +613,7 @@ module LibSip_Templates
			historyInfoList := p_HistoryInfo_List
		};

		template HistoryInfoEntry mw_HistoryInfoEntry(template SipUrl p_Url, template IntegerList p_index, template SemicolonParam_List p_paramlist) :=
		template HistoryInfoEntry mw_HistoryInfoEntry(template SipUrl p_Url, template StringList p_index, template SemicolonParam_List p_paramlist) :=
		{
			nameAddr := {displayName:=*, addrSpec:= p_Url},
			hiIndex := p_index,
@@ -599,7 +626,7 @@ module LibSip_Templates
       		historyInfoList := p_HistoryInfo_List
      	};
    
     	template HistoryInfoEntry m_HistoryInfoEntry(template SipUrl p_Url, template IntegerList p_index, template SemicolonParam_List p_paramlist) :=
     	template HistoryInfoEntry m_HistoryInfoEntry(template SipUrl p_Url, template StringList p_index, template SemicolonParam_List p_paramlist) :=
      	{
       		nameAddr := {displayName:=omit, addrSpec:= p_Url},
       		hiIndex := p_index,
@@ -2152,10 +2179,12 @@ group response_send {
	  	From p_from, 
	  	To p_to,
	  	Via p_via, 
	  	Contact p_contact,
	  	AlertInfo p_alertInfo
	) modifies m_Response_Base:= {
		msgHeader := {
			alertInfo := p_alertInfo
			alertInfo := p_alertInfo,
			contact := p_contact
		}
	}