are you sure that it is easy? How do you detect if a UA
is NATed twice (or
even more times) or not?
Just because two UAs have the same external IP does not mean that they are in
same (local) network.
I save the original IP-Address in a second location database and compare the network parts
of caller and callee in addition to the value of the outbound ip-address. This really does
not work if they are natted 3 times and the first and third have the same RFC1918
net-class. But i don't mention this case - the probability is really low.
Nils Ohlmeier schrieb:
>Hi,
>
>On Tuesday 15 February 2005 23:37, Alexander Philipp Lintenhofer wrote:
>
>
>>Hi there,
>>I have a question concerning the following situation:
>>One client makes a call to another client in the same (private) LAN over
>>a SER located in the public network. It is easy to check if both clients
>>are behind the same NAT. So one can avoid using the mediaproxy and
>>therefore the mediastream stays in the local LAN.
>>
>>
>
are you sure that it is easy? How do you detect if a UA
is NATed twice (or
even more times) or not?
Just because two UAs have the same external IP does not mean that they are in
same (local) network.
>
>Greetings
> Nils
>
>
>