[asterisk-commits] dvossel: branch 1.8 r282577 - in /branches/1.8: ./ channels/chan_sip.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Aug 17 16:37:01 CDT 2010
Author: dvossel
Date: Tue Aug 17 16:36:57 2010
New Revision: 282577
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=282577
Log:
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:
branches/1.8/ (props changed)
branches/1.8/channels/chan_sip.c
Propchange: branches/1.8/
------------------------------------------------------------------------------
Binary property 'branch-1.6.2-merged' - no diff available.
Modified: branches/1.8/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/channels/chan_sip.c?view=diff&rev=282577&r1=282576&r2=282577
==============================================================================
--- branches/1.8/channels/chan_sip.c (original)
+++ branches/1.8/channels/chan_sip.c Tue Aug 17 16:36:57 2010
@@ -25369,6 +25369,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) */
@@ -25523,6 +25525,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