res_pjsip: document use of rewrite_contact in sample conf
authorScott Griepentrog <sgriepentrog@digium.com>
Thu, 2 Oct 2014 13:36:01 +0000 (13:36 +0000)
committerScott Griepentrog <sgriepentrog@digium.com>
Thu, 2 Oct 2014 13:36:01 +0000 (13:36 +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/
........

Merged revisions 424337 from http://svn.asterisk.org/svn/asterisk/branches/12
........

Merged revisions 424338 from http://svn.asterisk.org/svn/asterisk/branches/13

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@424339 65c4cc65-6c06-0410-ace0-fbb531ad65f3

configs/samples/pjsip.conf.sample

index cbc1d7c..c138815 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