Asterisk.org: Developer Documentation (28 Oct 2009)

Wed Oct 28 15:49:07 2009

## Asterisk developer's documentation

# options.h File Reference

Options provided by main asterisk program. More...

Go to the source code of this file.

## Defines

#define | AST_CACHE_DIR_LEN 512
#define | AST_FILENAME_MAX 80
#define | VERBOSE_PREFIX_1 " "
#define | VERBOSE_PREFIX_2 " == "
#define | VERBOSE_PREFIX_3 " -- "
#define | VERBOSE_PREFIX_4 " > "

## Variables

time_t | ast_lastreloadtime
int | ast_mainpid
time_t | ast_startuptime
char | debug_filename [AST_FILENAME_MAX]
char | defaultlanguage []
int | fully_booted
int | option_cache_record_files
int | option_console
int | option_debug
int | option_dontwarn
int | option_exec_includes
int | option_highpriority
int | option_initcrypto
int | option_maxcalls
double | option_maxload
int | option_nocolor
int | option_nofork
int | option_priority_jumping
int | option_quiet
int | option_timestamp
int | option_transcode_slin
int | option_transmit_silence_during_record
int | option_verbose
char | record_cache_dir [AST_CACHE_DIR_LEN]

## Detailed Description

Options provided by main asterisk program.

Definition in file options.h.

## Define Documentation

#define AST_CACHE_DIR_LEN 512

Definition at line 30 of file options.h.

Referenced by ast_readconfig().

#define AST_FILENAME_MAX 80

Definition at line 31 of file options.h.

#define VERBOSE_PREFIX_1 " "

Definition at line 58 of file options.h.

Referenced by __load_resource(), cb_extensionstate(), console_verboser(), do_monitor(), get_callerid_ast(), handle_verbose(), load_modules(), load_pbx(), receive_ademco_contact_id(), and verbose_exec().

#define VERBOSE_PREFIX_2 " == "

Definition at line 59 of file options.h.

Referenced by __ast_pbx_run(), __login_exec(), action_agent_callback_login(), append_mapping(), ast_cdr_unregister(), ast_channel_register(), ast_channel_unregister(), ast_custom_function_register(), ast_custom_function_unregister(), ast_dnsmgr_lookup(), ast_format_register(), ast_format_unregister(), ast_image_register(), ast_image_unregister(), ast_manager_register_struct(), ast_manager_unregister(), ast_moh_destroy(), ast_netsock_bindaddr(), ast_park_call(), ast_register_application(), ast_register_feature(), ast_register_translator(), ast_rtp_reload(), ast_unregister_application(), ast_unregister_translator(), builtin_blindtransfer(), cb_extensionstate(), channel_spy(), config_text_file_load(), config_text_file_save(), console_verboser(), do_chanreads(), do_monitor(), do_parking_thread(), exit_now(), find_transcoders(), handle_init_event(), handle_verbose(), load_config(), load_module(), macro_exec(), mgcp_hangup(), mixmonitor_thread(), monitor_handle_owned(), pbx_builtin_pushvar_helper(), pbx_builtin_setvar_helper(), process_message(), receive_ademco_contact_id(), refresh_list(), reload_config(), reload_firmware(), remap_feature(), session_do(), set_config(), setformat(), setup_zap(), ss_thread(), store_config(), verbose_exec(), vpb_answer(), vpb_bridge(), vpb_call(), vpb_hangup(), vpb_request(), wait_for_answer(), and zapras_exec().

#define VERBOSE_PREFIX_3 " -- "

Definition at line 60 of file options.h.

