Main configuration options from asterisk.conf or OS command line on starting Asterisk. More...
Main configuration options from asterisk.conf or OS command line on starting Asterisk.
| enum ast_option_flags |
Definition at line 38 of file options.h.
{
/*! Allow \#exec in config files */
AST_OPT_FLAG_EXEC_INCLUDES = (1 << 0),
/*! Do not fork() */
AST_OPT_FLAG_NO_FORK = (1 << 1),
/*! Keep quiet */
AST_OPT_FLAG_QUIET = (1 << 2),
/*! Console mode */
AST_OPT_FLAG_CONSOLE = (1 << 3),
/*! Run in realtime Linux priority */
AST_OPT_FLAG_HIGH_PRIORITY = (1 << 4),
/*! Initialize keys for RSA authentication */
AST_OPT_FLAG_INIT_KEYS = (1 << 5),
/*! Remote console */
AST_OPT_FLAG_REMOTE = (1 << 6),
/*! Execute an asterisk CLI command upon startup */
AST_OPT_FLAG_EXEC = (1 << 7),
/*! Don't use termcap colors */
AST_OPT_FLAG_NO_COLOR = (1 << 8),
/*! Are we fully started yet? */
AST_OPT_FLAG_FULLY_BOOTED = (1 << 9),
/*! Trascode via signed linear */
AST_OPT_FLAG_TRANSCODE_VIA_SLIN = (1 << 10),
/*! Invoke the stdexten using the legacy macro method. */
AST_OPT_FLAG_STDEXTEN_MACRO = (1 << 11),
/*! Dump core on a seg fault */
AST_OPT_FLAG_DUMP_CORE = (1 << 12),
/*! Cache sound files */
AST_OPT_FLAG_CACHE_RECORD_FILES = (1 << 13),
/*! Display timestamp in CLI verbose output */
AST_OPT_FLAG_TIMESTAMP = (1 << 14),
/*! Override config */
AST_OPT_FLAG_OVERRIDE_CONFIG = (1 << 15),
/*! Reconnect */
AST_OPT_FLAG_RECONNECT = (1 << 16),
/*! Transmit Silence during Record() and DTMF Generation */
AST_OPT_FLAG_TRANSMIT_SILENCE = (1 << 17),
/*! Suppress some warnings */
AST_OPT_FLAG_DONT_WARN = (1 << 18),
/*! End CDRs before the 'h' extension */
AST_OPT_FLAG_END_CDR_BEFORE_H_EXTEN = (1 << 19),
/*! Use DAHDI Timing for generators if available */
AST_OPT_FLAG_INTERNAL_TIMING = (1 << 20),
/*! Always fork, even if verbose or debug settings are non-zero */
AST_OPT_FLAG_ALWAYS_FORK = (1 << 21),
/*! Disable log/verbose output to remote consoles */
AST_OPT_FLAG_MUTE = (1 << 22),
/*! There is a per-module debug setting */
AST_OPT_FLAG_DEBUG_MODULE = (1 << 23),
/*! There is a per-module verbose setting */
AST_OPT_FLAG_VERBOSE_MODULE = (1 << 24),
/*! Terminal colors should be adjusted for a light-colored background */
AST_OPT_FLAG_LIGHT_BACKGROUND = (1 << 25),
/*! Count Initiated seconds in CDR's */
AST_OPT_FLAG_INITIATED_SECONDS = (1 << 26),
/*! Force black background */
AST_OPT_FLAG_FORCE_BLACK_BACKGROUND = (1 << 27),
/*! Hide remote console connect messages on console */
AST_OPT_FLAG_HIDE_CONSOLE_CONNECT = (1 << 28),
/*! Protect the configuration file path with a lock */
AST_OPT_FLAG_LOCK_CONFIG_DIR = (1 << 29),
/*! Generic PLC */
AST_OPT_FLAG_GENERIC_PLC = (1 << 30),
};
| struct ast_flags ast_compat = { 0 } |
Definition at line 192 of file asterisk.c.
| struct ast_flags ast_options = { AST_DEFAULT_OPTIONS } |
Definition at line 191 of file asterisk.c.
Referenced by action_login(), ast_cdr_end(), ast_pbx_run_args(), ast_pbx_start(), ast_plc_reload(), do_reload(), handle_cli_wait_fullybooted(), and handle_debug().
Maximum active system verbosity level.
Definition at line 195 of file asterisk.c.
Referenced by ast_verb_update().
| int option_debug |
Debug level
Definition at line 198 of file asterisk.c.
Referenced by _ast_sockaddr_from_sin(), _ast_sockaddr_port(), _ast_sockaddr_set_port(), _ast_sockaddr_to_sin(), aji_log_hook(), ast_add_extension2_lockopt(), ast_bridge_call(), ast_config_text_file_save(), ast_rtp_read(), ast_sched_add_variable(), ast_sched_del(), bridge_make_compatible(), bridge_p2p_rtp_write(), callerid_feed_jp(), clear_dialed_interfaces(), config_module(), dahdi_softhangup_all(), do_directory(), handle_debug(), handle_request_subscribe(), parse_config(), realtime_ldap_result_to_vars(), sendmail(), set_logging(), sip_dump_history(), update2_ldap(), and update_ldap().
| unsigned int option_dtmfminduration |
| int option_maxcalls |
Max number of active calls
Definition at line 200 of file asterisk.c.
Referenced by action_coresettings(), handle_chanlist(), handle_showcalls(), and increase_call_count().
| int option_maxfiles |
Max number of open file handles (files, sockets)
Definition at line 201 of file asterisk.c.
Referenced by action_coresettings().
| double option_maxload |
Max load avg on system
Definition at line 199 of file asterisk.c.
Referenced by action_coresettings(), and increase_call_count().
| long option_minmemfree |
Minimum amount of free system memory - stop accepting calls if free memory falls below this watermark
Definition at line 204 of file asterisk.c.
Referenced by increase_call_count().
| int option_verbose |
Verbosity level
Definition at line 197 of file asterisk.c.
Referenced by ast_verb_console_get(), ast_verb_console_set(), ast_verb_update(), logger_print_normal(), main(), and start_resource().