diff options
Diffstat (limited to 'configs/sip.conf.sample')
-rw-r--r-- | configs/sip.conf.sample | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/configs/sip.conf.sample b/configs/sip.conf.sample index 1ec5ae331..6014163ee 100644 --- a/configs/sip.conf.sample +++ b/configs/sip.conf.sample @@ -344,7 +344,7 @@ srvlookup=yes ; Enable DNS SRV lookups on outbound calls ;outboundproxy=tls://proxy.provider.domain ; same as '=proxy.provider.domain' except we try to connect with tls ; ; (could also be tcp,udp) - defining transports on the proxy line only ; ; applies for the global proxy, otherwise use the transport= option -;matchexterniplocally = yes ; Only substitute the externip or externhost setting if it matches +;matchexternaddrlocally = yes ; Only substitute the externaddr or externhost setting if it matches ; your localnet setting. Unless you have some sort of strange network ; setup you will not need to enable this. @@ -671,7 +671,7 @@ srvlookup=yes ; Enable DNS SRV lookups on outbound calls ; to a host outside the NAT. This information is derived by one of the ; following (mutually exclusive) config file parameters: ; -; a. "externip = hostname[:port]" specifies a static address[:port] to +; a. "externaddr = hostname[:port]" specifies a static address[:port] to ; be used in SIP and SDP messages. ; The hostname is looked up only once, when [re]loading sip.conf . ; If a port number is not present, use the port specified in the "udpbindaddr" @@ -680,15 +680,15 @@ srvlookup=yes ; Enable DNS SRV lookups on outbound calls ; This approach can be useful if you have a NAT device where you can ; configure the mapping statically. Examples: ; -; externip = 12.34.56.78 ; use this address. -; externip = 12.34.56.78:9900 ; use this address and port. -; externip = mynat.my.org:12600 ; Public address of my nat box. +; externaddr = 12.34.56.78 ; use this address. +; externaddr = 12.34.56.78:9900 ; use this address and port. +; externaddr = mynat.my.org:12600 ; Public address of my nat box. ; externtcpport = 9900 ; The externally mapped tcp port, when Asterisk is behind a static NAT or PAT. -; ; externtcpport will default to the externip or externhost port if either one is set. +; ; externtcpport will default to the externaddr or externhost port if either one is set. ; externtlsport = 12600 ; The externally mapped tls port, when Asterisk is behind a static NAT or PAT. ; ; externtlsport port will default to the RFC designated port of 5061. ; -; b. "externhost = hostname[:port]" is similar to "externip" except +; b. "externhost = hostname[:port]" is similar to "externaddr" except ; that the hostname is looked up every "externrefresh" seconds ; (default 10s). This can be useful when your NAT device lets you choose ; the port mapping, but the IP address is dynamic. @@ -708,16 +708,16 @@ srvlookup=yes ; Enable DNS SRV lookups on outbound calls ; externrefresh = 15 ; ; Note that at the moment all these mechanism work only for the SIP socket. -; The IP address discovered with externip/externhost/STUN is reused for +; The IP address discovered with externaddr/externhost/STUN 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 "externip" and +; 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. ; -; NOTE 2: when using "externip" or "externhost", the address part is +; 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! |