Wed Oct 28 11:53:24 2009

Asterisk developer's documentation


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_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_INTERNAL_TIMING = (1 << 20),
  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)
}

Variables

struct ast_flags ast_compat = { 7 }
struct ast_flags ast_options = { AST_DEFAULT_OPTIONS }
int option_debug
int option_maxcalls
int option_maxfiles
double option_maxload
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_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_INTERNAL_TIMING  Use DAHDI Timing for generators if available
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

Definition at line 36 of file options.h.

00036                       {
00037    /*! Allow \#exec in config files */
00038    AST_OPT_FLAG_EXEC_INCLUDES = (1 << 0),
00039    /*! Do not fork() */
00040    AST_OPT_FLAG_NO_FORK = (1 << 1),
00041    /*! Keep quiet */
00042    AST_OPT_FLAG_QUIET = (1 << 2),
00043    /*! Console mode */
00044    AST_OPT_FLAG_CONSOLE = (1 << 3),
00045    /*! Run in realtime Linux priority */
00046    AST_OPT_FLAG_HIGH_PRIORITY = (1 << 4),
00047    /*! Initialize keys for RSA authentication */
00048    AST_OPT_FLAG_INIT_KEYS = (1 << 5),
00049    /*! Remote console */
00050    AST_OPT_FLAG_REMOTE = (1 << 6),
00051    /*! Execute an asterisk CLI command upon startup */
00052    AST_OPT_FLAG_EXEC = (1 << 7),
00053    /*! Don't use termcap colors */
00054    AST_OPT_FLAG_NO_COLOR = (1 << 8),
00055    /*! Are we fully started yet? */
00056    AST_OPT_FLAG_FULLY_BOOTED = (1 << 9),
00057    /*! Trascode via signed linear */
00058    AST_OPT_FLAG_TRANSCODE_VIA_SLIN = (1 << 10),
00059    /*! Dump core on a seg fault */
00060    AST_OPT_FLAG_DUMP_CORE = (1 << 12),
00061    /*! Cache sound files */
00062    AST_OPT_FLAG_CACHE_RECORD_FILES = (1 << 13),
00063    /*! Display timestamp in CLI verbose output */
00064    AST_OPT_FLAG_TIMESTAMP = (1 << 14),
00065    /*! Override config */
00066    AST_OPT_FLAG_OVERRIDE_CONFIG = (1 << 15),
00067    /*! Reconnect */
00068    AST_OPT_FLAG_RECONNECT = (1 << 16),
00069    /*! Transmit Silence during Record() and DTMF Generation */
00070    AST_OPT_FLAG_TRANSMIT_SILENCE = (1 << 17),
00071    /*! Suppress some warnings */
00072    AST_OPT_FLAG_DONT_WARN = (1 << 18),
00073    /*! End CDRs before the 'h' extension */
00074    AST_OPT_FLAG_END_CDR_BEFORE_H_EXTEN = (1 << 19),
00075    /*! Use DAHDI Timing for generators if available */
00076    AST_OPT_FLAG_INTERNAL_TIMING = (1 << 20),
00077    /*! Always fork, even if verbose or debug settings are non-zero */
00078    AST_OPT_FLAG_ALWAYS_FORK = (1 << 21),
00079    /*! Disable log/verbose output to remote consoles */
00080    AST_OPT_FLAG_MUTE = (1 << 22),
00081    /*! There is a per-file debug setting */
00082    AST_OPT_FLAG_DEBUG_FILE = (1 << 23),
00083    /*! There is a per-file verbose setting */
00084    AST_OPT_FLAG_VERBOSE_FILE = (1 << 24),
00085 };


Variable Documentation

struct ast_flags ast_compat = { 7 }

Definition at line 152 of file asterisk.c.

struct ast_flags ast_options = { AST_DEFAULT_OPTIONS }

Definition at line 151 of file asterisk.c.

Referenced by do_reload(), handle_verbose(), and rpt_master().

Max number of active calls

Definition at line 157 of file asterisk.c.

Referenced by action_coresettings(), handle_chanlist(), handle_showcalls(), and increase_call_count().

Max number of open file handles (files, sockets)

Definition at line 158 of file asterisk.c.

Referenced by action_coresettings().

Max load avg on system

Definition at line 156 of file asterisk.c.

Referenced by action_coresettings(), and increase_call_count().


Generated on Wed Oct 28 11:53:24 2009 for Asterisk - the Open Source PBX by  doxygen 1.5.6