[svn-commits] oej: branch 1.6.2 r216845 - in /branches/1.6.2: ./ channels/chan_sip.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Mon Sep 7 11:43:52 CDT 2009
Author: oej
Date: Mon Sep 7 11:43:51 2009
New Revision: 216845
URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=216845
Log:
Merged revisions 216842 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r216842 | oej | 2009-09-07 18:35:12 +0200 (MÃ¥n, 07 Sep 2009) | 2 lines
Make sure we reset global_exclude_static at channel reload
........
Modified:
branches/1.6.2/ (props changed)
branches/1.6.2/channels/chan_sip.c
Propchange: branches/1.6.2/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.
Modified: branches/1.6.2/channels/chan_sip.c
URL: http://svn.asterisk.org/svn-view/asterisk/branches/1.6.2/channels/chan_sip.c?view=diff&rev=216845&r1=216844&r2=216845
==============================================================================
--- branches/1.6.2/channels/chan_sip.c (original)
+++ branches/1.6.2/channels/chan_sip.c Mon Sep 7 11:43:51 2009
@@ -1122,11 +1122,11 @@
static int global_min_se; /*!< Lowest threshold for session refresh interval */
static int global_max_se; /*!< Highest threshold for session refresh interval */
-/*@}*/
+static int global_dynamic_exclude_static = 0; /*!< Exclude static peers from contact registrations */
+/*@}*/
/*! \brief Global list of addresses dynamic peers are not allowed to use */
static struct ast_ha *global_contact_ha = NULL;
-static int global_dynamic_exclude_static = 0;
/*! \name Object counters @{
* \bug These counters are not handled in a thread-safe way ast_atomic_fetchadd_int()
@@ -23750,6 +23750,7 @@
ast_set_flag(&global_flags[1], SIP_PAGE2_ALLOWSUBSCRIBE); /* Default for all devices: TRUE */
ast_set_flag(&global_flags[1], SIP_PAGE2_ALLOWOVERLAP); /* Default for all devices: TRUE */
sip_cfg.peer_rtupdate = TRUE;
+ global_dynamic_exclude_static = 0; /* Exclude static peers */
/* Session-Timers */
global_st_mode = SESSION_TIMER_MODE_ACCEPT;
More information about the svn-commits
mailing list