diff --git a/debian/patches/series b/debian/patches/series index 98f4d2473..d18883ff5 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -67,6 +67,7 @@ upstream/tm-do-not-set-msg-tcp-connection-id-in-the-dst-info.patch ### relevant for upstream sipwise/fix_error_in_cfgt_module.patch sipwise/pv_headers-store-To-info-in-xavp_parsed_name.r-on-re.patch +sipwise/rtpengine-flags-for-everything.patch ## sipwise/pv_headers-full-rework.patch sipwise/pua_dialoginfo-refresh_pubruri_avps_flag.patch diff --git a/debian/patches/sipwise/rtpengine-flags-for-everything.patch b/debian/patches/sipwise/rtpengine-flags-for-everything.patch new file mode 100644 index 000000000..5ce4726f4 --- /dev/null +++ b/debian/patches/sipwise/rtpengine-flags-for-everything.patch @@ -0,0 +1,25 @@ +--- a/src/modules/rtpengine/rtpengine.c ++++ b/src/modules/rtpengine/rtpengine.c +@@ -2401,8 +2401,9 @@ + bencode_list_add_string(item, "load limit"); + + body.s = NULL; ++ ng_flags.flags = bencode_list(bencbuf); ++ + if (op == OP_OFFER || op == OP_ANSWER) { +- ng_flags.flags = bencode_list(bencbuf); + ng_flags.direction = bencode_list(bencbuf); + ng_flags.replace = bencode_list(bencbuf); + ng_flags.rtcp_mux = bencode_list(bencbuf); +@@ -2428,11 +2429,6 @@ + else + bencode_dictionary_add_str(ng_flags.dict, "sdp", &body); + } +- else if (op == OP_BLOCK_DTMF || op == OP_BLOCK_MEDIA || op == OP_UNBLOCK_DTMF +- || op == OP_UNBLOCK_MEDIA || op == OP_START_FORWARDING || op == OP_STOP_FORWARDING) +- { +- ng_flags.flags = bencode_list(bencbuf); +- } + + /*** parse flags & build dictionary ***/ +