Marek Červenka
2015-Dec-04 17:22 UTC
[asterisk-users] asterisk 13 chan_pjsip tcp transport
hi, before i fill bug in asterisk issue tracker, is there someone who is using chan_pjsip + transport tcp in production with endpoints behind NAT? thanks -- --------------------------------------- Marek Cervenka =======================================
Marek ?ervenka wrote:> hi, > > before i fill bug in asterisk issue tracker, is there someone who is > using chan_pjsip + transport tcp in production with endpoints behind NAT? > thanksCommonly 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: www.digium.com & www.asterisk.org