From a6228ccaf3354152ce8fb023cecd9cb9f1dd7570 Mon Sep 17 00:00:00 2001 From: Olle Johansson Date: Mon, 26 Jan 2009 15:11:39 +0000 Subject: [PATCH] Just moving around variable declarations so that we have all globals in the same place. 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/channels/chan_sip.c b/channels/chan_sip.c index d547d04fec..450ee9ccb6 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -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: */