[asterisk-commits] jpeeler: trunk r145249 - /trunk/channels/chan_sip.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Sep 30 17:21:19 CDT 2008
Author: jpeeler
Date: Tue Sep 30 17:21:19 2008
New Revision: 145249
URL: http://svn.digium.com/view/asterisk?view=rev&rev=145249
Log:
(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:
trunk/channels/chan_sip.c
Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?view=diff&rev=145249&r1=145248&r2=145249
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Tue Sep 30 17:21:19 2008
@@ -20354,6 +20354,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