MT#55283 add "directional" flag to list

Change-Id: Iaf80f1f9a053c3b202fbc15f4979d27e0bfb614e
(cherry picked from commit 928aabc3a8)
mr14.0
Richard Fuchs 3 months ago
parent b8535184c3
commit a36c79c22d

@ -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/lost-add-method-parameter-to-http_connect-calls.patch
sipwise/usrloc-don-t-synchronize-on-destroy-for-DB_ONLY.patch sipwise/usrloc-don-t-synchronize-on-destroy-for-DB_ONLY.patch
sipwise/presence_offline_cleanup.patch sipwise/presence_offline_cleanup.patch
sipwise/rtpengine-directional-flag.patch
### active development ### active development
sipwise/permissions-don-t-allow-reloads-in-the-middle-of-ong.patch sipwise/permissions-don-t-allow-reloads-in-the-middle-of-ong.patch
sipwise/dlg_get_var_error_more_verbose_on_dlg sipwise/dlg_get_var_error_more_verbose_on_dlg

@ -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