Sun Aug 6 15:19:08 2006

Asterisk developer's documentation


Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

Main_options

Main configuration options from asterisk.conf or the operating system command line when starting Asterisk Some of them can be changed in the CLI. More...

Variables

int option_cache_record_files = 0
int option_console = 0
int option_daemonize = 0
int option_debug = 0
int option_dontwarn = 0
int option_dumpcore = 0
int option_exec = 0
int option_exec_includes = 0
int option_highpriority = 0
int option_initcrypto = 0
int option_maxcalls = 0
double option_maxload = 0.0
int option_nocolor
int option_nofork = 0
int option_overrideconfig = 0
int option_priority_jumping = 1
int option_quiet = 0
int option_reconnect = 0
int option_remote = 0
int option_timestamp = 0
int option_transcode_slin = 1
int option_transmit_silence_during_record = 0
*int option_verbose = 0

Detailed Description

Main configuration options from asterisk.conf or the operating system command line when starting Asterisk Some of them can be changed in the CLI.


Variable Documentation

int option_cache_record_files = 0
 

Cache sound files

Definition at line 165 of file asterisk.c.

Referenced by ast_readconfig(), ast_writefile(), and main().

int option_console = 0
 

Console mode, no background

Definition at line 157 of file asterisk.c.

Referenced by __load_resource(), ast_readconfig(), console_verboser(), main(), quit_handler(), and term_init().

int option_daemonize = 0
 

Daemonize. Ever if -v or -d

Definition at line 158 of file asterisk.c.

Referenced by main().

int option_debug = 0
 

Debug level

Definition at line 153 of file asterisk.c.

Referenced by __ast_pbx_run(), __login_exec(), __sip_ack(), __sip_reliable_xmit(), __sip_semi_ack(), add_to_interfaces(), agent_bridgedchannel(), agent_request(), alloc_sub(), aopen_init(), aopen_read(), aopen_write(), ast_add_hint(), ast_cdr_detach(), ast_cdr_submit_batch(), ast_channel_inherit_variables(), ast_channel_register(), ast_channel_start_silence_generator(), ast_channel_stop_silence_generator(), ast_channel_unregister(), ast_context_create(), ast_do_masquerade(), ast_hangup(), ast_log(), ast_moh_files_next(), ast_pickup_call(), ast_readconfig(), ast_remotecontrol(), ast_rtcp_read(), ast_rtp_bridge(), ast_rtp_raw_write(), ast_rtp_read(), ast_rtp_write(), ast_softhangup_nolock(), bestdata_init(), bestdata_read(), bestdata_write(), build_peer(), cb_extensionstate(), changethread(), check_availability(), check_beep(), check_key(), child_handler(), conf_run(), config_text_file_load(), config_text_file_save(), dial_exec_full(), do_cdr(), do_monitor(), do_proxy_auth(), do_state_change(), dump_agents(), find_call(), find_callno(), find_subchannel_and_lock(), g726_16_open(), g726_16_rewrite(), g726_24_open(), g726_24_rewrite(), g726_32_open(), g726_32_rewrite(), g726_40_open(), g726_40_rewrite(), g726_close(), handle_debuglevel(), handle_request(), handle_request_invite(), handle_request_refer(), handle_request_subscribe(), handle_response_invite(), handle_set_debug(), i4l_handle_escape(), i4l_init(), i4l_read(), iax_provision_version(), is_our_turn(), join_queue(), launch_netscript(), leave_voicemail(), load_module(), load_modules(), macro_exec(), main(), md5check_exec(), mgcp_answer(), mgcp_hangup(), mgcp_ss(), modem_answer(), modem_hangup(), modem_setup(), monmp3thread(), my_zt_write(), nbs_call(), nbs_hangup(), parse_naptr(), parse_request(), parse_sip_options(), pbx_extension_helper(), phone_answer(), phone_call(), phone_check_exception(), phone_exception(), phone_hangup(), queue_exec(), queue_frame_to_spies(), quit_handler(), rebuild_matrix(), register_request(), register_verify(), reload_agents(), reload_config(), reload_queue_members(), remove_from_interfaces(), restore_conference(), retrans_pkt(), ring_entry(), ring_one(), save_conference(), send_dtmf(), send_packet(), set_format(), sip_alloc(), sip_answer(), sip_devicestate(), sip_do_reload(), sip_hangup(), sip_set_rtp_peer(), ss_thread(), store_next(), testclient_exec(), testserver_exec(), transmit_register(), transmit_trunk(), try_calling(), try_load_key(), txtcidname_exec(), update_call_counter(), update_max_nontrunk(), update_max_trunk(), zap_restart(), zt_handle_event(), zt_hangup(), zt_request(), zt_sendtext(), and zt_write().

