Skip to content
Snippets Groups Projects
Commit 259f0d76 authored by Olle Johansson's avatar Olle Johansson
Browse files

- move definition of global_autoframing to the same place as other globals

- set initial value at load/reload
- Add questionmarks for someone to fill in for doxygen 


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44717 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 12ef70f0
Branches
Tags
No related merge requests found
...@@ -522,6 +522,7 @@ static char global_useragent[AST_MAX_EXTENSION]; /*!< Useragent for the SIP chan ...@@ -522,6 +522,7 @@ static char global_useragent[AST_MAX_EXTENSION]; /*!< Useragent for the SIP chan
static int allow_external_domains; /*!< Accept calls to external SIP domains? */ static int allow_external_domains; /*!< Accept calls to external SIP domains? */
static int global_callevents; /*!< Whether we send manager events or not */ static int global_callevents; /*!< Whether we send manager events or not */
static int global_t1min; /*!< T1 roundtrip time minimum */ static int global_t1min; /*!< T1 roundtrip time minimum */
static int global_autoframing; /*!< ?????????? */
static enum transfermodes global_allowtransfer; /*!< SIP Refer restriction scheme */ static enum transfermodes global_allowtransfer; /*!< SIP Refer restriction scheme */
   
/*! \brief Codecs that we support by default: */ /*! \brief Codecs that we support by default: */
...@@ -538,7 +539,6 @@ static int regobjs = 0; /*!< Registry objects */ ...@@ -538,7 +539,6 @@ static int regobjs = 0; /*!< Registry objects */
   
static struct ast_flags global_flags[2] = {{0}}; /*!< global SIP_ flags */ static struct ast_flags global_flags[2] = {{0}}; /*!< global SIP_ flags */
   
static int global_autoframing = 0;
   
/*! \brief Protect the SIP dialog list (of sip_pvt's) */ /*! \brief Protect the SIP dialog list (of sip_pvt's) */
AST_MUTEX_DEFINE_STATIC(iflock); AST_MUTEX_DEFINE_STATIC(iflock);
...@@ -15669,6 +15669,7 @@ static int reload_config(enum channelreloadreason reason) ...@@ -15669,6 +15669,7 @@ static int reload_config(enum channelreloadreason reason)
pedanticsipchecking = DEFAULT_PEDANTIC; pedanticsipchecking = DEFAULT_PEDANTIC;
global_mwitime = DEFAULT_MWITIME; global_mwitime = DEFAULT_MWITIME;
autocreatepeer = DEFAULT_AUTOCREATEPEER; autocreatepeer = DEFAULT_AUTOCREATEPEER;
global_autoframing = 0;
global_allowguest = DEFAULT_ALLOWGUEST; global_allowguest = DEFAULT_ALLOWGUEST;
global_rtptimeout = 0; global_rtptimeout = 0;
global_rtpholdtimeout = 0; global_rtpholdtimeout = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment