Commit 9e423bc5 authored by nikolajev's avatar nikolajev
Browse files

More template restrictions added where possible

parent 2f5f09a1
Loading
Loading
Loading
Loading
+98 −151

File changed.

Preview size limit exceeded, changes collapsed.

+7 −6
Original line number Diff line number Diff line
@@ -102,7 +102,7 @@ module LibSip_Templates {
            displayName := p_displayName, addrSpec := p_addrSpec
        }

        template CommaParam_List mw_digestResponse(template GenericParam p_genericParam) := superset(p_genericParam); //*     c_Integrity_protected_yes
        template(present) CommaParam_List mw_digestResponse(template(present) GenericParam p_genericParam) := superset(p_genericParam); //*     c_Integrity_protected_yes
        
        template(value) SemicolonParam_List m_cpc := {
            {
@@ -293,7 +293,7 @@ module LibSip_Templates {
        template(value) SipUrl m_SipUrl_NumberHostParam(
                                                        template(value) charstring p_number, 
                                                        template(value) charstring p_host,
                                                        template(omit) SemicolonParam_List p_urlParameters
                                                        template(omit) AmpersandParam_List p_urlParameters
        ) modifies m_SipUrl_NumberHostHeader := {
            components := {
                sip := {
@@ -307,7 +307,7 @@ module LibSip_Templates {
        template(value) SipUrl m_SipUrl_NumberHostParam_woPort(
                                                              template(value) charstring p_number, 
                                                              template(value) charstring p_host,
                                                              template(omit) SemicolonParam_List p_urlParameters
                                                              template(omit) AmpersandParam_List p_urlParameters
        ) modifies m_SipUrl_NumberHostParam := {
            components := {
                sip := {
@@ -2939,7 +2939,7 @@ module LibSip_Templates {
            template(value) SDP_attribute m_attribute_PCMA_DPT := {rtpmap := {attr_value := PX_SIP_SDP_dyn & " " & PX_SIP_SDP_media_transport_PCMA}}
            //     TODO: STF471 template name suggests that this is a send
            //     template, while it contains matching mechanisms
            template SDP_attribute mw_attribute_T38 := {unknown := {name := ?, attr_value := pattern "*t38*"}}
            template(present) SDP_attribute mw_attribute_T38 := {unknown := {name := ?, attr_value := pattern "*t38*"}}

            template(value) SDP_attribute m_attribute_curr(template(value) charstring p_preconditionType, template(value) charstring p_statusType,
                                                           template(value) charstring p_direction) := {
@@ -3052,7 +3052,7 @@ module LibSip_Templates {
            }
        }

        template MessageBody m_MBody_MIMESdpEncrypted(template SDP_Message p_sdp) := {
        template(value) MessageBody m_MBody_MIMESdpEncrypted(template(value) SDP_Message p_sdp) := {
            mimeMessageBody := {boundary:="--boundary1", //"PX_SIP_MIME_Boundary", 
                mimeEncapsulatedList:= {
                    {
@@ -3066,6 +3066,7 @@ module LibSip_Templates {
                }
            }
        }
        
        template(present) MessageBody mw_MBody_SDP(template(present) SDP_Message p_SDP) := {sdpMessageBody := p_SDP}

        template(present) MessageBody mw_MBody_XML(template(present) XmlBody p_xmlBody) := {xmlBody := p_xmlBody}
+1 −1

File changed.

Contains only whitespace changes.