[asterisk-commits] mmichelson: trunk r174327 - /trunk/channels/chan_sip.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Feb 9 11:27:32 CST 2009
Author: mmichelson
Date: Mon Feb 9 11:27:32 2009
New Revision: 174327
URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=174327
Log:
Fix something I messed up in the merge I just did
Modified:
trunk/channels/chan_sip.c
Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/svn-view/asterisk/trunk/channels/chan_sip.c?view=diff&rev=174327&r1=174326&r2=174327
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Mon Feb 9 11:27:32 2009
@@ -4888,7 +4888,7 @@
}
}
if (!portno)
- portno = port ? atoi(port) : STANDARD_SIP_PORT;
+ portno = port ? atoi(port) : (dialog->socket.type & SIP_TRANSPORT_TLS) ? STANDARD_TLS_PORT : STANDARD_SIP_PORT;
hp = ast_gethostbyname(hostn, &ahp);
if (!hp) {
ast_log(LOG_WARNING, "No such host: %s\n", peername);
More information about the asterisk-commits
mailing list