aboutsummaryrefslogtreecommitdiffstats
path: root/configs/sip.conf.sample
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-05-08 20:58:24 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-05-08 20:58:24 +0000
commit96772482f659dba7dbb91ece321dab06e9d6fdc8 (patch)
tree43a1691c84c8404e356b0e127aadd3179c091cc7 /configs/sip.conf.sample
parentf600c353abc06b80280e063e9826d0322124513f (diff)
Show peers formatting fixes, SIP strlen optimizations, and using ACL for local network matching (bugs #1587, 1586, 1585, 1584)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2927 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configs/sip.conf.sample')
-rwxr-xr-xconfigs/sip.conf.sample12
1 files changed, 8 insertions, 4 deletions
diff --git a/configs/sip.conf.sample b/configs/sip.conf.sample
index d87f090bf..c5e7146cf 100755
--- a/configs/sip.conf.sample
+++ b/configs/sip.conf.sample
@@ -68,11 +68,15 @@ context = default ; Default context for incoming calls
;externip = 200.201.202.203 ; Address that we're going to put in outbound SIP messages
; if we're behind a NAT
-;localnet = 192.168.1.0 ; Internal NETWORK address
-;localmask = 255.255.255.0 ; Internal netmask
- ; The externip, localnet and localmask is used
- ; when registering and communication with other proxies
+
+ ; The externip and localnet is used
+ ; when registering and communicating with other proxies
; that we're registered with
+ ; You may add multiple local networks. A reasonable set of defaults
+ ; are:
+;localnet=192.168.0.0/255.255.0.0; All RFC 1918 addresses are local networks
+;localnet=10.0.0.0/255.0.0.0 ; Also RFC1918
+;localnet=169.254.0.0/255.255.0.0 ;Zero conf local network
;[snomsip]
;type=friend