int option_dontwarn = 0
 

Definition at line 172 of file asterisk.c.

Referenced by ast_readconfig(), pbx_load_module(), and show_codecs().

int option_dumpcore = 0
 

Dump core when failing

Definition at line 164 of file asterisk.c.

Referenced by ast_readconfig(), and main().

int option_exec = 0
 

Definition at line 161 of file asterisk.c.

Referenced by ast_el_read_char(), ast_remotecontrol(), and main().

int option_exec_includes = 0
 

Allow #exec in config files?

Definition at line 154 of file asterisk.c.

Referenced by ast_readconfig(), and process_text_line().

int option_highpriority = 0
 

Run in realtime Linux priority

Definition at line 159 of file asterisk.c.

Referenced by app_exec(), ast_readconfig(), ast_safe_system(), icesencode(), main(), mp3play(), NBScatplay(), send_waveform_to_fd(), spawn_mp3(), and spawn_ras().

int option_initcrypto = 0
 

Initialize crypto keys for RSA auth

Definition at line 162 of file asterisk.c.

Referenced by ast_readconfig(), load_module(), main(), and try_load_key().

int option_maxcalls = 0
 

Definition at line 170 of file asterisk.c.

Referenced by ast_readconfig(), handle_chanlist(), increase_call_count(), and main().

double option_maxload = 0.0
 

Max load avg on system

Definition at line 171 of file asterisk.c.

Referenced by ast_readconfig(), increase_call_count(), and main().

int option_nocolor
 

Don't use termcap colors

Definition at line 163 of file asterisk.c.

Referenced by ast_readconfig(), main(), and term_init().

int option_nofork = 0
 

Do not fork

Definition at line 155 of file asterisk.c.

Referenced by ast_readconfig(), main(), and term_init().

int option_overrideconfig = 0
 

Definition at line 167 of file asterisk.c.

Referenced by ast_readconfig(), and main().

int option_priority_jumping = 1
 

Enable priority jumping as result value for apps

Definition at line 173 of file asterisk.c.

Referenced by aqm_exec(), chanavail_exec(), controlplayback_exec(), dial_exec_full(), dundi_lookup_exec(), enumlookup_exec(), get_exec(), group_check_exec(), hasvoicemail_exec(), leave_voicemail(), lookupblacklist_exec(), md5check_exec(), ospfinished_exec(), osplookup_exec(), ospnext_exec(), pbx_load_module(), playback_exec(), pqm_exec(), rqm_exec(), sendimage_exec(), sendtext_exec(), sendurl_exec(), sip_getheader(), system_exec_helper(), transfer_exec(), txtcidname_exec(), upqm_exec(), vm_box_exists(), vm_exec(), and wait_for_answer().

int option_quiet = 0
 

Keep quiet

Definition at line 156 of file asterisk.c.

Referenced by ast_readconfig(), load_modules(), main(), and record_exec().

int option_reconnect = 0
 

Definition at line 168 of file asterisk.c.

Referenced by ast_el_read_char(), and main().

int option_remote = 0
 

Remote CLI

Definition at line 160 of file asterisk.c.

Referenced by cli_complete(), cli_prompt(), main(), and quit_handler().

int option_timestamp = 0
 

Timestamp in logging

Definition at line 166 of file asterisk.c.

Referenced by ast_log(), ast_readconfig(), ast_verbose(), and main().

int option_transcode_slin = 1
 

Definition at line 169 of file asterisk.c.

Referenced by ast_channel_make_compatible(), and ast_readconfig().

int option_transmit_silence_during_record = 0
 

Transmit silence during record() app

Definition at line 174 of file asterisk.c.

Referenced by ast_play_and_record_full(), ast_readconfig(), and record_exec().

* int option_verbose = 0
 

Verbosity level

Definition at line 152 of file asterisk.c.

