Daniel-Constantin Mierla <miconda(a)gmail.com>om>:
quickly checking the code it seems that the dst_ip is
holding the local
address always, even for outbound connection.
Not being the author of the code, my guess is that the lookup of
connection is done always on src_ip matching the remote peer address.
Also, the structure used there is the one specific for holding received
info for sip packets.
The output is somehow misleading, maybe the fields should be renamed to
local_ip/port and remote_ip/port in the output of the rpc commands.
Much more clear now, thanks!
It propably is wise to touch only RPC output.
I'll try to look into this again soon and come up with patch.
--
Mikko