[asterisk-commits] jpeeler: branch 1.6.1 r145262 - in /branches/1.6.1: ./ channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Sep 30 17:26:52 CDT 2008


Author: jpeeler
Date: Tue Sep 30 17:26:51 2008
New Revision: 145262

URL: http://svn.digium.com/view/asterisk?view=rev&rev=145262
Log:
Merged revisions 145249 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
r145249 | jpeeler | 2008-09-30 17:21:19 -0500 (Tue, 30 Sep 2008) | 6 lines

(closes issue #13337)
Reported by: pj
Tested by: pj

Set transport to SIP_TRANSPORT_UDP mode if not specified which fixes calls to get_transport returning UNKNOWN.

........

Modified:
    branches/1.6.1/   (props changed)
    branches/1.6.1/channels/chan_sip.c

Propchange: branches/1.6.1/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.

Modified: branches/1.6.1/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/branches/1.6.1/channels/chan_sip.c?view=diff&rev=145262&r1=145261&r2=145262
==============================================================================
--- branches/1.6.1/channels/chan_sip.c (original)
+++ branches/1.6.1/channels/chan_sip.c Tue Sep 30 17:26:51 2008
@@ -20263,6 +20263,8 @@
 				ast_log(LOG_WARNING, "'%s' is not a valid transport option to Dial() for SIP calls, using udp by default.\n", trans);
 			transport = SIP_TRANSPORT_UDP;
 		}
+	} else { /* use default */
+		transport = SIP_TRANSPORT_UDP;
 	}
 
 	if (!host) {




More information about the asterisk-commits mailing list