[asterisk-commits] file: trunk r369492 - in /trunk: ./ channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Jun 29 11:56:31 CDT 2012


Author: file
Date: Fri Jun 29 11:56:29 2012
New Revision: 369492

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=369492
Log:
With some configurations a transport is not actually specified so assume UDP in these cases.
........

Merged revisions 369490 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 369491 from http://svn.asterisk.org/svn/asterisk/branches/10

Modified:
    trunk/   (props changed)
    trunk/channels/chan_sip.c

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

Modified: trunk/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/chan_sip.c?view=diff&rev=369492&r1=369491&r2=369492
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Fri Jun 29 11:56:29 2012
@@ -26949,7 +26949,7 @@
 {
 	const struct ast_sockaddr *addr = NULL;
 
-	if (transport == SIP_TRANSPORT_UDP) {
+	if ((transport == SIP_TRANSPORT_UDP) || !transport) {
 		addr = &bindaddr;
 	}
 	else if (transport == SIP_TRANSPORT_TCP) {




More information about the asterisk-commits mailing list