mirror of https://github.com/sipwise/kamailio.git
Always use to-tag for NG message with rtpp-flags,
if presented. This change is caused by the processing
logic being moved to rtpengine with rtpp-flags.
Change-Id: Ib656fdccbd366053bab37ef04c48659a6fd3acc1
(cherry picked from commit e527845822
)
mr13.0
parent
6bb131982e
commit
dccf1e3ca1
@ -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))
|
Loading…
Reference in new issue