From: Scott Griepentrog Date: Thu, 2 Oct 2014 13:30:00 +0000 (+0000) Subject: res_pjsip: document use of rewrite_contact in sample conf X-Git-Tag: 12.7.0-rc1~93 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d452cf58fb6b18b75dc137d2fb3d5ae7441c6d70;p=thirdparty%2Fasterisk.git res_pjsip: document use of rewrite_contact in sample conf Without setting rewrite_contact, an invite to an endpoint behind NAT will not reach it - unless the endpoint itself uses STUN or TURN to discover it's public URI. Thus, the use of this should be in the sample documentation. Review: https://reviewboard.asterisk.org/r/4036/ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@424337 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/configs/pjsip.conf.sample b/configs/pjsip.conf.sample index 81a6cbb792..d751edc558 100644 --- a/configs/pjsip.conf.sample +++ b/configs/pjsip.conf.sample @@ -361,6 +361,7 @@ ;direct_media=no ;rtp_symmetric=yes ;force_rport=yes +;rewrite_contact=yes ; necessary if endpoint does not know/register public ip:port ;ice_support=yes ;This is specific to clients that support NAT traversal ;for media via ICE,STUN,TURN. See the wiki at: ;https://wiki.asterisk.org/wiki/x/D4FHAQ