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), /*! 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-file debug setting */ AST_OPT_FLAG_DEBUG_FILE = (1 << 23), /*! There is a per-file verbose setting */ AST_OPT_FLAG_VERBOSE_FILE = (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), /*! Generic PLC */ AST_OPT_FLAG_GENERIC_PLC = (1 << 30), /*! Send the FullyBooted AMI event when all modules are loaded */ AST_OPT_FLAG_SEND_FULLYBOOTED = (1 << 31), };
struct ast_flags ast_compat = { 7 } |
Definition at line 172 of file asterisk.c.
struct ast_flags ast_options = { AST_DEFAULT_OPTIONS } |
Definition at line 171 of file asterisk.c.
Referenced by action_login(), ast_cdr_end(), ast_plc_reload(), do_reload(), handle_cli_wait_fullybooted(), handle_verbose(), and rpt_master().
int option_debug |
Debug level
Definition at line 175 of file asterisk.c.
Referenced by __sip_destroy(), aji_handle_presence(), aji_log_hook(), app_exec(), ast_add_extension2_lockopt(), ast_audiohook_write_frame(), ast_config_text_file_save(), ast_log(), ast_rtcp_read(), ast_rtp_codec_setpref(), ast_rtp_get_qosvalue(), ast_rtp_raw_write(), ast_rtp_read(), ast_sched_add_variable(), ast_sched_del(), audiohook_read_frame_both(), bridge_make_compatible(), bridge_p2p_loop(), bridge_p2p_rtp_write(), build_parkinglot(), callerid_feed_jp(), config_module(), dahdi_handle_event(), dahdi_softhangup_all(), do_directory(), eivr_comm(), find_parkinglot(), handle_incoming(), handle_request_subscribe(), handle_verbose(), http_post_callback(), load_config(), load_module(), park_space_reserve(), parkinglot_addref(), parkinglot_unref(), parse_config(), prep_email_sub_vars(), process_cisco_dtmf(), process_request_queue(), process_rfc2833(), process_sdp(), process_sdp_a_audio(), raw_hangup(), realtime_ldap_result_to_vars(), scheduled_destroy(), sendmail(), set_logging(), sip_dump_history(), sip_rtp_read(), skinny_transfer(), update2_ldap(), and update_ldap().
int option_maxcalls |
Max number of active calls
Definition at line 177 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 178 of file asterisk.c.
Referenced by action_coresettings().
double option_maxload |
Max load avg on system
Definition at line 176 of file asterisk.c.
Referenced by action_coresettings(), and increase_call_count().
int option_verbose |
Verbosity level
Definition at line 174 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(), destroy_all_channels(), dialout(), dumpchan_exec(), find_transcoders(), handle_frame(), handle_verbose(), init_files_class(), leave_voicemail(), load_rpt_vars(), moh_files_release(), rpt(), rpt_exec(), setformat(), start_resource(), and verbose_exec().