On Sep 29, 2004 at 13:33, Soren (Home) soren@tanesha.net wrote:
Hi Andrei,
The problem to me is, that almost never it returns true, since most clients have buildin STUN today.
However, X-lite, Grandstream and some others I've tried all send the public IP address also for Symmetric NATs, hence Client<->Client will not work without rtpproxy.
I thought X-Lite was one of the few which got it right.
Any suggestions on how to solve that with nat_uac_test ?
Try the attached patch. It adds a new nat_uac_test flag (16) that will test for differences between the source port of the message and the port in via. Usage: nat_uac_test("16") or to include all the common tests: nat_uac_test("19") ( private ip in contact | src ip != ip in via | src port != port in via)
(like all the other via tests, it makes sense only for requests)
Andrei