From 1e620fe59ee34a16b786981a8618b22e6f6fd4c5 Mon Sep 17 00:00:00 2001 From: Scott Griepentrog Date: Thu, 2 Oct 2014 13:35:12 +0000 Subject: 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 --- configs/samples/pjsip.conf.sample | 1 + 1 file changed, 1 insertion(+) (limited to 'configs') 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 -- cgit v1.2.3