[asterisk-commits] jpdionne: branch group/v6-new r270973 - /team/group/v6-new/channels/chan_sip.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Jun 16 15:10:39 CDT 2010
Author: jpdionne
Date: Wed Jun 16 15:10:36 2010
New Revision: 270973
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=270973
Log:
Use 0.0.0.0:5060 as the default tcpbindaddr.
Modified:
team/group/v6-new/channels/chan_sip.c
Modified: team/group/v6-new/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/team/group/v6-new/channels/chan_sip.c?view=diff&rev=270973&r1=270972&r2=270973
==============================================================================
--- team/group/v6-new/channels/chan_sip.c (original)
+++ team/group/v6-new/channels/chan_sip.c Wed Jun 16 15:10:36 2010
@@ -26073,7 +26073,7 @@
} else if (!strcasecmp(v->name, "tcpenable")) {
if(!ast_false(v->value)) {
ast_debug(2, "Enabling TCP socket for listening\n");
- ast_sockaddr_parse(&sip_tcp_desc.local_address, "[::]:5060", 0);
+ ast_sockaddr_parse(&sip_tcp_desc.local_address, "0.0.0.0:5060", 0);
}
} else if (!strcasecmp(v->name, "tcpbindaddr")) {
if (ast_parse_arg(v->value, PARSE_ADDR, &sip_tcp_desc.local_address))
More information about the asterisk-commits
mailing list