<p></p>
<p><b>@toharish</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/kamailio/kamailio/pull/3230#discussion_r965141171">src/modules/rtpengine/rtpengine.c</a>:</p>
<pre style='color:#555'>> @@ -2649,13 +2672,18 @@ static bencode_item_t *rtpp_function_call(bencode_buffer_t *bencbuf, struct sip_
                bencode_dictionary_add_str(ng_flags.dict, "via-branch", &viabranch);
        }
 
-       item = bencode_list(bencbuf);
-       bencode_dictionary_add(ng_flags.dict, "received-from", item);
-       bencode_list_add_string(item, (msg->rcv.src_ip.af == AF_INET) ? "IP4" : (
-               (msg->rcv.src_ip.af == AF_INET6) ? "IP6" :
-               "?"
-       ) );
-       bencode_list_add_string(item, ip_addr2a(&msg->rcv.src_ip));
+       if (ng_flags.received_from && ng_flags.received_from->child) {
+               bencode_dictionary_add(ng_flags.dict, "received-from", ng_flags.received_from);
+       }
+       else {
+               item = bencode_list(bencbuf);
</pre>
<p dir="auto">Reuse of ng_flags.received_from done<br>
fixed ng_flags.received-from = bencode_list(bencbuf); to ng_flags.received_from = bencode_list(bencbuf);<br>
complied and verified. Thank you for your support.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/pull/3230#discussion_r965141171">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZOTEMAVOXIBXPXCVEDV5DLE7ANCNFSM6AAAAAAQCU7W34">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/ABO7UZOWSM6CSZK6ZPEZN53V5DLE7A5CNFSM6AAAAAAQCU7W36WGG33NNVSW45C7OR4XAZNRKB2WY3CSMVYXKZLTORJGK5TJMV32UY3PNVWWK3TUL5UWJTSBRK3YQ.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><kamailio/kamailio/pull/3230/review/1099609992</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/pull/3230#discussion_r965141171",
"url": "https://github.com/kamailio/kamailio/pull/3230#discussion_r965141171",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>