[asterisk-commits] oej: trunk r171364 - /trunk/channels/chan_sip.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Jan 26 09:11:39 CST 2009
Author: oej
Date: Mon Jan 26 09:11:39 2009
New Revision: 171364
URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=171364
Log:
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.
Modified:
trunk/channels/chan_sip.c
Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/svn-view/asterisk/trunk/channels/chan_sip.c?view=diff&rev=171364&r1=171363&r2=171364
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Mon Jan 26 09:11:39 2009
@@ -522,8 +522,6 @@
#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_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: */
More information about the asterisk-commits
mailing list