Module: kamailio
Branch: 6.1
Commit: 398a3d4a9c467ad82ba2fdd51f575946d3776947
URL: 
https://github.com/kamailio/kamailio/commit/398a3d4a9c467ad82ba2fdd51f575946d3776947

Author: Richard Fuchs <[email protected]>
Committer: Richard Fuchs <[email protected]>
Date: 2026-02-27T08:59:20-04:00

rtpengine: add "directional" flag

Closes #4599

(cherry picked from commit a02f07ecf24564b7f0eb555cce0bdf88727ebdd3)

---

Modified: src/modules/rtpengine/rtpengine.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/398a3d4a9c467ad82ba2fdd51f575946d3776947.diff
Patch: 
https://github.com/kamailio/kamailio/commit/398a3d4a9c467ad82ba2fdd51f575946d3776947.patch

---

diff --git a/src/modules/rtpengine/rtpengine.c 
b/src/modules/rtpengine/rtpengine.c
index 8abef465026..62a6d6b7348 100644
--- a/src/modules/rtpengine/rtpengine.c
+++ b/src/modules/rtpengine/rtpengine.c
@@ -3242,6 +3242,8 @@ static int parse_from_to_tags(struct ng_flags_parse 
*ng_flags,
                        if(ng_flags->to && ng_flags->to_tag.s && 
ng_flags->to_tag.len)
                                bencode_dictionary_add_str(
                                                ng_flags->dict, "to-tag", 
&ng_flags->to_tag);
+                       if(ng_flags->flags)
+                               bencode_list_add_string(ng_flags->flags, 
"directional");
                }
        } else if(op == OP_SUBSCRIBE_REQUEST) {
                /* SUBSCRIBE can either specify a list of from tags or have the 
keyword

_______________________________________________
Kamailio - Development Mailing List -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to