Main Configuration Options

Main configuration options from asterisk.conf or OS command line on starting Asterisk. More...

Enumerations

enum  ast_option_flags {
  AST_OPT_FLAG_EXEC_INCLUDES = (1 << 0), AST_OPT_FLAG_NO_FORK = (1 << 1), AST_OPT_FLAG_QUIET = (1 << 2), AST_OPT_FLAG_CONSOLE = (1 << 3),
  AST_OPT_FLAG_HIGH_PRIORITY = (1 << 4), AST_OPT_FLAG_INIT_KEYS = (1 << 5), AST_OPT_FLAG_REMOTE = (1 << 6), AST_OPT_FLAG_EXEC = (1 << 7),
  AST_OPT_FLAG_NO_COLOR = (1 << 8), AST_OPT_FLAG_FULLY_BOOTED = (1 << 9), AST_OPT_FLAG_TRANSCODE_VIA_SLIN = (1 << 10), AST_OPT_FLAG_STDEXTEN_MACRO = (1 << 11),
  AST_OPT_FLAG_DUMP_CORE = (1 << 12), AST_OPT_FLAG_CACHE_RECORD_FILES = (1 << 13), AST_OPT_FLAG_TIMESTAMP = (1 << 14), AST_OPT_FLAG_OVERRIDE_CONFIG = (1 << 15),
  AST_OPT_FLAG_RECONNECT = (1 << 16), AST_OPT_FLAG_TRANSMIT_SILENCE = (1 << 17), AST_OPT_FLAG_DONT_WARN = (1 << 18), AST_OPT_FLAG_END_CDR_BEFORE_H_EXTEN = (1 << 19),
  AST_OPT_FLAG_ALWAYS_FORK = (1 << 21), AST_OPT_FLAG_MUTE = (1 << 22), AST_OPT_FLAG_DEBUG_MODULE = (1 << 23), AST_OPT_FLAG_VERBOSE_MODULE = (1 << 24),
  AST_OPT_FLAG_LIGHT_BACKGROUND = (1 << 25), AST_OPT_FLAG_INITIATED_SECONDS = (1 << 26), AST_OPT_FLAG_FORCE_BLACK_BACKGROUND = (1 << 27), AST_OPT_FLAG_HIDE_CONSOLE_CONNECT = (1 << 28),
  AST_OPT_FLAG_LOCK_CONFIG_DIR = (1 << 29), AST_OPT_FLAG_GENERIC_PLC = (1 << 30), AST_OPT_FLAG_EXEC_INCLUDES = (1 << 0), AST_OPT_FLAG_NO_FORK = (1 << 1),
  AST_OPT_FLAG_QUIET = (1 << 2), AST_OPT_FLAG_CONSOLE = (1 << 3), AST_OPT_FLAG_HIGH_PRIORITY = (1 << 4), AST_OPT_FLAG_INIT_KEYS = (1 << 5),
  AST_OPT_FLAG_REMOTE = (1 << 6), AST_OPT_FLAG_EXEC = (1 << 7), AST_OPT_FLAG_NO_COLOR = (1 << 8), AST_OPT_FLAG_FULLY_BOOTED = (1 << 9),
  AST_OPT_FLAG_TRANSCODE_VIA_SLIN = (1 << 10), AST_OPT_FLAG_DUMP_CORE = (1 << 12), AST_OPT_FLAG_CACHE_RECORD_FILES = (1 << 13), AST_OPT_FLAG_TIMESTAMP = (1 << 14),
  AST_OPT_FLAG_OVERRIDE_CONFIG = (1 << 15), AST_OPT_FLAG_RECONNECT = (1 << 16), AST_OPT_FLAG_TRANSMIT_SILENCE = (1 << 17), AST_OPT_FLAG_DONT_WARN = (1 << 18),
  AST_OPT_FLAG_END_CDR_BEFORE_H_EXTEN = (1 << 19), AST_OPT_FLAG_ALWAYS_FORK = (1 << 21), AST_OPT_FLAG_MUTE = (1 << 22), AST_OPT_FLAG_DEBUG_FILE = (1 << 23),
  AST_OPT_FLAG_VERBOSE_FILE = (1 << 24), AST_OPT_FLAG_LIGHT_BACKGROUND = (1 << 25), AST_OPT_FLAG_INITIATED_SECONDS = (1 << 26), AST_OPT_FLAG_FORCE_BLACK_BACKGROUND = (1 << 27)
}

Variables

int ast_option_maxcalls
int ast_option_maxfiles
double ast_option_maxload
struct ast_flags ast_options = { AST_DEFAULT_OPTIONS }
int ast_verb_sys_level
int option_debug
unsigned int option_dtmfminduration
int option_verbose

Detailed Description

Main configuration options from asterisk.conf or OS command line on starting Asterisk.


Enumeration Type Documentation

