diff options
author | Mark Spencer <markster@digium.com> | 2004-05-08 20:58:24 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2004-05-08 20:58:24 +0000 |
commit | d2a44089306962543a251bd6f21a7de38bcaebde (patch) | |
tree | 43a1691c84c8404e356b0e127aadd3179c091cc7 /configs | |
parent | 9740f51d00ed3bfb6ef35bd9ac1cb0433485f19b (diff) |
Show peers formatting fixes, SIP strlen optimizations, and using ACL for local network matching (bugs #1587, 1586, 1585, 1584)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2927 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'configs')
-rwxr-xr-x | configs/sip.conf.sample | 12 |
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 |