[asterisk-users] asterisk 13 chan_pjsip tcp transport

Joshua Colp jcolp at digium.com
Fri Dec 4 11:48:29 CST 2015


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?
> thanks

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: www.digium.com & www.asterisk.org




More information about the asterisk-users mailing list