Enumerator:
AST_OPT_FLAG_EXEC_INCLUDES  Allow #exec in config files
AST_OPT_FLAG_NO_FORK  Do not fork()
AST_OPT_FLAG_QUIET  Keep quiet
AST_OPT_FLAG_CONSOLE  Console mode
AST_OPT_FLAG_HIGH_PRIORITY  Run in realtime Linux priority
AST_OPT_FLAG_INIT_KEYS  Initialize keys for RSA authentication
AST_OPT_FLAG_REMOTE  Remote console
AST_OPT_FLAG_EXEC  Execute an asterisk CLI command upon startup
AST_OPT_FLAG_NO_COLOR  Don't use termcap colors
AST_OPT_FLAG_FULLY_BOOTED  Are we fully started yet?
AST_OPT_FLAG_TRANSCODE_VIA_SLIN  Trascode via signed linear
AST_OPT_FLAG_STDEXTEN_MACRO  Invoke the stdexten using the legacy macro method.
AST_OPT_FLAG_DUMP_CORE  Dump core on a seg fault
AST_OPT_FLAG_CACHE_RECORD_FILES  Cache sound files
AST_OPT_FLAG_TIMESTAMP  Display timestamp in CLI verbose output
AST_OPT_FLAG_OVERRIDE_CONFIG  Override config
AST_OPT_FLAG_RECONNECT  Reconnect
AST_OPT_FLAG_TRANSMIT_SILENCE  Transmit Silence during Record() and DTMF Generation
AST_OPT_FLAG_DONT_WARN  Suppress some warnings
AST_OPT_FLAG_END_CDR_BEFORE_H_EXTEN  End CDRs before the 'h' extension
AST_OPT_FLAG_ALWAYS_FORK  Always fork, even if verbose or debug settings are non-zero
AST_OPT_FLAG_MUTE  Disable log/verbose output to remote consoles
AST_OPT_FLAG_DEBUG_MODULE  There is a per-module debug setting
AST_OPT_FLAG_VERBOSE_MODULE  There is a per-module verbose setting
AST_OPT_FLAG_LIGHT_BACKGROUND  Terminal colors should be adjusted for a light-colored background
AST_OPT_FLAG_INITIATED_SECONDS  Count Initiated seconds in CDR's
AST_OPT_FLAG_FORCE_BLACK_BACKGROUND  Force black background
AST_OPT_FLAG_HIDE_CONSOLE_CONNECT  Hide remote console connect messages on console
AST_OPT_FLAG_LOCK_CONFIG_DIR  Protect the configuration file path with a lock
AST_OPT_FLAG_GENERIC_PLC  Generic PLC
AST_OPT_FLAG_EXEC_INCLUDES  Allow #exec in config files
AST_OPT_FLAG_NO_FORK  Do not fork()
AST_OPT_FLAG_QUIET  Keep quiet
AST_OPT_FLAG_CONSOLE  Console mode
AST_OPT_FLAG_HIGH_PRIORITY  Run in realtime Linux priority
AST_OPT_FLAG_INIT_KEYS  Initialize keys for RSA authentication
AST_OPT_FLAG_REMOTE  Remote console
AST_OPT_FLAG_EXEC  Execute an asterisk CLI command upon startup
AST_OPT_FLAG_NO_COLOR  Don't use termcap colors
AST_OPT_FLAG_FULLY_BOOTED  Are we fully started yet?
AST_OPT_FLAG_TRANSCODE_VIA_SLIN  Trascode via signed linear
AST_OPT_FLAG_DUMP_CORE  Dump core on a seg fault
AST_OPT_FLAG_CACHE_RECORD_FILES  Cache sound files
AST_OPT_FLAG_TIMESTAMP  Display timestamp in CLI verbose output
AST_OPT_FLAG_OVERRIDE_CONFIG  Override config
AST_OPT_FLAG_RECONNECT  Reconnect
AST_OPT_FLAG_TRANSMIT_SILENCE  Transmit Silence during Record() and DTMF Generation
AST_OPT_FLAG_DONT_WARN  Suppress some warnings
AST_OPT_FLAG_END_CDR_BEFORE_H_EXTEN  End CDRs before the 'h' extension
AST_OPT_FLAG_ALWAYS_FORK  Always fork, even if verbose or debug settings are non-zero
AST_OPT_FLAG_MUTE  Disable log/verbose output to remote consoles
AST_OPT_FLAG_DEBUG_FILE  There is a per-file debug setting
AST_OPT_FLAG_VERBOSE_FILE  There is a per-file verbose setting
AST_OPT_FLAG_LIGHT_BACKGROUND  Terminal colors should be adjusted for a light-colored background
AST_OPT_FLAG_INITIATED_SECONDS  Count Initiated seconds in CDR's
AST_OPT_FLAG_FORCE_BLACK_BACKGROUND  Force black background

Definition at line 38 of file options.h.

