diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-06-26 20:19:49 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-06-26 20:19:49 +0000 |
commit | 051fb41bd160cff1874415101e8a6458aced6115 (patch) | |
tree | 856b129a30dff0b3dfecb4176120bbc9c0abe515 /configs/sip.conf.sample | |
parent | 6092a3511b9ec149f276da7bfa50fae102b67757 (diff) |
Fix the 'nat' option to actually do RFC3581 as expected and extend the configurable values for finer control.
(closes issue #8855)
Reported by: mikma
Tested by: klaus3000, file
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@203735 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configs/sip.conf.sample')
-rw-r--r-- | configs/sip.conf.sample | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/configs/sip.conf.sample b/configs/sip.conf.sample index 245f87145..3aadc633d 100644 --- a/configs/sip.conf.sample +++ b/configs/sip.conf.sample @@ -635,11 +635,10 @@ srvlookup=yes ; Enable DNS SRV lookups on outbound calls ; However, this is only useful if the external traffic can reach us. ; The following settings are allowed (both globally and in individual sections): ; -; nat = no ; default. Use NAT mode only according to RFC3581 (;rport) -; nat = yes ; Always ignore info and assume NAT -; nat = never ; Never attempt NAT mode or RFC3581 support -; nat = route ; route = Assume NAT, don't send rport -; ; (work around more UNIDEN bugs) +; nat = no ; Default. Use rport if the remote side says to use it. +; nat = force_rport ; Force rport to always be on. +; nat = yes ; Force rport to always be on and perform symmetric RTP. +; nat = comedia ; Use rport if the remote side says to use it and perform symmetric RTP. ;----------------------------------- MEDIA HANDLING -------------------------------- ; By default, Asterisk tries to re-invite the audio to an optimal path. If there's |