enum ast_option_flags |
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 /*! Dump core on a seg fault */ 00062 AST_OPT_FLAG_DUMP_CORE = (1 << 12), 00063 /*! Cache sound files */ 00064 AST_OPT_FLAG_CACHE_RECORD_FILES = (1 << 13), 00065 /*! Display timestamp in CLI verbose output */ 00066 AST_OPT_FLAG_TIMESTAMP = (1 << 14), 00067 /*! Override config */ 00068 AST_OPT_FLAG_OVERRIDE_CONFIG = (1 << 15), 00069 /*! Reconnect */ 00070 AST_OPT_FLAG_RECONNECT = (1 << 16), 00071 /*! Transmit Silence during Record() and DTMF Generation */ 00072 AST_OPT_FLAG_TRANSMIT_SILENCE = (1 << 17), 00073 /*! Suppress some warnings */ 00074 AST_OPT_FLAG_DONT_WARN = (1 << 18), 00075 /*! End CDRs before the 'h' extension */ 00076 AST_OPT_FLAG_END_CDR_BEFORE_H_EXTEN = (1 << 19), 00077 /*! Use DAHDI Timing for generators if available */ 00078 AST_OPT_FLAG_INTERNAL_TIMING = (1 << 20), 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 };
struct ast_flags ast_compat = { 0 } |
Definition at line 175 of file asterisk.c.
struct ast_flags ast_options = { AST_DEFAULT_OPTIONS } |
Definition at line 174 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(), handle_show_settings(), handle_verbose(), main(), and rpt_master().
int option_debug |
Debug level
Definition at line 178 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_audiohook_write_frame(), ast_bridge_call(), ast_config_text_file_save(), ast_dsp_busydetect(), ast_log(), ast_rtcp_read(), ast_rtp_raw_write(), ast_rtp_read(), ast_sched_add_variable(), ast_sched_del(), audiohook_read_frame_both(), bridge_make_compatible(), bridge_p2p_rtp_write(), callerid_feed_jp(), clear_dialed_interfaces(), config_module(), dahdi_softhangup_all(), do_directory(), handle_request_subscribe(), handle_verbose(), parse_config(), prep_email_sub_vars(), process_dtmf_cisco(), process_dtmf_rfc2833(), raw_hangup(), realtime_ldap_result_to_vars(), scheduled_destroy(), sendmail(), set_logging(), sip_dump_history(), skinny_transfer(), update2_ldap(), and update_ldap().
int option_maxcalls |
Max number of active calls
Definition at line 180 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 181 of file asterisk.c.
Referenced by action_coresettings().
double option_maxload |
Max load avg on system
Definition at line 179 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 183 of file asterisk.c.
Referenced by increase_call_count().
int option_verbose |
Verbosity level
Definition at line 177 of file asterisk.c.
Referenced by __ast_bridge_technology_register(), aji_handle_subscribe(), ast_bridge_technology_unregister(), ast_child_verbose(), ast_log(), attempt_reconnect(), dahdi_write_frame(), dialout(), dumpchan_exec(), find_transcoders(), handle_frame(), handle_verbose(), init_files_class(), load_rpt_vars(), moh_files_release(), rpt(), rpt_exec(), setformat(), start_resource(), and verbose_exec().