[asterisk-commits] simon.perreault: trunk r280779 - in /trunk: ./ configs/sip.conf.sample

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Aug 3 14:59:03 CDT 2010


Author: simon.perreault
Date: Tue Aug  3 14:58:59 2010
New Revision: 280779

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=280779
Log:
Merged revisions 280777 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r280777 | simon.perreault | 2010-08-03 15:53:07 -0400 (Tue, 03 Aug 2010) | 8 lines
  
  Better documentation related to IPv6.
  
  (closes issue #17737)
  Reported by: oej
  Patches:
        doc.diff uploaded by sperreault (license 252)
  Tested by: mmichelson
........

Modified:
    trunk/   (props changed)
    trunk/configs/sip.conf.sample

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.

Modified: trunk/configs/sip.conf.sample
URL: http://svnview.digium.com/svn/asterisk/trunk/configs/sip.conf.sample?view=diff&rev=280779&r1=280778&r2=280779
==============================================================================
--- trunk/configs/sip.conf.sample (original)
+++ trunk/configs/sip.conf.sample Tue Aug  3 14:58:59 2010
@@ -136,6 +136,28 @@
                                 ; In this case Realm will be based on request 'From'/'To' header
                                 ; and should match one of domain names.
                                 ; Otherwise default 'realm=...' will be used.
+
+; With the current situation, you can do one of four things:
+;  a) Listen on a specific IPv4 address.      Example: bindaddr=192.0.2.1
+;  b) Listen on a specific IPv6 address.      Example: bindaddr=2001:db8::1
+;  c) Listen on the IPv4 wildcard.            Example: bindaddr=0.0.0.0
+;  d) Listen on the IPv4 and IPv6 wildcards.  Example: bindaddr=::
+; (You can choose independently for UDP, TCP, and TLS, by specifying different values for
+; "udpbindaddr", "tcpbindaddr", and "tlsbindaddr".)
+;
+; You may optionally add a port number. (The default is port 5060 for UDP and TCP, 5061
+; for TLS).
+;   IPv4 example: bindaddr=0.0.0.0:5062
+;   IPv6 example: bindaddr=[::]:5062
+;
+; The address family of the bound UDP address is used to determine how Asterisk performs
+; DNS lookups. In cases a) and c) above, only A records are considered. In case b), only
+; AAAA records are considered. In case d), both A and AAAA records are considered. Note,
+; however, that Asterisk ignores all records except the first one. In case d), when both A
+; and AAAA records are available, either an A or AAAA record will be first, and which one
+; depends on the operating system. On systems using glibc, AAAA records are given
+; priority.
+
 udpbindaddr=0.0.0.0             ; IP address to bind UDP listen socket to (0.0.0.0 binds to all)
                                 ; Optionally add a port number, 192.168.1.1:5062 (default is port 5060)
 
@@ -706,6 +728,8 @@
 ;
 ;        stunaddr = foo.stun.com:3478
 ;        externrefresh = 15
+;
+;      NOTE: STUN is only implemented for IPv4.
 ;
 ;   Note that at the moment all these mechanism work only for the SIP socket.
 ;   The IP address discovered with externaddr/externhost/STUN is reused for




More information about the asterisk-commits mailing list