Commit 6a06ad0c authored by rennoch's avatar rennoch
Browse files

update of RFC3891 to separate mandatory callid from optional replacesParams

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


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