diff --git a/debian/patches/series b/debian/patches/series index 00b1ff1e0..9106be8ce 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -75,3 +75,4 @@ sipwise/pua_dialoginfo-use_uuid.patch ## git checkout -- debian/ ### git commit + git-review as usual ### +sipwise/rtpengine_always_add_totag_to_ng_message_when_rtpp_flags.patch diff --git a/debian/patches/sipwise/rtpengine_always_add_totag_to_ng_message_when_rtpp_flags.patch b/debian/patches/sipwise/rtpengine_always_add_totag_to_ng_message_when_rtpp_flags.patch new file mode 100644 index 000000000..c126b1ad8 --- /dev/null +++ b/debian/patches/sipwise/rtpengine_always_add_totag_to_ng_message_when_rtpp_flags.patch @@ -0,0 +1,11 @@ +--- a/src/modules/rtpengine/rtpengine.c ++++ b/src/modules/rtpengine/rtpengine.c +@@ -3179,7 +3179,7 @@ static bencode_item_t *rtpp_function_cal + */ + + /* affects to-tag parsing */ +- ng_flags.to = (op == OP_DELETE) ? 0 : 1; ++ ng_flags.to = (!parse_by_module || op != OP_DELETE) ? 1 : 0; + + /* module specific parsing */ + if(parse_by_module && flags && parse_flags(&ng_flags, msg, &op, flags->s))