summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Griepentrog <sgriepentrog@digium.com>2014-10-02 13:35:12 +0000
committerScott Griepentrog <sgriepentrog@digium.com>2014-10-02 13:35:12 +0000
commit1e620fe59ee34a16b786981a8618b22e6f6fd4c5 (patch)
tree8ec39ea354cb768bd3e7fe0a821e066aa81c25ce
parent2dfc3b65f8ccbacc9bab0691233a8275c4026c6b (diff)
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/ ........ Merged revisions 424337 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@424338 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r--configs/samples/pjsip.conf.sample1
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/samples/pjsip.conf.sample b/configs/samples/pjsip.conf.sample
index cbc1d7cee..c138815ce 100644
--- a/configs/samples/pjsip.conf.sample
+++ b/configs/samples/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