Updates:
Status: Fixed
Cc: vladimir.ralev
Comment #2 on issue 563 by jean.deruelle: Dont use STUN for local network
addresses
http://code.google.com/p/mobicents/issues/detail?id=563
I implemented the following solution :
when a request is sent out, we check the first route header (it will be
used before
the request uri for request routing as per RFC3261) or the request uri if
the route
header is null. we get the host part of the sip uri and check it against
the list of
the container outbound interfaces addresses and virtual hostnames. If it
matches then
it's local and the system headers use the local ip address otherwise they
use the
public ip address.
For the responses the same check is done but on the first via header.
Committed in r4788
Vlad please verify
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings