]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Just moving around variable declarations so that we have all globals in the same...
authorOlle Johansson <oej@edvina.net>
Mon, 26 Jan 2009 15:11:39 +0000 (15:11 +0000)
committerOlle Johansson <oej@edvina.net>
Mon, 26 Jan 2009 15:11:39 +0000 (15:11 +0000)
Default setting is set before we activate the channel or at reloads, not where we declare the variable.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@171364 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index d547d04fecb2b486f48eb5c3986a910b41bf0e82..450ee9ccb6c4e702a81bb61048545756230f7c72 100644 (file)
@@ -522,8 +522,6 @@ static int mwi_expiry = DEFAULT_MWI_EXPIRY;
 #define DEFAULT_QUALIFY_GAP   100
 #define DEFAULT_QUALIFY_PEERS 1
 
-static int global_qualify_gap = DEFAULT_QUALIFY_GAP;              /*!< Time between our group of peer pokes */
-static int global_qualify_peers = DEFAULT_QUALIFY_PEERS;          /*!< Number of peers to poke at a given time */
 
 #define CALLERID_UNKNOWN        "Unknown"
 
@@ -1101,6 +1099,8 @@ static int global_timer_b;                        /*!< Timer B - RFC 3261 Section 17.1.1.2 */
 static int global_autoframing;                 /*!< Turn autoframing on or off. */
 static struct sip_proxy global_outboundproxy;  /*!< Outbound proxy */
 static int global_qualifyfreq;                 /*!< Qualify frequency */
+static int global_qualify_gap;              /*!< Time between our group of peer pokes */
+static int global_qualify_peers;          /*!< Number of peers to poke at a given time */
 
 
 /*! \brief Codecs that we support by default: */