@Fr-Soltanzadeh commented on this pull request.


> +     if(sess->callid)
+               bencode_dictionary_add_str(dict, "call-id", sess->callid);
+       else if(sess->msg)
+               bencode_dictionary_add_str(dict, "call-id", 
&sess->msg->callid->body);
+       if(sess->branch != RTPENGINE_ALL_BRANCHES)
+               bencode_dictionary_add_str(dict, "via-branch", viabranch);
+       if(to_tag && to_tag->len)
+               bencode_dictionary_add_str(dict, "to-tag", to_tag);
+       if(copy_flags & RTP_COPY_MODE_SIPREC) {
+               list = bencode_list(&bencbuf);
+               bencode_dictionary_add(dict, "flags", list);
+               bencode_list_add_string(list, "all");
+               bencode_list_add_string(list, "siprec");
+       } else if((copy_flags & RTP_COPY_LEG_BOTH) == RTP_COPY_LEG_BOTH) {
+               list = bencode_list(&bencbuf);
+               bencode_list_add_string(list, "all");

Yes, that's correct. Resolved.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/4071#discussion_r1887948047
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/pull/4071/review/2507927...@github.com>
_______________________________________________
Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to