Commit 76504de9 authored by pintar's avatar pintar
Browse files

STF407 - missing base templates are added

parent f20d89e1
Loading
Loading
Loading
Loading
+42 −1
Original line number Diff line number Diff line
@@ -1200,6 +1200,14 @@ group dummy_templates {
		payload := omit
	}
	
    template OPTIONS_Request m_OPTIONS_Dummy :=
    {
        requestLine	:= m_requestLine_dummy(OPTIONS_E),
        msgHeader := m_msgHeader_dummy,
        messageBody := omit,
        payload := omit
    }

	template PRACK_Request m_PRACK_Dummy :=
	{
		requestLine	:= m_requestLine_dummy(PRACK_E),
@@ -1298,6 +1306,14 @@ group dummy_templates {
		payload := *
	}
	
    template OPTIONS_Request mw_OPTIONS_Dummy :=
    {
        requestLine	:= mw_requestLine_dummy(OPTIONS_E),
        msgHeader := mw_msgHeader_dummy,
        messageBody := *,
        payload := *
    }

	template NOTIFY_Request mw_NOTIFY_Dummy :=
	{
		requestLine	:= mw_requestLine_dummy(NOTIFY_E),
@@ -1502,6 +1518,23 @@ group base_templates{
			}
		}

        template OPTIONS_Request m_OPTIONS_Request_Base (SipUrl p_requestUri, CallId p_callId, CSeq p_cSeq,
          From p_from, To p_to, Via p_via) modifies m_OPTIONS_Dummy :=
        {
            requestLine	:=
            {
                requestUri := p_requestUri
            },
            msgHeader :=
            {
                callId := p_callId,
                cSeq :=  {fieldName:=CSEQ_E, seqNumber:= p_cSeq.seqNumber, method:= "OPTIONS"},
                fromField := p_from,
                toField := p_to,
                via := p_via
            }
        }
		
		template PRACK_Request m_PRACK_Request_Base (SipUrl p_requestUri, CallId p_callId, CSeq p_cSeq,
		  From p_from, To p_to, Via p_via, RAck p_RAck) 
		  modifies m_PRACK_Dummy :=
@@ -1706,6 +1739,14 @@ group base_templates{
			}
		}
		
        template OPTIONS_Request mw_OPTIONS_Request_Base (template CallId p_callId) modifies mw_OPTIONS_Dummy :=
        {
            msgHeader :=
            {
                callId := p_callId
            }
        }
		
		template PRACK_Request mw_PRACK_Request_Base(template CallId p_callId) modifies mw_PRACK_Dummy :=
		{
			msgHeader :=
@@ -1722,7 +1763,7 @@ group base_templates{
			}
		}

		template REFER_Request mw_REFER_Request_Base (CallId p_callId) modifies mw_REFER_Dummy :=
		template REFER_Request mw_REFER_Request_Base (template CallId p_callId) modifies mw_REFER_Dummy :=
		{
			msgHeader :=
			{