[svn-commits] oej: branch oej/pgtips-srv-and-outbound-stuff-1.8 r421525 - /team/oej/pgtips-...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Aug 20 04:23:04 CDT 2014


Author: oej
Date: Wed Aug 20 04:22:58 2014
New Revision: 421525

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=421525
Log:
Disabling some code I fail to remember what it was all about. Proparly something fantastic.

Modified:
    team/oej/pgtips-srv-and-outbound-stuff-1.8/channels/chan_sip.c

Modified: team/oej/pgtips-srv-and-outbound-stuff-1.8/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/team/oej/pgtips-srv-and-outbound-stuff-1.8/channels/chan_sip.c?view=diff&rev=421525&r1=421524&r2=421525
==============================================================================
--- team/oej/pgtips-srv-and-outbound-stuff-1.8/channels/chan_sip.c (original)
+++ team/oej/pgtips-srv-and-outbound-stuff-1.8/channels/chan_sip.c Wed Aug 20 04:22:58 2014
@@ -29161,7 +29161,9 @@
 				if (!res) {
 					unsigned int ttl=0;
 					/* We need to test every address in the SRV record set. */
-					res = ast_sockaddr_resolve_first_transport_ttl(&ip, &ttl, hostname, 0, peer->socket.type);
+					// Why add a ttl here? Think, man, think
+					//res = ast_sockaddr_resolve_first_transport_ttl(&ip, &ttl, hostname, 0, peer->socket.type);
+					res = ast_sockaddr_resolve_first_transport(&ip, hostname, 0, peer->socket.type);
 					if (ast_sockaddr_isnull(&ip) || res ) {
 						ast_debug(3, " ==> Bad IP, could not resolve hostname %s to proper family. \n", hostname);
 					} else {




More information about the svn-commits mailing list