MT#55283 add "directional" flag to list

Change-Id: Iaf80f1f9a053c3b202fbc15f4979d27e0bfb614e
(cherry picked from commit 928aabc3a8)
mr13.5
Richard Fuchs 3 months ago
parent 06da671c6b
commit 6289071d4e

@ -42,6 +42,7 @@ sipwise/http_client-add-method-parameter-to-http_connect.patch
sipwise/lost-add-method-parameter-to-http_connect-calls.patch
sipwise/usrloc-don-t-synchronize-on-destroy-for-DB_ONLY.patch
sipwise/presence_offline_cleanup.patch
sipwise/rtpengine-directional-flag.patch
### active development
sipwise/permissions-don-t-allow-reloads-in-the-middle-of-ong.patch
sipwise/db_redis_protect_length_overflow.patch

@ -0,0 +1,11 @@
--- a/src/modules/rtpengine/rtpengine.c
+++ b/src/modules/rtpengine/rtpengine.c
@@ -2992,6 +2992,8 @@
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(
Loading…
Cancel
Save