Add externip keyword so that it's possible to use asterisk behind a NAT through port forwarding

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1681 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Martin Pycko
2003-10-31 16:13:49 +00:00
parent 0519fde656
commit da93b54687
2 changed files with 28 additions and 15 deletions

View File

@@ -4,6 +4,7 @@
[general]
port = 5060 ; Port to bind to
bindaddr = 0.0.0.0 ; Address to bind to
externip = 200.201.202.203 ; Address that we're going to put in SIP messages if we're behind a NAT
context = default ; Default for incoming calls
;srvlookup = yes ; Enable SRV lookups on outbound calls
;pedantic = yes ; Enable slow, pedantic checking for Pingtel