On 04/06/15 07:38, Mikko Lehto wrote: > Daniel-Constantin Mierla <mico...@gmail.com>: > >> 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. > The code is in core, core_cmd.c or so...
Cheers, Daniel -- Daniel-Constantin Mierla http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Book: SIP Routing With Kamailio - http://www.asipto.com _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users