mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-26 06:26:41 +00:00
New CLI command "Core show settings" to list some core settings
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54464 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -88,7 +88,7 @@ static pthread_t cdr_thread = AST_PTHREADT_NULL;
|
||||
#define BATCH_SCHEDULER_ONLY_DEFAULT 0
|
||||
#define BATCH_SAFE_SHUTDOWN_DEFAULT 1
|
||||
|
||||
static int enabled;
|
||||
static int enabled; /*! Is the CDR subsystem enabled ? */
|
||||
static int batchmode;
|
||||
static int batchsize;
|
||||
static int batchtime;
|
||||
@@ -101,6 +101,10 @@ AST_MUTEX_DEFINE_STATIC(cdr_batch_lock);
|
||||
AST_MUTEX_DEFINE_STATIC(cdr_pending_lock);
|
||||
static ast_cond_t cdr_pending_cond;
|
||||
|
||||
int check_cdr_enabled()
|
||||
{
|
||||
return enabled;
|
||||
}
|
||||
|
||||
/*! Register a CDR driver. Each registered CDR driver generates a CDR
|
||||
\return 0 on success, -1 on failure
|
||||
|
||||
Reference in New Issue
Block a user