On Thu, Dec 9, 2010 at 7:31 PM, Anshuman S. Rawat <arawat at 3clogic.com> wrote: > > Now, OpenSIPS is unable to route the request to the contact when the client > is behind a NAT. Is there a way to make the port on 'Contact' same as the > source port? That way OpenSIPS would route the request over the already > established TCP connection. > That's not true. If the client is behind NAT, different IP would have been returned in the Via received parameter of the 200/OK, and PJSIP would re-register using that IP and the source TCP port in the Contact. In your current setup, there should not be any problem for the server to open a TCP connection to the client, as they are in the same LAN. Maybe there's a configuration in OpenSIPS that you need to tweak. -Benny