Referenced by __ast_pbx_run(), __login_exec(), __unload_module(), __zt_exception(), _while_exec(), adsi_exec(), adsi_prog(), advanced_options(), agent_call(), agent_read(), agentmonitoroutgoing_exec(), ast_app_has_voicemail(), ast_app_messagecount(), ast_channel_bridge(), ast_context_add_include2(), ast_context_add_switch2(), ast_context_create(), ast_dnsmgr_lookup(), ast_feature_interpret(), ast_feature_request_and_dial(), ast_module_reload(), ast_moh_start(), ast_play_and_prepend(), ast_play_and_record_full(), ast_record_review(), ast_register_indication_country(), ast_say_number_full_he(), ast_set_indication_country(), ast_streamfile(), ast_unregister_indication_country(), async_wait(), attempt_reconnect(), attempt_thread(), attempt_transfer(), build_conf(), build_device(), build_gateway(), builtin_automonitor(), builtin_blindtransfer(), builtin_disconnect(), builtin_function_timeout_write(), channel_spy(), check_for_conference(), conf_exec(), conf_run(), console_verboser(), cpeid_exec(), del_exec(), deltree_exec(), dial_exec_full(), dialout(), do_waiting(), find_subchannel_and_lock(), flash_exec(), function_ilink(), get_exec(), h323_ep_hangup(), handle_command_response(), handle_exec(), handle_getoption(), handle_message(), handle_request(), handle_response(), handle_verbose(), i4l_read(), iax2_ack_registry(), iax2_bridge(), iax2_exec(), iax2_hangup(), iax2_prov_app(), iax_provision_reload(), launch_script(), leave_voicemail(), listener(), lookupcidname_exec(), mgcp_answer(), mgcp_call(), mgcp_hangup(), mgcp_indicate(), mgcp_new(), mgcp_request(), mgcp_ss(), modem_hangup(), modem_setup(), moh_alloc(), moh_files_alloc(), moh_files_release(), moh_release(), monitor_handle_notowned(), monitor_handle_owned(), netconsole(), odbc_load_module(), park_exec(), parkandannounce_exec(), parse_config(), parse_register_contact(), parse_srv(), pbx_builtin_atimeout(), pbx_builtin_dtimeout(), pbx_builtin_goto(), pbx_builtin_rtimeout(), pbx_builtin_waitexten(), pbx_extension_helper(), phone_hangup(), play_message_callerid(), play_record_review(), privacy_exec(), process_ast_dsp(), put_exec(), queue_exec(), random_exec(), read_exec(), realtime_exec(), reg_source_db(), reload_config(), ring_entry(), rpt(), rpt_exec(), run_agi(), run_ras(), say_periodic_announcement(), say_position(), send_cwcidspill(), settransfercapability_exec(), setup_incoming_call(), setup_zap(), sip_getheader(), skinny_call(), skinny_indicate(), skinny_request(), skinny_session(), skinny_ss(), sms_debug(), socket_read(), ss_thread(), transmit_connect_with_sdp(), transmit_connection_del(), transmit_connection_del_w_params(), transmit_modify_request(), transmit_notify_request(), transmit_notify_request_with_callerid(), try_load_key(), update_registry(), verbose_exec(), vm_authenticate(), vm_execmain(), vpb_call(), wait_for_answer(), waitforring_exec(), waitforsilence_exec(), zapras_exec(), zt_call(), zt_handle_dtmfup(), zt_handle_event(), zt_hangup(), and zt_read().

#define VERBOSE_PREFIX_4 " > "

Definition at line 61 of file options.h.

Referenced by alarmreceiver_exec(), ast_pbx_outgoing_app(), ast_pbx_outgoing_exten(), ast_pbx_run_app(), conf_run(), console_verboser(), database_increment(), do_monitor(), get_callerid(), get_callerid_ast(), handle_verbose(), load_config(), log_events(), monitor_handle_notowned(), monitor_handle_owned(), odbc_do_query(), odbc_init(), odbc_log(), odbc_unload_module(), parkandannounce_exec(), playtone(), realtime_exec(), receive_ademco_contact_id(), receive_dtmf_digits(), restart_monitor(), send_tone_burst(), socket_read(), stoptone(), verbose_exec(), vpb_answer(), vpb_call(), vpb_digit(), vpb_fixup(), vpb_hangup(), vpb_indicate(), and write_metadata().

## Variable Documentation

time_t ast_lastreloadtime

Definition at line 198 of file asterisk.c.

Referenced by ast_module_reload(), and handle_showuptime().

int ast_mainpid

Definition at line 183 of file asterisk.c.

Referenced by safe_append(), and scan_service().

time_t ast_startuptime

Definition at line 197 of file asterisk.c.

Referenced by handle_showuptime().

char debug_filename[AST_FILENAME_MAX]

Definition at line 179 of file asterisk.c.

Referenced by ast_log(), and handle_debuglevel().

char defaultlanguage[]

Definition at line 206 of file asterisk.c.

Referenced by ast_channel_alloc().

int fully_booted

Definition at line 177 of file asterisk.c.

Referenced by __load_resource().

char record_cache_dir[AST_CACHE_DIR_LEN]

Definition at line 178 of file asterisk.c.

Referenced by ast_writefile().