[asterisk-commits] dvossel: trunk r282578 - in /trunk: ./ channels/chan_sip.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Aug 17 16:37:51 CDT 2010
Author: dvossel
Date: Tue Aug 17 16:37:46 2010
New Revision: 282578
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=282578
Log:
Merged revisions 282577 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8
................
r282577 | dvossel | 2010-08-17 16:36:57 -0500 (Tue, 17 Aug 2010) | 16 lines
Merged revisions 282576 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2
........
r282576 | dvossel | 2010-08-17 16:35:17 -0500 (Tue, 17 Aug 2010) | 9 lines
fixes no default transport for temp peer creation in chan_sip
(closes issue #17829)
Reported by: falves11
Patches:
issue_17829.rev1.txt uploaded by russell (license 2)
issue_17829.diff uploaded by dvossel (license 671)
Tested by: falves11
........
................
Modified:
trunk/ (props changed)
trunk/channels/chan_sip.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.8-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=282578&r1=282577&r2=282578
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Tue Aug 17 16:37:46 2010
@@ -25401,6 +25401,8 @@
peer->timer_b = global_timer_b;
clear_peer_mailboxes(peer);
peer->disallowed_methods = sip_cfg.disallowed_methods;
+ peer->transports = default_transports;
+ peer->default_outbound_transport = default_primary_transport;
}
/*! \brief Create temporary peer (used in autocreatepeer mode) */
@@ -25555,6 +25557,7 @@
/* If we have realm authentication information, remove them (reload) */
clear_realm_authentication(peer->auth);
peer->auth = NULL;
+ /* clear the transport information. We will detect if a default value is required after parsing the config */
peer->default_outbound_transport = 0;
peer->transports = 0;
More information about the asterisk-commits
mailing list