Module: kamailio
Branch: master
Commit: d92d12c055d23c167d5caa38511e5ad3b0a06148
URL:
https://github.com/kamailio/kamailio/commit/d92d12c055d23c167d5caa38511e5ad…
Author: Donat Zenichev <dzenichev(a)sipwise.com>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2024-11-22T11:19:49+01:00
rtpengine: use to-tag for NG message when rtpp-flags
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.
---
Modified: src/modules/rtpengine/rtpengine.c
---
Diff:
https://github.com/kamailio/kamailio/commit/d92d12c055d23c167d5caa38511e5ad…
Patch:
https://github.com/kamailio/kamailio/commit/d92d12c055d23c167d5caa38511e5ad…
---
diff --git a/src/modules/rtpengine/rtpengine.c b/src/modules/rtpengine/rtpengine.c
index 7626af31f88..1d710b30324 100644
--- a/src/modules/rtpengine/rtpengine.c
+++ b/src/modules/rtpengine/rtpengine.c
@@ -3187,7 +3187,7 @@ static bencode_item_t *rtpp_function_call(bencode_buffer_t
*bencbuf,
*/
/* 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))