@ivanuschak commented on this pull request.
> @@ -204,6 +204,10 @@ static inline int msg_send_buffer( goto error; } + if(!dst->id) { + dst->id = con->id; + } +
This change is needed for siptrace. Below in this file at the line 334 dst
is passed as an argument to the SREV_NET_DATA_SENT
related function call.
If the tcp connection ID is assigned to dst
param then the tcp_connection search is correct and we have a proper siptrace with HAPROXY IP addresses (IP address of client and IP address of HAPROXY) , otherwise tcp connection search is based on real IP addresses (IP addresses of haproxy and IP address of kamailio) and in this case the siptrace contains not the correct IP-addresses.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.