diff options
author | David Vossel <dvossel@digium.com> | 2010-08-13 22:27:20 +0000 |
---|---|---|
committer | David Vossel <dvossel@digium.com> | 2010-08-13 22:27:20 +0000 |
commit | eca520918118816ea0ae6c86711bbdf5e5ac5b2a (patch) | |
tree | cd817a12681d5876b7cedb0f5f38c32fe9908563 /configs | |
parent | f2d6d63da2c98d75c16823eca0dce6bdef40a06c (diff) |
Merged revisions 282302 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8
........
r282302 | dvossel | 2010-08-13 17:23:38 -0500 (Fri, 13 Aug 2010) | 10 lines
remove current STUN support from chan_sip.c
This patch removes the current broken/useless stun
support from chan_sip.
(closes issue #17622)
Reported by: philipp2
Review: https://reviewboard.asterisk.org/r/855/
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@282304 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'configs')
-rw-r--r-- | configs/sip.conf.sample | 21 |
1 files changed, 4 insertions, 17 deletions
diff --git a/configs/sip.conf.sample b/configs/sip.conf.sample index 244e22b6c..62af0e213 100644 --- a/configs/sip.conf.sample +++ b/configs/sip.conf.sample @@ -727,31 +727,18 @@ srvlookup=yes ; Enable DNS SRV lookups on outbound calls ; externhost=foo.dyndns.net ; refreshed periodically ; externrefresh=180 ; change the refresh interval ; -; c. "stunaddr = stun.server[:port]" queries the STUN server specified -; as an argument to obtain the external address/port. -; Queries are also sent periodically every "externrefresh" seconds -; (as a side effect, sending the query also acts as a keepalive for -; the state entry on the nat box): -; -; stunaddr = foo.stun.com:3478 -; externrefresh = 15 -; -; NOTE: STUN is only implemented for IPv4. -; ; Note that at the moment all these mechanism work only for the SIP socket. -; The IP address discovered with externaddr/externhost/STUN is reused for +; The IP address discovered with externaddr/externhost is reused for ; media sessions as well, but the port numbers are not remapped so you ; may still experience problems. ; ; NOTE 1: in some cases, NAT boxes will use different port numbers in ; the internal<->external mapping. In these cases, the "externaddr" and -; "externhost" might not help you configure addresses properly, and you -; really need to use STUN. +; "externhost" might not help you configure addresses properly. ; ; NOTE 2: when using "externaddr" or "externhost", the address part is -; also used as the external address for media sessions. Even if you -; use "stunaddr", STUN queries will be sent only from the SIP port, -; not from media sockets. Thus, the port information in the SDP may be wrong! +; also used as the external address for media sessions. Thus, the port +; information in the SDP may be wrong! ; ; In addition to the above, Asterisk has an additional "nat" parameter to ; address NAT-related issues in incoming SIP or media sessions. |