Referenced by __ast_pbx_run(), __load_resource(), __login_exec(), __zt_exception(), _while_exec(), acf_odbc_read(), action_agent_callback_login(), add_realm_authentication(), adsi_exec(), adsi_prog(), advanced_options(), agent_call(), agent_read(), agentmonitoroutgoing_exec(), alarmreceiver_exec(), append_mapping(), ast_app_has_voicemail(), ast_app_messagecount(), ast_cdr_unregister(), ast_channel_bridge(), ast_channel_register(), ast_channel_unregister(), ast_context_add_include2(), ast_context_add_switch2(), ast_context_create(), ast_custom_function_register(), ast_custom_function_unregister(), ast_dnsmgr_lookup(), ast_feature_interpret(), ast_feature_request_and_dial(), ast_format_register(), ast_format_unregister(), ast_image_register(), ast_image_unregister(), ast_load_resource(), ast_log(), ast_manager_register_struct(), ast_manager_unregister(), ast_module_reload(), ast_moh_destroy(), ast_moh_start(), ast_netsock_bindaddr(), ast_park_call(), ast_pbx_outgoing_app(), ast_pbx_outgoing_exten(), ast_pbx_run_app(), ast_play_and_prepend(), ast_play_and_record_full(), ast_readconfig(), ast_register_application(), ast_register_feature(), ast_register_indication_country(), ast_register_translator(), ast_remotecontrol(), ast_rtp_reload(), ast_set_indication_country(), ast_set_priority(), ast_streamfile(), ast_unregister_application(), ast_unregister_indication_country(), ast_unregister_translator(), async_wait(), attempt_reconnect(), attempt_thread(), attempt_transfer(), build_conf(), builtin_automonitor(), builtin_blindtransfer(), builtin_disconnect(), builtin_function_timeout_write(), channel_spy(), check_for_conference(), config_text_file_load(), config_text_file_save(), cpeid_exec(), database_increment(), del_exec(), deltree_exec(), dial_exec_full(), dialout(), do_chanreads(), do_monitor(), do_parking_thread(), do_waiting(), dumpchan_exec(), exit_now(), find_subchannel_and_lock(), flash_exec(), function_ilink(), get_callerid(), get_callerid_ast(), get_exec(), handle_command_response(), handle_exec(), handle_getoption(), handle_message(), handle_request(), handle_response(), handle_set_verbose(), handle_verbose(), hup_handler(), i4l_read(), iax2_ack_registry(), iax2_bridge(), iax2_exec(), iax2_hangup(), iax2_prov_app(), iax_provision_reload(), init_logger(), init_manager(), launch_script(), leave_voicemail(), listener(), load_config(), load_module(), load_modules(), load_pbx(), lookupblacklist_exec(), lookupcidname_exec(), macro_exec(), main(), mgcp_answer(), mgcp_hangup(), mgcp_new(), mgcp_request(), mgcp_ss(), misdn_tx2ast_frm(), mixmonitor_thread(), modem_hangup(), modem_setup(), moh_alloc(), moh_files_alloc(), moh_files_release(), moh_release(), monitor_handle_notowned(), monitor_handle_owned(), netconsole(), odbc_do_query(), odbc_init(), odbc_load_module(), odbc_log(), odbc_obj_connect(), odbc_unload_module(), park_exec(), parkandannounce_exec(), parse_config(), parse_register_contact(), parse_srv(), pbx_builtin_atimeout(), pbx_builtin_dtimeout(), pbx_builtin_goto(), pbx_builtin_pushvar_helper(), pbx_builtin_rtimeout(), pbx_builtin_setvar_helper(), pbx_builtin_waitexten(), pbx_extension_helper(), phone_hangup(), play_message_callerid(), play_record_review(), playtone(), privacy_exec(), process_message(), put_exec(), queue_exec(), quit_handler(), random_exec(), read_exec(), realtime_exec(), receive_ademco_contact_id(), receive_dtmf_digits(), refresh_list(), reg_source_db(), reload_config(), reload_firmware(), reload_logger(), remap_feature(), restart_monitor(), ring_entry(), rpt(), rpt_exec(), run_agi(), run_ras(), say_periodic_announcement(), say_position(), send_cwcidspill(), send_tone_burst(), session_do(), set_config(), setformat(), settransfercapability_exec(), setup_zap(), sip_getheader(), skinny_request(), skinny_ss(), sms_debug(), socket_read(), ss_thread(), stoptone(), store_config(), try_load_key(), unload_module(), update_registry(), verbose_exec(), vm_authenticate(), vm_execmain(), vpb_answer(), vpb_bridge(), vpb_call(), vpb_digit(), vpb_fixup(), vpb_hangup(), vpb_indicate(), vpb_new(), vpb_request(), vpb_write(), wait_for_answer(), waitforring_exec(), waitforsilence_exec(), zap_restart(), zapras_exec(), zt_call(), zt_handle_event(), zt_hangup(), and zt_read().


Generated on Sun Aug 6 15:19:08 2006 for Asterisk - the Open Source PBX by  doxygen 1.4.2