before i fill bug in asterisk issue tracker, is there someone who is using chan_pjsip + transport tcp in production with endpoints behind NAT?
Marek Červenka wrote:
Commonly the Contact provided by endpoints will be an unreachable IP
address and port in this case. In order to reuse the already established connection you need to set contact_rewrite to yes. If the connection is established then it will be reused. If you restart and break the TCP
connection then Asterisk won’t be able to establish the TCP connection back and it is up to the endpoint to establish a new one.
Joshua Colp Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW – Huntsville, AL 35806 – US
Check us out at: http://www.digium.com & http://www.asterisk.org