[asterisk-commits] file: branch 10 r369491 - in /branches/10: ./ channels/chan_sip.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Jun 29 11:54:15 CDT 2012
Author: file
Date: Fri Jun 29 11:54:11 2012
New Revision: 369491
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=369491
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
Modified:
branches/10/ (props changed)
branches/10/channels/chan_sip.c
Propchange: branches/10/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.
Modified: branches/10/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/channels/chan_sip.c?view=diff&rev=369491&r1=369490&r2=369491
==============================================================================
--- branches/10/channels/chan_sip.c (original)
+++ branches/10/channels/chan_sip.c Fri Jun 29 11:54:11 2012
@@ -26427,7 +26427,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