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
This commit is contained in:
Mark Spencer
2004-05-08 20:58:24 +00:00
parent 9740f51d00
commit d2a4408930
2 changed files with 65 additions and 32 deletions

View File

@@ -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