Commit 2acb7ee6 authored by Rennoch's avatar Rennoch
Browse files

correction due to LibSip V3

parent 3fbdde74
Loading
Loading
Loading
Loading
+37 −5
Original line number Diff line number Diff line
@@ -626,6 +626,13 @@ module LibSip_Templates {
            body := {p_credentials}
        }

		template(value) Authorization mw_Authorization(
			template(present) Credentials p_credentials
		) := {
			fieldName := AUTHORIZATION_E,
			body := {p_credentials}
		}
		
        template(value) Authorization m_Authorization_digest(
            template(value) CommaParam_List p_commaParam_List
        ) := {
@@ -1378,6 +1385,7 @@ module LibSip_Templates {
                    geolocation := omit,
                    geolocationRouting := omit,
                    historyInfo := omit,  //*     RFC4244
					infoPackage := omit,
                    inReplyTo := omit,
                    maxForwards := c_maxForwards70,
                    mimeVersion := omit,
@@ -1406,6 +1414,7 @@ module LibSip_Templates {
                    rSeq := omit,
                    reason := omit,
                    recordRoute := omit,
					recvInfo := omit,
                    requestDisposition := omit,
                    referredBy := omit,  //*     RFC3892 - REFER method
                    referTo := omit,  //*     RFC3515 - REFER method
@@ -1435,6 +1444,11 @@ module LibSip_Templates {
                    via := c_empty_Via,
                    warning := omit,
                    wwwAuthenticate := omit,
					resourcePriority := omit,
					answerMode := omit,
					privAnswerMode := omit,
					targetDialog := omit,
					pAnswerState := omit,
					undefinedHeader_List := omit
                }

@@ -1479,6 +1493,7 @@ module LibSip_Templates {
                    geolocation := *,
                    geolocationRouting := *,
                    historyInfo := *,  //*     RFC4244
					infoPackage := *,
                    inReplyTo := *,
                    maxForwards := *,
                    mimeVersion := *,
@@ -1507,6 +1522,7 @@ module LibSip_Templates {
                    rSeq := *,
                    reason := *,
                    recordRoute := *,
					recvInfo := *,
                    requestDisposition := *,
                    referredBy := *,  //*     RFC3892 - REFER method
                    referTo := *,  //*     RFC3515 - REFER method
@@ -1536,6 +1552,11 @@ module LibSip_Templates {
                    via := ?,
                    warning := *,
                    wwwAuthenticate := *,
					resourcePriority := *,
					answerMode := *,
					privAnswerMode := *,
					targetDialog := *,
					pAnswerState := *,
                    undefinedHeader_List := *
                }

@@ -1791,17 +1812,21 @@ module LibSip_Templates {
            }

            template(value) ContentType m_contentType(
                template(value) charstring p_mTypeSubtype
                template(value) charstring p_mTypeSubtype,
                template(omit) SemicolonParam_List p_mParams := omit
            ) := {
                fieldName := CONTENT_TYPE_E,
                mTypeSubtype := p_mTypeSubtype
                mTypeSubtype := p_mTypeSubtype,
				mParams := p_mParams
            }

            template(present) ContentType mw_contentType(
                in template(present) charstring p_mTypeSubtype := ?
                in template(present) charstring p_mTypeSubtype := ?,
                in template SemicolonParam_List p_mParams := *
            ) := {
                fieldName := CONTENT_TYPE_E,
                mTypeSubtype := p_mTypeSubtype
                mTypeSubtype := p_mTypeSubtype,
                mParams := p_mParams
            }

            group request_send {
@@ -3742,11 +3767,13 @@ module LibSip_Templates {
                    {
                        content_type := c_sdpApplication,
                        content_disposition := omit,
						content_id := omit,
                        mime_encapsulated_part := {sdpMessageBody := p_sdp}
                    },
                    {
                        content_type := c_ims3gppCwApplication,
                        content_disposition := omit,
                        content_id := omit,
                        mime_encapsulated_part := {xmlBody := p_xmlBody}
                    }
                }
@@ -3762,6 +3789,7 @@ module LibSip_Templates {
                    {
                        content_type := "application/sdp",
                        content_disposition := "attachment;handling=required;filename=smime.p7",
                        content_id := omit,
                        mime_encapsulated_part := {sdpMessageBody := p_sdp}
                    }
                }
@@ -3796,11 +3824,13 @@ module LibSip_Templates {
                    {
                        content_type := ?,
                        content_disposition := *,
						content_id := *,
                        mime_encapsulated_part := {sdpMessageBody := p_sdp}
                    },
                    {
                        content_type := ?,
                        content_disposition := *,
                        content_id := *,
                        mime_encapsulated_part := {xmlBody := p_xmlBody}
                    }
                }
@@ -3818,6 +3848,7 @@ module LibSip_Templates {
                    {
                        content_type := c_ims3gppApplication,
                        content_disposition := p_disposition,
						content_id := *,
                        mime_encapsulated_part := {xmlBody := {ims3gpp := p_ims3gpp}}
                    },
                    *
@@ -3836,6 +3867,7 @@ module LibSip_Templates {
                    {
                        content_type := c_ims3gppCwApplication,
                        content_disposition := p_disposition,
                        content_id := *,
                        mime_encapsulated_part := {xmlBody := {ims3gpp := p_ims3gpp}}
                    },
                    *