mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-21 01:01:02 +00:00
Make TCP disabled by default (it's considered experimental)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@128237 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -75,9 +75,10 @@ allowoverlap=no ; Disable overlap dialing support. (Default is yes)
|
|||||||
; asterisk.conf, it defaults to that system name
|
; asterisk.conf, it defaults to that system name
|
||||||
; Realms MUST be globally unique according to RFC 3261
|
; Realms MUST be globally unique according to RFC 3261
|
||||||
; Set this to your host name or domain name
|
; Set this to your host name or domain name
|
||||||
bindport=5060 ; UDP Port to bind to (SIP standard port is 5060)
|
bindport=5060 ; UDP Port to bind to (SIP standard port for unencrypted UDP
|
||||||
|
; and TCP sessions is 5060)
|
||||||
; bindport is the local UDP port that Asterisk will listen on
|
; bindport is the local UDP port that Asterisk will listen on
|
||||||
bindaddr=0.0.0.0 ; IP address to bind to (0.0.0.0 binds to all)
|
bindaddr=0.0.0.0 ; IP address to bind UDP listen socket to (0.0.0.0 binds to all)
|
||||||
|
|
||||||
;
|
;
|
||||||
; Note that the TCP and TLS support for chan_sip is currently considered
|
; Note that the TCP and TLS support for chan_sip is currently considered
|
||||||
@@ -85,7 +86,7 @@ bindaddr=0.0.0.0 ; IP address to bind to (0.0.0.0 binds to all)
|
|||||||
; subject to change in any release. If they are changed, the changes will
|
; subject to change in any release. If they are changed, the changes will
|
||||||
; be reflected in this sample configuration file, as well as in the UPGRADE.txt file.
|
; be reflected in this sample configuration file, as well as in the UPGRADE.txt file.
|
||||||
;
|
;
|
||||||
tcpenable=yes ; Enable server for incoming TCP connections (default is yes)
|
tcpenable=no ; Enable server for incoming TCP connections (default is yes)
|
||||||
tcpbindaddr=0.0.0.0 ; IP address for TCP server to bind to (0.0.0.0 binds to all interfaces)
|
tcpbindaddr=0.0.0.0 ; IP address for TCP server to bind to (0.0.0.0 binds to all interfaces)
|
||||||
; Optionally add a port number, 192.168.1.1:5062 (default is port 5060)
|
; Optionally add a port number, 192.168.1.1:5062 (default is port 5060)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user