[svn-commits] oej: trunk r216842 - /trunk/channels/chan_sip.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Mon Sep 7 11:35:14 CDT 2009
Author: oej
Date: Mon Sep 7 11:35:12 2009
New Revision: 216842
URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=216842
Log:
Make sure we reset global_exclude_static at channel reload
Modified:
trunk/channels/chan_sip.c
Modified: trunk/channels/chan_sip.c
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/channels/chan_sip.c?view=diff&rev=216842&r1=216841&r2=216842
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Mon Sep 7 11:35:12 2009
@@ -1244,9 +1244,9 @@
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 */
/*@}*/
-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()
@@ -24841,6 +24841,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