00038                       {
00039    /*! Allow \#exec in config files */
00040    AST_OPT_FLAG_EXEC_INCLUDES = (1 << 0),
00041    /*! Do not fork() */
00042    AST_OPT_FLAG_NO_FORK = (1 << 1),
00043    /*! Keep quiet */
00044    AST_OPT_FLAG_QUIET = (1 << 2),
00045    /*! Console mode */
00046    AST_OPT_FLAG_CONSOLE = (1 << 3),
00047    /*! Run in realtime Linux priority */
00048    AST_OPT_FLAG_HIGH_PRIORITY = (1 << 4),
00049    /*! Initialize keys for RSA authentication */
00050    AST_OPT_FLAG_INIT_KEYS = (1 << 5),
00051    /*! Remote console */
00052    AST_OPT_FLAG_REMOTE = (1 << 6),
00053    /*! Execute an asterisk CLI command upon startup */
00054    AST_OPT_FLAG_EXEC = (1 << 7),
00055    /*! Don't use termcap colors */
00056    AST_OPT_FLAG_NO_COLOR = (1 << 8),
00057    /*! Are we fully started yet? */
00058    AST_OPT_FLAG_FULLY_BOOTED = (1 << 9),
00059    /*! Trascode via signed linear */
00060    AST_OPT_FLAG_TRANSCODE_VIA_SLIN = (1 << 10),
00061    /*! Invoke the stdexten using the legacy macro method. */
00062    AST_OPT_FLAG_STDEXTEN_MACRO = (1 << 11),
00063    /*! Dump core on a seg fault */
00064    AST_OPT_FLAG_DUMP_CORE = (1 << 12),
00065    /*! Cache sound files */
00066    AST_OPT_FLAG_CACHE_RECORD_FILES = (1 << 13),
00067    /*! Display timestamp in CLI verbose output */
00068    AST_OPT_FLAG_TIMESTAMP = (1 << 14),
00069    /*! Override config */
00070    AST_OPT_FLAG_OVERRIDE_CONFIG = (1 << 15),
00071    /*! Reconnect */
00072    AST_OPT_FLAG_RECONNECT = (1 << 16),
00073    /*! Transmit Silence during Record() and DTMF Generation */
00074    AST_OPT_FLAG_TRANSMIT_SILENCE = (1 << 17),
00075    /*! Suppress some warnings */
00076    AST_OPT_FLAG_DONT_WARN = (1 << 18),
00077    /*! End CDRs before the 'h' extension */
00078    AST_OPT_FLAG_END_CDR_BEFORE_H_EXTEN = (1 << 19),
00079    /*! Always fork, even if verbose or debug settings are non-zero */
00080    AST_OPT_FLAG_ALWAYS_FORK = (1 << 21),
00081    /*! Disable log/verbose output to remote consoles */
00082    AST_OPT_FLAG_MUTE = (1 << 22),
00083    /*! There is a per-module debug setting */
00084    AST_OPT_FLAG_DEBUG_MODULE = (1 << 23),
00085    /*! There is a per-module verbose setting */
00086    AST_OPT_FLAG_VERBOSE_MODULE = (1 << 24),
00087    /*! Terminal colors should be adjusted for a light-colored background */
00088    AST_OPT_FLAG_LIGHT_BACKGROUND = (1 << 25),
00089    /*! Count Initiated seconds in CDR's */
00090    AST_OPT_FLAG_INITIATED_SECONDS = (1 << 26),
00091    /*! Force black background */
00092    AST_OPT_FLAG_FORCE_BLACK_BACKGROUND = (1 << 27),
00093    /*! Hide remote console connect messages on console */
00094    AST_OPT_FLAG_HIDE_CONSOLE_CONNECT = (1 << 28),
00095    /*! Protect the configuration file path with a lock */
00096    AST_OPT_FLAG_LOCK_CONFIG_DIR = (1 << 29),
00097    /*! Generic PLC */
00098    AST_OPT_FLAG_GENERIC_PLC = (1 << 30),
00099 };


Variable Documentation

Max number of open file handles (files, sockets)

Definition at line 328 of file asterisk.c.

Referenced by action_coresettings(), and ast_ari_asterisk_get_info().

Max load avg on system

Definition at line 326 of file asterisk.c.

Referenced by action_coresettings(), ast_ari_asterisk_get_info(), and increase_call_count().

struct ast_flags ast_options = { AST_DEFAULT_OPTIONS }

Definition at line 319 of file asterisk.c.

Maximum active system verbosity level.

Definition at line 322 of file asterisk.c.

Referenced by ast_verb_update().

Debug level

Definition at line 325 of file asterisk.c.

unsigned int option_dtmfminduration

Minimum duration of DTMF.

Definition at line 329 of file asterisk.c.

Referenced by __ast_read(), ast_channel_end_dtmf(), and bridge_channel_settle_owed_events().

Verbosity level

Definition at line 324 of file asterisk.c.


Generated on Thu Apr 16 06:34:44 2015 for Asterisk - The Open Source Telephony Project by  doxygen 1.5.6