@Fr-Soltanzadeh commented on this pull request.
@@ -3349,7 +3349,10 @@ static bencode_item_t
*rtpp_function_call(bencode_buffer_t *bencbuf,
} else {
ng_flags.dict = extra_dict;
ng_flags.flags = bencode_dictionary_get(ng_flags.dict, "flags");
- bencode_dictionary_get_str(ng_flags.dict, "call-id", &ng_flags.call_id);
When ng_flags.dict does not have the "call-id" key, ng_flags.call_id will be
NULL. Therefore, I changed the code to set ng_flags.call_id only if ng_flags.dict contains
the "call-id" key.
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/4097#pullrequestreview-2532306402
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/4097/review/2532306402(a)github.com>