[asterisk-dev] [asterisk-commits] oej: trunk r128237 - /trunk/configs/sip.conf.sample
Donny Kavanagh
donnyk at gmail.com
Sat Jul 5 23:17:08 CDT 2008
To me the bindaddr/tcpbindaddr/bindport are a messy.
We should go one way or the other, either:
A) deprecate bindport and support bindaddr=x.x.x.x:port &
tcpbindaddr=x.x.x.x:port
OR
B) support tcpbindaddr only as x.x.x.x and add tcpbindport.
This makes it constant.
Donny
On Sat, Jul 5, 2008 at 4:39 PM, SVN commits to the Asterisk project
<asterisk-commits at lists.digium.com> wrote:
> Author: oej
> Date: Sat Jul 5 15:39:54 2008
> New Revision: 128237
>
> URL: http://svn.digium.com/view/asterisk?view=rev&rev=128237
> Log:
> Make TCP disabled by default (it's considered experimental)
>
> Modified:
> trunk/configs/sip.conf.sample
>
> Modified: trunk/configs/sip.conf.sample
> URL: http://svn.digium.com/view/asterisk/trunk/configs/sip.conf.sample?view=diff&rev=128237&r1=128236&r2=128237
> ==============================================================================
> --- trunk/configs/sip.conf.sample (original)
> +++ trunk/configs/sip.conf.sample Sat Jul 5 15:39:54 2008
> @@ -75,9 +75,10 @@
> ; asterisk.conf, it defaults to that system name
> ; Realms MUST be globally unique according to RFC 3261
> ; 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
> -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
> @@ -85,7 +86,7 @@
> ; 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.
> ;
> -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)
> ; Optionally add a port number, 192.168.1.1:5062 (default is port 5060)
>
>
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-commits mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-commits
>
More information about the asterisk-dev
mailing list