Commit 20b1d67a authored by rennoch's avatar rennoch
Browse files

update of RFC3891 to separate mandatory callid from optional replacesParams

parent 93626a09
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1408,7 +1408,8 @@ module LibSip_SIPTypesAndValues {
                    // [3891 ]
                    type record Replaces {
                        FieldName fieldName (REPLACES_E) ,
                        SemicolonParam_List replacesParams
                        CallidString callid,
                        SemicolonParam_List replacesParams optional
                    }

                } // end group RFC3891HeaderFieldTypes
+1 −4
Original line number Diff line number Diff line
@@ -1045,11 +1045,8 @@ module LibSip_Templates {
            template(value) GenValue p_fromTag
        ) := {
            fieldName := REPLACES_E,
            callid := p_callId,
            replacesParams := {
                {
                    id := p_callId,
                    paramValue := omit
                },
                {
                    id := "to-tag",
                    paramValue := p_toTag