[asterisk-commits] oej: branch oej/pine-multiple-externip-trunk r378024 - in /team/oej/pine-mult...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Dec 14 06:28:53 CST 2012


Author: oej
Date: Fri Dec 14 06:28:50 2012
New Revision: 378024

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=378024
Log:
Reviewboard changes

Modified:
    team/oej/pine-multiple-externip-trunk/channels/chan_sip.c
    team/oej/pine-multiple-externip-trunk/configs/sip.conf.sample

Modified: team/oej/pine-multiple-externip-trunk/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/team/oej/pine-multiple-externip-trunk/channels/chan_sip.c?view=diff&rev=378024&r1=378023&r2=378024
==============================================================================
--- team/oej/pine-multiple-externip-trunk/channels/chan_sip.c (original)
+++ team/oej/pine-multiple-externip-trunk/channels/chan_sip.c Fri Dec 14 06:28:50 2012
@@ -31711,7 +31711,7 @@
 			if (ast_parse_arg(v->value, PARSE_ADDR, &media_address))
 				ast_log(LOG_WARNING, "Invalid address for media_address keyword: %s\n", v->value);
 		} else if (!strcasecmp(v->name, "externaddr") || !strcasecmp(v->name, "externip")) {
-			if (!ast_strlen_zero(v->value) && ast_parse_arg(v->value, PARSE_ADDR, &externaddr)) {
+			if (ast_parse_arg(v->value, PARSE_ADDR, &externaddr)) {
 				ast_log(LOG_WARNING,
 					"Invalid address for externaddr keyword: %s\n",
 					v->value);

Modified: team/oej/pine-multiple-externip-trunk/configs/sip.conf.sample
URL: http://svnview.digium.com/svn/asterisk/team/oej/pine-multiple-externip-trunk/configs/sip.conf.sample?view=diff&rev=378024&r1=378023&r2=378024
==============================================================================
--- team/oej/pine-multiple-externip-trunk/configs/sip.conf.sample (original)
+++ team/oej/pine-multiple-externip-trunk/configs/sip.conf.sample Fri Dec 14 06:28:50 2012
@@ -830,7 +830,7 @@
 ;        externtlsport = 12600  ; The externally mapped tls port, when Asterisk is behind a static NAT or PAT.
 ;                               ; externtlsport port will default to the RFC designated port of 5061.	
 
-; 	The externaddr configuration is also valid for specific peers and is only
+;	The externaddr configuration is also valid for specific peers and is only
 ;	used for IPv4 connections. The device configuration overrides the one in the
 ;	[general] section of sip.conf
 ;




More information about the asterisk-commits mailing list