]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
res_pjsip: document use of rewrite_contact in sample conf
authorScott Griepentrog <sgriepentrog@digium.com>
Thu, 2 Oct 2014 13:30:00 +0000 (13:30 +0000)
committerScott Griepentrog <sgriepentrog@digium.com>
Thu, 2 Oct 2014 13:30:00 +0000 (13:30 +0000)
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

configs/pjsip.conf.sample

index 81a6cbb79284150cb5f7308284e84fe9c2ce6c1c..d751edc5584855249234114e8e4d2b4f0667c460 100644 (file)
 ;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