Module: kamailio
Branch: 6.0
Commit: 4815912fd4e931f4a6710cd94defa5ba1fe86d30
URL: 
https://github.com/kamailio/kamailio/commit/4815912fd4e931f4a6710cd94defa5ba1fe86d30

Author: Richard Fuchs <[email protected]>
Committer: Richard Fuchs <[email protected]>
Date: 2026-02-27T09:05:43-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/4815912fd4e931f4a6710cd94defa5ba1fe86d30.diff
Patch: 
https://github.com/kamailio/kamailio/commit/4815912fd4e931f4a6710cd94defa5ba1fe86d30.patch

---

diff --git a/src/modules/rtpengine/rtpengine.c 
b/src/modules/rtpengine/rtpengine.c
index 3d6fa1aee55..101669d0f29 100644
--- a/src/modules/rtpengine/rtpengine.c
+++ b/src/modules/rtpengine/rtpengine.c
@@ -2992,6 +2992,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 || op == OP_UNSUBSCRIBE) {
                bencode_dictionary_add_str(

_______________________________________________
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