logger.h File Reference

Support for logging to various files, console and syslog Configuration in file logger.conf. More...

#include "asterisk/options.h"

Include dependency graph for logger.h:

Go to the source code of this file.

Defines

#define __LOG_DEBUG   0
#define __LOG_DTMF   6
#define __LOG_ERROR   4
#define __LOG_NOTICE   2
#define __LOG_VERBOSE   5
#define __LOG_WARNING   3
#define _A_   __FILE__, __LINE__, __PRETTY_FUNCTION__
#define AST_CALLID_BUFFER_LENGTH   13
#define ast_debug(level,...)
 Log a DEBUG message.
#define AST_LOG_DEBUG   __LOG_DEBUG, _A_
#define AST_LOG_DTMF   __LOG_DTMF, _A_
#define ast_log_dynamic_level(level,...)   ast_log(level, __FILE__, __LINE__, __PRETTY_FUNCTION__, __VA_ARGS__)
 Send a log message to a dynamically registered log level.
#define AST_LOG_ERROR   __LOG_ERROR, _A_
#define AST_LOG_NOTICE   __LOG_NOTICE, _A_
#define AST_LOG_VERBOSE   __LOG_VERBOSE, _A_
#define AST_LOG_WARNING   __LOG_WARNING, _A_
#define ast_verb(level,...)
#define ast_verb_callid(level, callid,...)
#define ast_verbose(...)   __ast_verbose(__FILE__, __LINE__, __PRETTY_FUNCTION__, -1, __VA_ARGS__)
#define ast_verbose_callid(callid,...)   __ast_verbose_callid(__FILE__, __LINE__, __PRETTY_FUNCTION__, -1, callid, __VA_ARGS__)
#define DEBUG_ATLEAST(level)
#define DEBUG_M(a)
#define EVENTLOG   "event_log"
#define LOG_DEBUG   __LOG_DEBUG, _A_
#define LOG_DTMF   __LOG_DTMF, _A_
#define LOG_ERROR   __LOG_ERROR, _A_
#define LOG_NOTICE   __LOG_NOTICE, _A_
#define LOG_VERBOSE   __LOG_VERBOSE, _A_
#define LOG_WARNING   __LOG_WARNING, _A_
#define NUMLOGLEVELS   32
#define QUEUELOG   "queue_log"
#define VERBOSE_HASMAGIC(x)   (*(signed char *) (x) < 0)
#define VERBOSE_MAGIC2LEVEL(x)   (((char) -*(signed char *) (x)) - 1)
#define VERBOSE_PREFIX_1   " "
#define VERBOSE_PREFIX_2   " == "
#define VERBOSE_PREFIX_3   " -- "
#define VERBOSE_PREFIX_4   " > "
#define VERBOSITY_ATLEAST(level)   ((level) <= ast_verb_sys_level)

Typedefs

typedef unsigned int ast_callid

Functions

void __ast_verbose (const char *file, int line, const char *func, int level, const char *fmt,...)
 Send a verbose message (based on verbose level).
void __ast_verbose_ap (const char *file, int line, const char *func, int level, ast_callid callid, const char *fmt, va_list ap)
void __ast_verbose_callid (const char *file, int line, const char *func, int level, ast_callid callid, const char *fmt,...)
 Send a verbose message (based on verbose level) with deliberately specified callid.
void ast_callid_strnprint (char *buffer, size_t buffer_size, ast_callid callid)
 copy a string representation of the callid into a target string
int ast_callid_threadassoc_add (ast_callid callid)
 Adds a known callid to thread storage of the calling thread.
int ast_callid_threadassoc_change (ast_callid callid)
 Sets what is stored in the thread storage to the given callid if it does not match what is already there.
int ast_callid_threadassoc_remove (void)
 Removes callid from thread storage of the calling thread.
int ast_callid_threadstorage_auto (ast_callid *callid)
 Checks thread storage for a callid and stores a reference if it exists. If not, then a new one will be created, bound to the thread, and a reference to it will be stored.
void ast_callid_threadstorage_auto_clean (ast_callid callid, int callid_created)
 Use in conjunction with ast_callid_threadstorage_auto. Cleans up the references and if the callid was created by threadstorage_auto, unbinds the callid from the threadstorage.
void ast_child_verbose (int level, const char *fmt,...)
void ast_console_puts (const char *string)
 write the string to the root console, and all attached network console clients
void ast_console_puts_mutable (const char *string, int level)
 log the string to the console, and all attached console clients
void ast_console_toggle_loglevel (int fd, int level, int state)
 enables or disables logging of a specified level to the console fd specifies the index of the console receiving the level change level specifies the index of the logging level being toggled state indicates whether logging will be on or off (0 for off, 1 for on)
void ast_console_toggle_mute (int fd, int silent)
 mute or unmute a console from logging
ast_callid ast_create_callid (void)
 factory function to create a new uniquely identifying callid.
unsigned int ast_debug_get_by_module (const char *module)
 Get the debug level for a module.
void ast_log (int level, const char *file, int line, const char *function, const char *fmt,...)
 Used for sending a log message This is the standard logger function. Probably the only way you will invoke it would be something like this: ast_log(AST_LOG_WHATEVER, "Problem with the %s Captain. We should get some more. Will %d be enough?\n", "flux capacitor", 10); where WHATEVER is one of ERROR, DEBUG, EVENT, NOTICE, or WARNING depending on which log you wish to output to. These are implemented as macros, that will provide the function with the needed arguments.
void ast_log_backtrace (void)
 Log a backtrace of the current thread's execution stack to the Asterisk log.
void ast_log_callid (int level, const char *file, int line, const char *function, ast_callid callid, const char *fmt,...)
 Used for sending a log message with a known call_id This is a modified logger function which is functionally identical to the above logger function, it just include a call_id argument as well. If NULL is specified here, no attempt will be made to join the log message with a call_id.
void ast_log_safe (int level, const char *file, int line, const char *function, const char *fmt,...)
 Used for sending a log message with protection against recursion.
const char * ast_logger_get_dateformat (void)
 Get the logger configured date format.
int ast_logger_register_level (const char *name)
 Register a new logger level.
int ast_logger_rotate (void)
 Reload logger while rotating log files.
void ast_logger_unregister_level (const char *name)
 Unregister a previously registered logger level.
void ast_queue_log (const char *queuename, const char *callid, const char *agent, const char *event, const char *fmt,...)
ast_callid ast_read_threadstorage_callid (void)
 extracts the callerid from the thread
int ast_register_verbose (void(*verboser)(const char *string)) attribute_warn_unused_result
int ast_unregister_verbose (void(*verboser)(const char *string)) attribute_warn_unused_result
int ast_verb_console_get (void)
 Get this thread's console verbosity level.
void ast_verb_console_register (int *level)
 Register this thread's console verbosity level pointer.
void ast_verb_console_set (int verb_level)
 Set this thread's console verbosity level.
void ast_verb_console_unregister (void)
 Unregister this thread's console verbosity level.
void ast_verb_update (void)
 Re-evaluate the system max verbosity level (ast_verb_sys_level).
unsigned int ast_verbose_get_by_module (const char *module)
 Get the verbose level for a module.
int logger_reload (void)
 Reload logger without rotating log files.

Variables

int ast_verb_sys_level


Detailed Description

Support for logging to various files, console and syslog Configuration in file logger.conf.

Definition in file logger.h.


Define Documentation

#define __LOG_DEBUG   0

#define __LOG_DTMF   6

Definition at line 237 of file logger.h.

Referenced by log_exec().

#define __LOG_ERROR   4

#define __LOG_NOTICE   2

Definition at line 193 of file logger.h.

Referenced by init_logger_chain(), and log_exec().

#define __LOG_VERBOSE   5

#define __LOG_WARNING   3

Definition at line 204 of file logger.h.

Referenced by init_logger_chain(), log_cb(), and log_exec().

#define _A_   __FILE__, __LINE__, __PRETTY_FUNCTION__

Definition at line 177 of file logger.h.

#define AST_CALLID_BUFFER_LENGTH   13

Definition at line 46 of file logger.h.

Referenced by ast_channel_callid_set(), and iax_pvt_callid_new().

#define ast_debug ( level,
...   ) 

Value:

do { \
      if (DEBUG_ATLEAST(level)) { \
         ast_log(AST_LOG_DEBUG, __VA_ARGS__); \
      } \
   } while (0)
Log a DEBUG message.

Parameters:
level The minimum value of option_debug for this message to get logged
Examples:
/tmp/asterisk-trunk/trunk/main/app.c.

Definition at line 381 of file logger.h.

Referenced by __adsi_transmit_messages(), __analog_handle_event(), __analog_ss_thread(), __ast_answer(), __ast_context_destroy(), __ast_dsp_call_progress(), __ast_pbx_run(), __ast_play_and_record(), __ast_read(), __ast_sorcery_apply_wizard_mapping(), __dahdi_exception(), __expire_registry(), __find_call(), __find_callno(), __init_manager(), __schedule_action(), __send_lagrq(), __send_ping(), __sip_ack(), __sip_alloc(), __sip_autodestruct(), __sip_destroy(), __sip_reliable_xmit(), __sip_semi_ack(), __sip_xmit(), __ssl_setup(), _ast_device_state(), _ast_odbc_request_obj2(), _get_mohbyname(), _macro_exec(), _pgsql_exec(), _sip_tcp_helper_thread(), access_counter_file(), acf_curl_helper(), acf_curlopt_helper(), acf_curlopt_write(), acf_faxopt_write(), acf_jabberreceive_read(), acf_odbc_read(), acf_rand_exec(), acf_version_exec(), aco_process_config(), action_bridge(), action_waitevent(), actual_load_config(), add_email_attachment(), add_event_to_list(), add_exten_to_pattern_tree(), add_header(), add_header_offhook(), add_realm_authentication(), add_sdp(), add_sip_domain(), add_vm_recipients_from_string(), ademco_detect_format(), adsi_begin_download(), adsi_load_session(), adsi_load_vmail(), adsi_transmit_message_full(), agent_after_bridge_cb(), agent_alert(), agent_pvt_destructor(), agent_run(), agents_post_apply_config(), agi_exec_full(), alarmreceiver_exec(), alloc_playback_chan(), alloc_sub(), alsa_card_init(), alsa_write(), aMYSQL_fetch(), analog_answer(), analog_available(), analog_call(), analog_exception(), analog_fixup(), analog_handle_dtmf(), analog_handle_init_event(), analog_hangup(), analog_request(), analog_send_callerid(), analog_ss_thread(), analog_swap_subs(), analog_update_conf(), analyse_softmix_stats(), announce_thread(), anonymous_identify(), app_control_answer(), app_control_remove_channel_from_bridge(), app_control_silence_start(), app_control_silence_stop(), app_exec(), app_handle_subscriptions(), app_subscribe(), app_subscribe_bridge(), app_subscribe_channel(), app_subscribe_endpoint(), app_unsubscribe(), append_transaction(), append_var_and_value_to_filter(), applicationmap_handler(), ari_bridges_play_new(), ari_channels_handle_originate_with_id(), array(), ast_add_extension2_lockopt(), ast_add_hint(), ast_app_exec_macro(), ast_append_ha(), ast_apply_ha(), ast_ari_callback(), ast_ari_channels_continue_in_dialplan(), ast_ari_get_docs(), ast_ari_invoke(), ast_ari_websocket_events_event_websocket(), ast_ari_websocket_session_read(), ast_ari_websocket_session_write(), ast_audiohook_write_frame(), ast_autochan_destroy(), ast_autochan_new_channel(), ast_autochan_setup(), ast_bridge_channel_establish_roles(), ast_bridge_channel_feature_digit(), ast_bridge_channel_kick(), ast_bridge_channel_leave_bridge_nolock(), ast_bridge_channel_restore_formats(), ast_bridge_depart(), ast_bridge_destroy(), ast_bridge_features_enable(), ast_bridge_interval_hook(), ast_bridge_setup_after_goto(), ast_calendar_clear_events(), ast_callid_threadassoc_add(), ast_callid_threadassoc_change(), ast_callid_threadassoc_remove(), ast_cdr_backend_suspend(), ast_cdr_backend_unsuspend(), ast_cdr_engine_term(), ast_cdr_fork(), ast_channel_add_bridge_role(), ast_channel_audiohook_count_by_source(), ast_channel_audiohook_count_by_source_running(), ast_channel_callid_set(), ast_channel_clear_bridge_roles(), ast_channel_inherit_variables(), ast_channel_register(), ast_channel_remove_bridge_role(), ast_channel_softhangup_withcause_locked(), ast_channel_start_silence_generator(), ast_channel_stop_silence_generator(), ast_channel_unregister(), ast_check_hangup(), ast_check_signature_bin(), ast_config_text_file_save2(), ast_connected_line_parse_data(), ast_create_callid(), ast_db_del(), ast_dial_run(), ast_dns_resolver_add_record(), ast_dns_resolver_set_result(), ast_dnsmgr_release(), ast_do_pickup(), ast_dsp_busydetect(), ast_dsp_process(), ast_dsp_set_busy_pattern(), ast_eivr_setvariable(), ast_find_ourip(), ast_format_cap_update_by_allow_disallow(), ast_get_encoded_char(), ast_get_enum(), ast_get_srv(), ast_get_txt(), ast_hangup(), ast_http_body_discard(), ast_http_create_response(), ast_http_get_contents(), ast_http_send(), ast_iax2_new(), ast_indicate_data(), ast_io_add(), ast_io_dump(), ast_io_wait(), ast_ivr_menu_run_internal(), ast_lock_path_flock(), ast_lock_path_lockfile(), ast_logger_register_level(), ast_logger_unregister_level(), ast_module_register(), ast_module_shutdown(), ast_module_unregister(), ast_moh_files_next(), ast_monitor_change_fname(), ast_monitor_start(), ast_monitor_stop(), ast_msg_has_destination(), ast_odbc_find_table(), ast_ouraddrfor(), ast_parse_arg(), ast_pbx_h_exten_run(), ast_pickup_call(), ast_pktccops_gate_alloc(), ast_presence_state_helper(), ast_prod(), ast_read_generator_actions(), ast_redirecting_parse_data(), ast_rtcp_read(), ast_rtp_change_source(), ast_rtp_codecs_payloads_copy(), ast_rtp_codecs_payloads_set_m_type(), ast_rtp_codecs_payloads_unset(), ast_rtp_dtmf_end_with_duration(), ast_rtp_instance_early_bridge(), ast_rtp_instance_early_bridge_make_compatible(), ast_rtp_instance_new(), ast_rtp_new(), ast_rtp_prop_set(), ast_rtp_raw_write(), ast_rtp_read(), ast_rtp_remote_address_set(), ast_rtp_update_source(), ast_rtp_write(), ast_say_date_with_format_da(), ast_say_date_with_format_de(), ast_say_date_with_format_en(), ast_say_date_with_format_es(), ast_say_date_with_format_fr(), ast_say_date_with_format_gr(), ast_say_date_with_format_he(), ast_say_date_with_format_it(), ast_say_date_with_format_nl(), ast_say_date_with_format_pl(), ast_say_date_with_format_pt(), ast_say_date_with_format_th(), ast_say_date_with_format_vi(), ast_say_date_with_format_zh(), ast_say_enumeration_full_da(), ast_say_enumeration_full_de(), ast_say_enumeration_full_en(), ast_say_enumeration_full_he(), ast_say_number_full_da(), ast_say_number_full_de(), ast_say_number_full_en(), ast_say_number_full_en_GB(), ast_say_number_full_es(), ast_say_number_full_fr(), ast_say_number_full_gr(), ast_say_number_full_he(), ast_say_number_full_hu(), ast_say_number_full_it(), ast_say_number_full_ja(), ast_say_number_full_nl(), ast_say_number_full_no(), ast_say_number_full_ru(), ast_say_number_full_se(), ast_say_number_full_ur(), ast_say_number_full_zh(), ast_sched_add_variable(), ast_sched_del(), ast_sched_dump(), ast_sched_runq(), ast_sched_wait(), ast_sched_when(), ast_sdp_crypto_alloc(), ast_sdp_crypto_build_offer(), ast_sdp_crypto_process(), ast_sdp_srtp_alloc(), ast_search_dns(), ast_senddigit_begin(), ast_set_default_eid(), ast_set_read_format_path(), ast_settimeout_full(), ast_sip_ouraddrfor(), ast_sip_register_authenticator(), ast_sip_register_endpoint_identifier_with_name(), ast_sip_register_outbound_authenticator(), ast_sip_session_refresh(), ast_sip_session_register_sdp_handler(), ast_sip_session_terminate(), ast_sip_unregister_authenticator(), ast_sip_unregister_endpoint_identifier(), ast_sip_unregister_outbound_authenticator(), ast_sockaddr_resolve_first_af(), ast_sockaddr_split_hostport(), ast_softhangup_nolock(), ast_srtp_add_stream(), ast_srtp_change_source(), ast_srtp_unprotect(), ast_ssl_init(), ast_statsd_log_full(), ast_str_retrieve_variable(), ast_str_substitute_variables_full(), ast_streamfile(), ast_stun_handle_packet(), ast_stun_request(), ast_tcptls_client_create(), ast_tcptls_server_start(), ast_tcptls_server_stop(), ast_tone_detect_init(), ast_translate(), ast_udptl_read(), ast_unlock_path_flock(), ast_unlock_path_lockfile(), ast_unreal_hangup(), ast_uuid_init(), ast_write(), ast_writestream(), asterisk_publication_devicestate(), asterisk_publication_devicestate_state_change(), asterisk_publication_mailboxstate(), asterisk_publication_mwi_state_change(), async_agi_read_frame(), attended_transfer_monitor_thread(), attended_transfer_properties_alloc(), attended_transfer_properties_destructor(), attended_transfer_properties_shutdown(), atxfer_abort(), atxfer_complete(), atxfer_swap(), atxfer_threeway(), atxfer_transferer_hangup(), audiohook_read_frame_both(), auth_http_callback(), auth_observer(), authenticate(), background_detect_exec(), bridge_after_cb(), bridge_after_cb_failed(), bridge_agent_hold_ack(), bridge_agent_hold_heartbeat(), bridge_agent_hold_push(), bridge_base_init(), bridge_channel_complete_join(), bridge_channel_depart(), bridge_channel_dtmf_stream(), bridge_channel_feature_digit_add(), bridge_channel_handle_interval(), bridge_channel_internal_join(), bridge_channel_internal_pull(), bridge_channel_internal_push(), bridge_channel_moving(), bridge_channel_talking(), bridge_channel_wait(), bridge_dissolve(), bridge_do_merge(), bridge_do_move(), bridge_manager_destroy(), bridge_merge_locked(), bridge_move_locked(), bridge_p2p_rtp_write(), bridge_queue_action_nodup(), bridge_stasis_push_peek(), bridge_tech_deferred_destroy(), build_node_children(), build_path(), build_peer(), build_reply_digest(), build_resource_tree(), build_route(), build_transactions(), cache_get_callno_locked(), cache_lookup_internal(), cache_save_hint(), calc_metric(), calc_rxstamp(), calc_timestamp(), caldav_destructor(), caldav_load_calendar(), calendar_destructor(), calendar_event_destructor(), calendar_query_exec(), caller_abort_agent(), callerid_feed_jp(), callerid_get_dtmf(), calltoken_required(), can_reuse_registration(), can_ring_entry(), cdata(), cdr_detach(), cdr_handler(), cdr_object_create_public_records(), cdr_object_finalize(), cdr_submit_batch(), chan_pjsip_read(), chan_pjsip_set_rtp_peer(), change_callid_pvt(), change_redirecting_information(), change_t38_state(), channel_do_masquerade(), channel_fill_empty_accountcode(), channel_fill_empty_peeraccount(), channel_spy(), channel_update_peeraccount(), check_for_nat(), check_key(), check_match(), check_nonce(), check_password(), check_peer_ok(), check_pendings(), check_provisioning(), check_resync(), check_srcaddr(), cleaned_basedn(), cleanup_registration(), cli_console_dial(), cli_odbc_read(), cli_odbc_write(), close_client(), close_mailbox(), close_udptl_connection(), codec_choose_from_prefs(), common_exec(), compare_weight(), conf_add(), conf_change_state(), conf_del(), conf_run(), conf_update_user_mute(), config_function_read(), config_handler(), config_ldap(), config_module(), config_mysql(), config_pgsql(), config_text_file_load(), configure_local_rtp(), console_read(), control_add_channel_to_bridge(), control_streamfile(), controlplayback_exec(), convertH323CapToAsteriskCap(), cops_connect(), cops_construct_gate(), cops_gate_cmd(), cops_getmsg(), cops_sendmsg(), cpg_deliver_cb(), create_dirpath(), create_dtmf_frame(), create_followme_number(), create_match_char_tree(), create_virtual_subscriptions(), create_vmaccount(), crypto_activate(), crypto_load(), custom_prepare(), dahdi_answer(), dahdi_call(), dahdi_conf_update(), dahdi_create_channel_range(), dahdi_destroy_channel_range(), dahdi_dial_str(), dahdi_digit_begin(), dahdi_digit_end(), dahdi_ec_disable(), dahdi_ec_enable(), dahdi_fixup(), dahdi_handle_dtmf(), dahdi_handle_event(), dahdi_hangup(), dahdi_indicate(), dahdi_master_slave_link(), dahdi_master_slave_unlink(), dahdi_new(), dahdi_queryoption(), dahdi_read(), dahdi_request(), dahdi_restart(), dahdi_sendtext(), dahdi_setoption(), dahdi_train_ec(), dahdi_translate(), dahdi_write(), data_provider_find(), datastore_destroy_cb(), db_destructor(), db_get_common(), deactivate_silence_generator(), debug_response_handler(), decode_frame(), decode_length(), del_exec(), deltree_exec(), destroy_bridge(), destroy_conference_bridge(), destroy_event(), destroy_mysql(), destroy_pgsql(), destroy_table_cache(), determine_firstline_parts(), device2chan(), device_state_cb(), dial_exec_full(), dial_handle_playtones(), dial_masquerade_breakdown(), dial_masquerade_fixup(), dial_trunk(), dialog_needdestroy(), dialog_unlink_all(), disa_exec(), disable_t38(), dnsmgr_refresh(), do_alignment_detection(), do_cdr(), do_directory(), do_magic_pickup(), do_message_auth(), do_monitor(), do_monitor_headset(), do_monitor_phone(), do_pktccops(), do_proxy_auth(), do_register(), do_register_expire(), do_say(), do_setnat(), do_state_change(), do_waiting(), dundi_answer_entity(), dundi_answer_query(), dundi_decrypt(), dundi_encrypt(), dundi_lookup_internal(), dundi_lookup_thread(), dundi_precache_internal(), dundi_precache_thread(), dundi_prop_precache(), dundi_query_thread(), encrypt_frame(), endelm(), ewscal_destructor(), ewscal_load_calendar(), exchangecal_destructor(), exchangecal_get_events_between(), exchangecal_load_calendar(), expand_gosub_args(), expire_register(), extension_is_compatible(), extension_state_cb(), fax_gateway_detect_t38(), fax_gateway_detect_v21(), fax_gateway_framehook(), fax_gateway_request_t38(), fax_session_new(), fax_session_reserve(), feature_attended_transfer(), feature_blind_transfer(), festival_exec(), file_read(), file_write(), filter(), find_account(), find_best_technology(), find_body_generator(), find_command(), find_conf(), find_conf_realtime(), find_load_queue_rt_friendly(), find_pub_handler(), find_queue_by_name_rt(), find_realtime_gw(), find_subchannel_and_lock(), find_table(), find_table_cb(), find_tpeer(), findmeexec(), function_db_delete(), function_db_read(), g726_open(), generate_computational_cost(), generator_force(), generic_fax_exec(), generic_http_callback(), get_also_info(), get_destination(), get_ewscal_ids_for(), get_lock(), get_member_status(), get_refer_info(), get_sip_pvt_from_replaces(), get_write_timeout(), getproviderstate(), global_loaded_observer(), gosub_exec(), gosub_run(), grab_transfer(), grow(), handle_attended_transfer(), handle_blind_transfer(), handle_bridge_enter(), handle_call_outgoing(), handle_cli_agi_add_cmd(), handle_client_registration(), handle_command_response(), handle_frame(), handle_getoption(), handle_gosub(), handle_hangup(), handle_incoming(), handle_incoming_request(), handle_incoming_response(), handle_incoming_sdp(), handle_invite_replaces(), handle_jack_audio(), handle_local_optimization_end(), handle_msg_cb(), handle_negotiated_sdp_session_media(), handle_offhook_message(), handle_outgoing(), handle_outgoing_request(), handle_outgoing_response(), handle_output(), handle_registration_response(), handle_request(), handle_request_bye(), handle_request_cancel(), handle_request_do(), handle_request_info(), handle_request_invite(), handle_request_invite_st(), handle_request_notify(), handle_request_refer(), handle_request_register(), handle_request_subscribe(), handle_response(), handle_response_brsf(), handle_response_ciev(), handle_response_cind(), handle_response_clip(), handle_response_cmgr(), handle_response_cmti(), handle_response_error(), handle_response_invite(), handle_response_notify(), handle_response_ok(), handle_response_refer(), handle_response_register(), handle_response_ring(), handle_response_subscribe(), handle_rx_message(), handle_sms_prompt(), handle_stimulus_message(), handle_streamfile(), handle_tcptls_connection(), handle_uri(), hangup_cause2sip(), has_destination_cb(), headset_send_ring(), hfp_parse_ciev(), hfp_parse_cind_indicator(), hfp_parse_cind_test(), hfp_parse_cmti(), hfp_parse_ecav(), hook_destroy_cb(), hook_on(), http_post_callback(), httpd_helper_thread(), iax2_answer(), iax2_call(), iax2_destroy(), iax2_devicestate(), iax2_do_register(), iax2_hangup(), iax2_indicate(), iax2_provision(), iax2_read(), iax2_transfer(), iax2_trunk_queue(), iax2_write(), iax_provision_version(), ical_load_calendar(), icalendar_destructor(), ices_exec(), icesencode(), iconv_read(), ilbctolin_framein(), incoming_in_dialog_request(), indicate_connected_line(), init_jack_data(), initialize_initreq(), initialize_udptl(), instance_destructor(), internal_dnsmgr_lookup(), invent_message(), io_grow(), ip_identify(), ip_identify_match_check(), is_our_turn(), is_read_allowed(), is_write_allowed(), isAnsweringMachine(), jingle_action_session_terminate(), jingle_queue_hangup_with_cause(), jingle_read(), join_conference_bridge(), join_queue(), kqueue_timer_close(), kqueue_timer_disable_continuous(), kqueue_timer_enable_continuous(), kqueue_timer_open(), kqueue_timer_set_rate(), last_message_index(), launch_asyncagi(), launch_monitor_thread(), launch_netscript(), ldap_loadentry(), ldap_reconnect(), leave_queue(), leave_voicemail(), line_identify(), load_config(), load_module(), load_modules(), load_mysql_config(), local_attended_transfer(), local_devicestate(), log_events(), log_jitterstats(), lua_find_extension(), lua_pbx_exec(), make_email_file(), make_trunk(), manager_modulecheck(), manager_show_dialplan_helper(), match_filter(), matrix_rebuild(), mbl_call(), mbl_devicestate(), mbl_digit_end(), mbl_fixup(), mbl_hangup(), mbl_load_adapter(), mbl_load_device(), mbl_read(), mbl_write(), measurenoise(), meetme_cmd_helper(), message_template_build(), message_template_parse_filebody(), messaging_app_subscribe_endpoint(), messaging_app_unsubscribe_endpoint(), metermaidstate(), mgcp_answer(), mgcp_call(), mgcp_hangup(), mgcp_indicate(), mgcp_pktcgate_open(), mgcp_pktcgate_remove(), mgcp_prune_realtime_gateway(), mgcp_rtp_read(), mgcp_senddigit_begin(), mgcp_senddigit_end(), mgcp_ss(), mgcp_write(), mgcpsock_read(), minivm_accmess_exec(), minivm_delete_exec(), minivm_greet_exec(), misdn_hangup(), misdn_write(), mixmonitor_thread(), mkif(), modify_mysql(), module_on_rx_request(), moh_class_destructor(), moh_scan_files(), monmp3thread(), mp3_exec(), msg_create_from_file(), msg_q_cb(), msg_send(), multihomed_on_tx_message(), mwi_stasis_subscription_alloc(), mwi_subscription_alloc(), mwi_subscription_destructor(), my_dahdi_write(), my_distinctive_ring(), my_get_callerid(), my_handle_dtmf(), my_is_dialing(), my_load_module(), my_send_callerid(), my_set_waitingfordt(), MYSQL_exec(), mysql_log(), mysql_reconnect(), nat_on_tx_message(), native_bridge_changed(), native_bridge_compatible(), native_bridge_is_capable(), native_rtp_bridge_compatible(), native_rtp_bridge_stop(), native_start(), native_stop(), nbs_call(), nbs_hangup(), nbs_xread(), NBScat_exec(), negotiate_incoming_sdp_stream(), new_find_extension(), notify_new_message(), object_type_loaded_observer(), obproxy_get(), odbc_load_module(), odbc_log(), odbc_obj_disconnect(), odbc_release_obj2(), odbc_txn_free(), on_dns_update_mwi(), on_dns_update_peer(), on_dns_update_registry(), onAlerting(), onCallCleared(), onCallEstablished(), onModeChanged(), onProgress(), ooh323_answer(), ooh323_destroy(), ooh323_hangup(), ooh323_indicate(), ooh323_onReceivedDigit(), ooh323_queryoption(), ooh323_rtp_read(), ooh323_set_read_format(), ooh323_set_write_format(), ooh323_write(), ooh323c_set_aliases(), ooh323c_start_call_thread(), originate_exec(), osp_auth(), osp_check_destination(), osp_create_provider(), osp_create_transaction(), osp_finish(), osp_get_provider(), osp_load(), osp_lookup(), osp_next(), osp_report_qos(), osp_validate_token(), ospauth_exec(), ospfinished_exec(), osplookup_exec(), ospnext_exec(), parking_duration_callback(), parking_is_exten_park(), parking_notify_metermaids(), parse(), parse_config(), parse_cookies(), parse_minse(), parse_moved_contact(), parse_naptr(), parse_register_contact(), parse_request(), parse_session_expires(), parse_sip_options(), parse_uri_full(), participant_idle_mode_setup(), pbx_builtin_gotoif(), pbx_builtin_gotoiftime(), pbx_extension_helper(), pbx_find_extension(), pbx_load_module(), pbx_start_incoming_request(), pbx_substitute_variables_helper_full(), peer_set_srcaddr(), peercnt_add(), peercnt_modify(), peercnt_remove(), pgsql_exec(), pgsql_log(), pgsql_reconnect(), phase_e_handler(), phone_answer(), phone_call(), phone_check_exception(), phone_digit_end(), phone_exception(), phone_hangup(), phone_indicate(), pl_odtworz_plik(), play_message_callerid(), play_message_duration(), play_sound_helper(), pop_exec(), post_cdr(), post_raw(), precache_transactions(), prep_email_sub_vars(), printdigest(), proc_session_timer(), process_ast_dsp(), process_clearcache(), process_cn_rfc3389(), process_crypto(), process_dahdi(), process_dtmf_cisco(), process_dtmf_rfc2833(), process_events(), process_message(), process_message_callback(), process_my_load_module(), process_request(), process_sdp(), process_sdp_a_audio(), process_sdp_a_image(), process_sdp_o(), publication_destroy_fn(), publish_to_corosync(), queue_exec(), queue_set_param(), queued_set_size(), radius_log(), raw_hangup(), read_header(), readexten_exec(), really_quit(), realtime_destroy_handler(), realtime_handler(), realtime_ldap_base_ap(), realtime_ldap_entry_to_var(), realtime_ldap_result_to_vars(), realtime_multi_handler(), realtime_multi_mysql(), realtime_multi_pgsql(), realtime_mysql(), realtime_peer(), realtime_pgsql(), realtime_store_handler(), realtime_update2_handler(), realtime_update_handler(), realtimefield_read(), receive_ademco_event(), receive_dtmf_digits(), receive_message(), receivefax_exec(), receivefax_t38_init(), record_exec(), record_file(), refer_attended_task(), refer_incoming_attended_request(), refer_incoming_invite_request(), refer_incoming_refer_request(), refer_progress_alloc(), refer_progress_bridge(), refer_progress_framehook(), refer_progress_notify(), refer_progress_on_evsub_state(), refresh_list(), reg_source_db(), regex(), register_request(), register_service_noref(), release_doomed_pris(), release_transaction(), reload_config(), reload_followme(), reload_module(), reload_queue_members(), remove_handler(), remove_subscription(), replace(), reqprep(), require_mysql(), require_pgsql(), reschedule_reinvite(), resend_reinvite(), resend_response(), resolve_first(), restart_session_timer(), restore_conference(), retrans_pkt(), rfcomm_connect(), rfcomm_write_full(), ring_one(), rqm_exec(), rt_extend_conf(), run_agi(), run_externnotify(), run_ras(), rx_task(), safe_append(), save_conference(), save_to_folder(), sayname(), scan_service(), sched_delay_remove(), schedule_calendar_event(), schedule_delivery(), scheduled_destroy(), sco_accept(), sco_connect(), sco_write(), sdp_requires_deferral(), sdp_search(), search_directory(), search_directory_sub(), select_entry(), semicolon_count_var(), send_callerid(), send_command(), send_delayed_request(), send_digit_to_chan(), send_eivr_event(), send_ews_request_and_parse(), send_packet(), send_request(), send_response(), send_trunk(), send_unsolicited_mwi_notify(), send_waveform_to_channel(), sendfax_exec(), sendfax_t38_init(), sendmail(), sendpage(), sendtext(), session_destructor(), session_inv_on_state_changed(), session_inv_on_tsx_state_changed(), session_outgoing_nat_hook(), set_actual_rxgain(), set_actual_txgain(), set_asterisk_int(), set_config(), set_format(), set_member_paused(), set_peercnt_limit(), set_peercnt_limit_all_cb(), setup_bridge_role(), setup_mixmonitor(), setup_sdes_srtp(), setup_udptl_connection(), shrink(), sip_addheader(), sip_allow_anyrtp_remote(), sip_alreadygone(), sip_answer(), sip_call(), sip_destroy(), sip_destroy_peer(), sip_devicestate(), sip_do_reload(), sip_dump_history(), sip_fixup(), sip_hangup(), sip_indicate(), sip_new(), sip_outbound_publish_synchronize(), sip_outbound_registration_apply(), sip_pickup(), sip_prepare_socket(), sip_queryoption(), sip_registry_destroy(), sip_removeheader(), sip_request_call(), sip_route_copy(), sip_route_process_header(), sip_rtp_read(), sip_senddigit_begin(), sip_senddigit_end(), sip_sendhtml(), sip_sendtext(), sip_set_rtp_peer(), sip_setoption(), sip_tcptls_read(), sip_transfer(), sips_contact_on_tx_request(), skinny_hangup(), skinny_rtp_read(), sla_handle_dial_state_event(), sla_queue_event_conf(), sla_station_destructor(), sla_station_exec(), sla_trunk_destructor(), smart_bridge_operation(), smdi_read(), smdi_toggle_mwi(), socket_process_helper(), socket_read(), softmix_bridge_destroy(), softmix_bridge_write(), softmix_bridge_write_voice(), softmix_mixing_thread(), sorcery_config_internal_load(), sorcery_realtime_filter_objectset(), span_message(), spandsp_fax_read(), spandsp_v21_detect(), srtp_event_cb(), start_session_timer(), start_stream(), startelm(), stasis_app_control_add_channel_to_bridge(), stasis_app_control_answer(), stasis_app_control_play_uri(), stasis_app_control_record(), stasis_app_control_remove_channel_from_bridge(), stasis_app_device_state_update(), stasis_app_exec(), stasis_app_subscribe_channel(), statsd_init(), statsd_shutdown(), stop_session_timer(), store_mysql(), store_next_lin(), store_next_rr(), store_pgsql(), subscribe_device_state(), subscription_destructor(), substituted(), swap_subs(), t30_phase_e_handler(), t38_automatic_reject(), t38_change_state(), tcptls_stream_fopen(), tcptls_stream_read(), tcptls_stream_write(), tds_message_handler(), test_jb_debug_output(), testclient_exec(), testserver_exec(), timer_destroy(), timerfd_timer_ack(), timing_read(), tone_detect(), tps_taskprocessor_destroy(), trace_cb(), transfer_target_framehook_cb(), transmit(), transmit_audio(), transmit_connect(), transmit_connect_with_sdp(), transmit_connection_del(), transmit_connection_del_w_params(), transmit_invite(), transmit_modify_request(), transmit_modify_with_sdp(), transmit_notify_request(), transmit_notify_request_with_callerid(), transmit_refer(), transmit_register(), transmit_response_with_sdp(), transmit_t38(), transmit_trunk(), try_calling(), try_load_key(), try_merge_optimize_out(), udptl_build_packet(), udptl_rx_packet(), unalloc_sub(), unbound_resolver_start(), unbound_resolver_stop(), unbound_resolver_thread(), unistim_fixup(), unistim_free_sub(), unistim_hangup(), unistim_rtp_read(), unistim_send_mwi_to_peer(), unload_module(), unload_pgsql(), unlock_read(), unreal_queue_indicate(), unref_ewscal(), unref_mansession(), unregister_service_noref(), unsubscribe(), unsubscribe_stasis(), unwrap_timestamp(), update2_ldap(), update2_mysql(), update2_pgsql(), update_call_counter(), update_connectedline(), update_ldap(), update_mysql(), update_pgsql(), update_qe_rule(), update_realtime_members(), user_alloc(), user_dtor(), username_identify(), vm_authenticate(), vm_change_password(), vm_change_password_shell(), vm_delete(), vm_execmain(), vm_newuser(), vm_options(), vm_playmsgexec(), vmsayname_exec(), wait_for_answer(), wait_for_output(), wait_for_winner(), websocket_echo_callback(), websocket_on_rx_msg(), wizard_apply_handler(), wizard_mapped_observer(), worker_idle(), worker_thread_destroy(), write_cdr(), write_cel(), write_metadata(), WriteMemoryCallback(), xml_translate(), xmpp_client_receive(), xmpp_client_requested_tls(), xmpp_client_thread(), xmpp_component_service_discovery_get_hook(), xmpp_pak_message(), xmpp_ping_request(), xmpp_pubsub_handle_error(), xmpp_pubsub_handle_event(), and xmpp_send_cb().

#define AST_LOG_DEBUG   __LOG_DEBUG, _A_

Definition at line 188 of file logger.h.

#define AST_LOG_DTMF   __LOG_DTMF, _A_

Definition at line 243 of file logger.h.

#define ast_log_dynamic_level ( level,
...   )     ast_log(level, __FILE__, __LINE__, __PRETTY_FUNCTION__, __VA_ARGS__)

#define AST_LOG_ERROR   __LOG_ERROR, _A_

#define AST_LOG_NOTICE   __LOG_NOTICE, _A_

#define AST_LOG_VERBOSE   __LOG_VERBOSE, _A_

Definition at line 232 of file logger.h.

#define AST_LOG_WARNING   __LOG_WARNING, _A_

Definition at line 210 of file logger.h.

Referenced by acf_mailbox_exists(), action_command(), actual_load_config(), adsi_begin(), advanced_options(), appcdr_callback(), apply_option(), ast_bridge_impart(), ast_cdr_unregister(), ast_module_reload(), ast_parking_register_bridge_features(), ast_parking_unregister_bridge_features(), ast_srtp_add_stream(), ast_srtp_unprotect(), au_seek(), au_trunc(), base_encode(), bridge_channel_park(), cdr_prop_write(), cdr_prop_write_callback(), cdr_read(), cdr_read_callback(), cdr_write(), cdr_write_callback(), channel_chanspy_start_cb(), channel_chanspy_stop_cb(), channel_read_pjsip(), channel_read_rtcp(), channel_read_rtp(), check_password(), close_mailbox(), copy(), create_dirpath(), filestream_close(), forkcdr_callback(), forkcdr_exec(), forward_message(), g719seek(), g719trunc(), g723_trunc(), g729_trunc(), gsm_seek(), gsm_tell(), gsm_trunc(), h263_trunc(), h264_trunc(), handle_bridge_enter_message(), handle_bridge_leave_message(), handle_channel_cache_message(), handle_dial_message(), handle_parked_call_message(), handle_request_info(), hep_queue_cb(), hepv3_data_alloc(), ilbc_trunc(), initialize_udptl(), invent_message(), is_valid_dtmf(), leave_voicemail(), load_config(), load_module(), make_email_file(), manager_generic_msg_cb(), message_playback_callback_fn(), msg_create_from_file(), mwi_app_event_cb(), notify_new_message(), odbc_log(), parking_park_call(), pbx_builtin_answer(), pbx_builtin_setamaflags(), pcm_seek(), pcm_trunc(), pjsip_acf_channel_read(), pjsip_aor_function_read(), pjsip_contact_function_read(), pjsip_endpoint_function_read(), play_message(), play_message_by_id_helper(), play_message_category(), play_message_datetime(), play_record_review(), publish_app_cdr_message(), publish_chanspy_message(), read_pjsip(), remove_talk_detect(), res_srtp_init(), run_externnotify(), sendmail(), sendpage(), siren14seek(), siren14trunc(), siren7seek(), siren7trunc(), slinear_seek(), slinear_trunc(), softmix_bridge_create(), talk_detect_fn_write(), test_jb_warn_output(), test_vm_api_remove_all_messages(), vm_authenticate(), vm_box_exists(), vm_change_password(), vm_exec(), vm_execmain(), vm_mailbox_snapshot_create(), vm_msg_play(), vox_seek(), vox_trunc(), wait_file2(), wav_seek(), and wav_trunc().

#define ast_verb ( level,
...   ) 

Value:

do { \
      if (VERBOSITY_ATLEAST(level) ) { \
         __ast_verbose(__FILE__, __LINE__, __PRETTY_FUNCTION__, level, __VA_ARGS__); \
      } \
   } while (0)
Examples:
/tmp/asterisk-trunk/trunk/main/app.c.

Definition at line 392 of file logger.h.

Referenced by __analog_handle_event(), __analog_ss_thread(), __ast_bridge_technology_register(), __ast_bucket_scheme_register(), __ast_codec_register(), __ast_context_destroy(), __ast_custom_function_register(), __ast_format_def_register(), __ast_format_interface_register(), __ast_http_load(), __ast_pbx_run(), __ast_play_and_record(), __ast_register_translator(), __ast_sorcery_wizard_register(), __dahdi_exception(), __ssl_setup(), _macro_exec(), _while_exec(), acf_odbc_read(), action_hangup(), action_login(), add_realm_authentication(), add_vm_recipients_from_string(), ademco_detect_format(), ademco_verify_checksum(), adsi_exec(), adsi_prog(), advanced_options(), agent_login_exec(), agent_logout(), agent_request_exec(), agent_thread(), alarmreceiver_exec(), alloc_notify_task_data(), analog_attempt_transfer(), analog_dnd(), analog_exception(), analog_handle_init_event(), analog_hangup(), analog_ss_thread(), announce_to_dial(), aoc_display_decoded_debug(), app_create(), app_deactivate(), app_dtor(), app_exec(), app_send(), app_update(), ari_originate_dial(), ast_add_extension2_lockopt(), ast_agi_register(), ast_agi_unregister(), ast_bridge_technology_unregister(), ast_bridge_timelimit(), ast_calendar_register(), ast_calendar_unregister(), ast_cdr_unregister(), ast_cel_engine_reload(), ast_channel_register(), ast_channel_unregister(), ast_config_text_file_save2(), ast_context_add_include2(), ast_context_add_switch2(), ast_context_find_or_create(), ast_context_remove_extension_callerid2(), ast_context_remove_include2(), ast_context_remove_switch2(), ast_custom_function_unregister(), ast_dns_resolver_register(), ast_dns_resolver_unregister(), ast_eivr_senddtmf(), ast_fax_tech_register(), ast_fax_tech_unregister(), ast_format_cache_set(), ast_format_def_unregister(), ast_frame_dump(), ast_image_register(), ast_image_unregister(), ast_jb_destroy(), ast_manager_register_struct(), ast_manager_unregister(), ast_merge_contexts_and_delete(), ast_module_reload(), ast_module_shutdown(), ast_moh_destroy(), ast_moh_start(), ast_msg_handler_register(), ast_msg_handler_unregister(), ast_msg_tech_register(), ast_msg_tech_unregister(), ast_pbx_h_exten_run(), ast_realtime_append_mapping(), ast_record_review(), ast_register_application2(), ast_register_indication_country(), ast_rtp_engine_register2(), ast_rtp_engine_unregister(), ast_rtp_glue_register2(), ast_rtp_glue_unregister(), ast_rtp_read(), ast_say_enumeration_full_he(), ast_say_number_full_he(), ast_set_indication_country(), ast_set_priority(), ast_set_qos(), ast_sorcery_wizard_unregister(), ast_speech_register(), ast_speech_unregister(), ast_streamfile(), ast_udptl_read(), ast_udptl_write(), ast_unload_resource(), ast_unregister_application(), ast_unregister_translator(), ast_websocket_server_add_protocol(), ast_websocket_server_remove_protocol(), ast_websocket_uri_cb(), attempt_thread(), attempt_transfer(), auth_http_callback(), background_detect_exec(), begin_dial_channel(), blr_ebl(), blr_txt(), bridge_channel_internal_pull(), bridge_channel_internal_push(), bridge_parking_push(), bridgewait_exec(), bridgewait_timeout_callback(), build_channels(), build_conf(), build_device(), build_gateway(), build_peer(), build_user(), caller_joined_bridge(), can_safely_quit(), chan_pjsip_cng_tone_detected(), channel_spy(), chanspy_exec(), check_for_conference(), check_send_queue(), cleanup_cb(), cli_console_mute(), close_call(), close_client(), close_rtp_connection(), close_udptl_connection(), comeback_goto(), conf_exec(), conf_run(), config_device(), config_line(), config_load(), config_odbc_prepare(), config_text_file_load(), configure_local_rtp(), console_answer(), console_call(), console_digit_begin(), console_digit_end(), console_hangup(), console_indicate(), console_text(), context_merge(), context_merge_incls_swits_igps_other_registrars(), control_streamfile(), copy_to_voicemail(), cpeid_exec(), create_client(), create_jb(), dahdi_dnd(), dahdi_handle_dtmf(), dahdi_handle_event(), dahdi_hangup(), dahdi_read(), dahdi_restart(), dahdiras_exec(), database_increment(), debug_check_frame_for_silence(), del_exec(), deltree_exec(), destroy_all_channels(), dial_exec_full(), dialout(), do_discovery(), do_forward(), do_message(), do_monitor(), do_monitor_headset(), do_monitor_phone(), do_notify(), do_waiting(), dumpchan_exec(), eivr_comm(), exchangecal_write_event(), extensionstate_update(), fax_detect_framehook(), feature_attended_transfer(), feature_automixmonitor(), feature_automonitor(), find_call(), find_conf_realtime(), find_friend(), find_peer(), find_subchannel_and_lock(), find_subchannel_by_name(), find_subline_by_name(), find_table(), find_transcoders(), find_user(), findmeexec(), flash_exec(), generic_fax_exec(), generic_http_callback(), get_avail_softkey(), get_folder(), gosub_run(), handle_call_incoming(), handle_call_outgoing(), handle_cli_ooh323_reload(), handle_command_response(), handle_exec(), handle_frame(), handle_frame_ownerless(), handle_getoption(), handle_gosub(), handle_init_event(), handle_key_fav(), handle_message(), handle_offhook_message(), handle_request(), handle_response(), handle_response_ciev(), handle_response_cusd(), handle_response_error(), handle_response_info(), handle_response_message(), handle_response_no_carrier(), handle_response_no_dialtone(), handle_response_ok(), handle_soft_key_event_message(), handle_stimulus_message(), handle_streamfile(), handle_verbose(), iax2_ack_registry(), iax2_exec(), iax2_hangup(), iax2_prov_app(), iax_firmware_reload(), iax_provision_reload(), init_files_class(), init_phone_step2(), isAnsweringMachine(), launch_script(), leave_voicemail(), length_determination_odbc_prepare(), listener(), load_config(), load_module(), load_modules(), load_pbx(), log_events(), logger_print_normal(), lua_pbx_exec(), main(), make_silence(), meetme_menu_admin_extended(), mgcp_answer(), mgcp_hangup(), mgcp_new(), mgcp_request(), mgcp_ss(), mixmonitor_ds_close_fs(), mixmonitor_thread(), moh_post_start(), moh_post_stop(), mwi_event_cb(), my_distinctive_ring(), my_handle_dtmf(), my_load_module(), my_send_callerid(), native_rtp_bridge_start(), netconsole(), network_change_stasis_cb(), odbc_log(), onAlerting(), onCallCleared(), onCallEstablished(), onModeChanged(), onNewCallCreated(), onOutgoingCall(), onProgress(), ooh323_alloc(), ooh323_answer(), ooh323_call(), ooh323_delete_peer(), ooh323_destroy(), ooh323_digit_begin(), ooh323_digit_end(), ooh323_do_reload(), ooh323_fixup(), ooh323_get_codec(), ooh323_get_rtp_peer(), ooh323_hangup(), ooh323_indicate(), ooh323_new(), ooh323_onReceivedSetup(), ooh323_queryoption(), ooh323_request(), ooh323_rtp_read(), ooh323_set_read_format(), ooh323_set_rtp_peer(), ooh323_set_write_format(), ooh323c_set_capability(), ooh323c_set_capability_for_call(), parse_bookmark(), parse_config(), parse_register_contact(), parsing(), pbx_builtin_goto(), pbx_builtin_pushvar_helper(), pbx_builtin_setvar_helper(), pbx_builtin_waitexten(), pbx_extension_helper(), pbx_outgoing_exec(), pbx_outgoing_state_callback(), phone_hangup(), play_message_callerid(), play_record_review(), privacy_exec(), process_ast_dsp(), process_dahdi(), process_my_load_module(), process_request(), process_sdp(), purge_sessions(), push_callinfo(), queue_exec(), rcv_mac_addr(), rcv_resume_connection_with_server(), read_exec(), really_quit(), realtime_exec(), receive_ademco_event(), receive_dtmf_digits(), receivefax_exec(), refresh_all_favorite(), reg_source_db(), register_extension(), registrar_delete_contact(), reload(), reload_config(), reload_logger(), reload_module(), ring_entry(), rna(), rtp_reload(), run_agi(), run_ras(), rx_task(), say_periodic_announcement(), say_position(), scan(), scan_dir(), scan_file(), send_blink_cursor(), send_callinfo(), send_charset_update(), send_client(), send_cursor_pos(), send_cwcidspill(), send_date_time(), send_date_time2(), send_date_time3(), send_dial_tone(), send_end_call(), send_expansion_icon(), send_expansion_text(), send_favorite(), send_icon(), send_led_update(), send_month_labels(), send_mute(), send_no_ring(), send_ping(), send_raw_client(), send_retransmit(), send_ring(), send_select_output(), send_start_rtp(), send_start_timer(), send_stop_timer(), send_text(), send_text_status(), send_texttitle(), send_tone(), sendfax_exec(), session_destroy_fn(), session_do(), set_config(), setformat(), setsubstate(), setup_dahdi_int(), setup_park_common_datastore(), setup_privacy_args(), setup_rtp_connection(), setup_rtp_remote(), setup_udptl_connection(), sip_read(), sip_rtp_read(), skinny_newcall(), skinny_reload(), skinny_request(), skinny_session(), smart_bridge_operation(), smdi_load(), sms_debug(), sms_exec(), sms_handleincoming_proto2(), sms_process(), socket_process_helper(), start_automixmonitor(), start_automonitor(), start_network_thread(), start_resource(), start_rtp(), stasis_app_stored_recording_copy(), stop_automixmonitor(), stop_automonitor(), store_config(), sub_start_silence(), sub_stop_silence(), swap_subs(), talk_detect_audiohook_cb(), timeout_write(), transfer_cancel_step2(), try_load_key(), try_merge_optimize_out(), try_suggested_sip_codec(), try_swap_optimize_out(), unbound_config_apply_default(), unistim_alloc_sub(), unistim_answer(), unistim_call(), unistim_do_senddigit(), unistim_hangup(), unistim_hangup_clean(), unistim_indicate(), unistim_new(), unistim_request(), unistim_senddigit_end(), unistim_sendtext(), unistim_ss(), unistimsock_read(), unload_module(), unregister_extension(), update_registry(), verbose_exec(), vm_authenticate(), vm_change_password(), vm_execmain(), vm_greeter_warn_no_provider(), vm_warn_no_provider(), wait_for_answer(), wait_for_winner(), waitfor_exec(), waitforring_exec(), and write_metadata().

#define ast_verb_callid ( level,
callid,
...   ) 

Value:

do { \
      if (VERBOSITY_ATLEAST(level) ) { \
         __ast_verbose_callid(__FILE__, __LINE__, __PRETTY_FUNCTION__, level, callid, __VA_ARGS__); \
      } \
   } while (0)

Definition at line 399 of file logger.h.

#define ast_verbose ( ...   )     __ast_verbose(__FILE__, __LINE__, __PRETTY_FUNCTION__, -1, __VA_ARGS__)

Definition at line 133 of file logger.h.

Referenced by __ast_context_create(), __sip_destroy(), acl_change_stasis_cb(), add_codec_to_sdp(), add_noncodec_to_sdp(), add_sdp(), add_tcodec_to_sdp(), add_vcodec_to_sdp(), alsa_answer(), alsa_call(), alsa_digit(), alsa_hangup(), alsa_indicate(), alsa_text(), ast_add_extension2(), ast_agi_send(), ast_log_backtrace(), ast_readconfig(), ast_remotecontrol(), ast_rtcp_read(), ast_rtcp_write_report(), ast_rtp_dtmf_begin(), ast_rtp_dtmf_continuation(), ast_rtp_dtmf_end_with_duration(), ast_rtp_raw_write(), ast_rtp_read(), ast_rtp_sendcng(), ast_stun_handle_packet(), astman_append(), bridge_p2p_rtp_write(), can_safely_quit(), chan_misdn_log(), check_peer_ok(), check_via(), conf_run(), config_text_file_load(), console_answer(), dahdi_softhangup_all(), do_register_auth(), dundi_debug_output(), get_also_info(), get_destination(), get_rdnis(), get_refer_info(), handle_cli_misdn_send_facility(), handle_incoming(), handle_request_do(), handle_request_info(), handle_request_invite(), handle_request_message(), handle_request_refer(), handle_request_subscribe(), handle_response(), handle_transfer_button(), hook_event_cb(), iax_debug_output(), initialize_initreq(), ivr_demo_func(), jb_debug_output(), load_module(), localized_config_text_file_save(), logging_on_rx_msg(), logging_on_tx_msg(), mgcp_reload(), oss_answer(), oss_call(), oss_digit_end(), oss_hangup(), oss_indicate(), oss_text(), pbx_builtin_setvar_helper(), phone_check_exception(), phone_exception(), print_frame(), print_intro_message(), process_dtmf_rfc2833(), process_sdp(), process_sdp_a_audio(), process_sdp_a_text(), process_sdp_a_video(), receive_message(), retrans_pkt(), run_agi(), send_request(), send_response(), set_destination(), sip_auth_headers(), sip_reload(), sip_route_dump(), sip_scheddestroy(), sip_sendtext(), stun_process_attr(), timing_read(), transmit_register(), xmpp_log_hook(), and xmpp_pubsub_receive_node_list().

#define ast_verbose_callid ( callid,
...   )     __ast_verbose_callid(__FILE__, __LINE__, __PRETTY_FUNCTION__, -1, callid, __VA_ARGS__)

Definition at line 134 of file logger.h.

#define DEBUG_ATLEAST ( level   ) 

Value:

(option_debug >= (level) \
      || (ast_opt_dbg_module && (int)ast_debug_get_by_module(AST_MODULE) >= (level)))

Definition at line 372 of file logger.h.

Referenced by __print_debug_details(), and matrix_rebuild().

#define DEBUG_M ( a   ) 

Value:

{ \
   a; \
}

Definition at line 37 of file logger.h.

#define EVENTLOG   "event_log"

Definition at line 34 of file logger.h.

#define LOG_DEBUG   __LOG_DEBUG, _A_

#define LOG_DTMF   __LOG_DTMF, _A_

Definition at line 238 of file logger.h.

Referenced by __ast_read(), ast_channel_end_dtmf(), and bridge_channel_settle_owed_events().

#define LOG_ERROR   __LOG_ERROR, _A_

Examples:
/tmp/asterisk-trunk/trunk/main/app.c.

Definition at line 216 of file logger.h.

Referenced by __aco_option_register(), __adjust_lock(), __allocate_taskprocessor(), __analog_handle_event(), __analog_ss_thread(), __ao2_container_alloc_rbtree(), __ao2_global_obj_ref(), __ao2_global_obj_release(), __ao2_global_obj_replace(), __ast_codec_register(), __ast_custom_function_register(), __ast_data_register(), __ast_data_unregister(), __ast_format_interface_register(), __ast_read(), __ast_sorcery_apply_wizard_mapping(), __ast_sorcery_open(), __ast_udptl_reload(), __ast_vm_greeter_register(), __ast_vm_register(), __init_manager(), __rtp_recvfrom(), __sip_reliable_xmit(), __ssl_setup(), _macro_exec(), _pgsql_exec(), _sip_tcp_helper_thread(), access_counter_file(), acf_channel_read(), acf_curl_helper(), acf_curlopt_helper(), acf_curlopt_write(), acf_cut_exec(), acf_cut_exec2(), acf_faxopt_read(), acf_faxopt_write(), acf_iaxvar_write(), acf_jabberstatus_read(), acf_mailbox_exists(), acf_meetme_info(), acf_odbc_read(), acf_odbc_write(), acf_sort_exec(), acf_sprintf(), acf_strptime(), acf_transaction_write(), acf_vm_info(), acl_on_rx_msg(), aco_init(), aco_pending_config(), aco_process_ast_config(), aco_process_config(), aco_process_var(), aco_set_defaults(), action_getvar(), actual_load_config(), add_event_to_list(), add_exten_to_pattern_tree(), add_hints(), add_message_id(), add_priority(), add_rt_multi_cfg_entry(), add_to_agi(), add_vm_recipients_from_string(), ael2_print(), aes_helper(), alloc_expr_node(), alloc_resampler(), alsa_card_init(), alsa_read(), alsa_write(), analog_hangup(), analog_request(), analog_ss_thread(), analogsub_to_dahdisub(), answer(), anti_injection(), aoc_parse_ie(), app_control_dial(), app_exec(), app_send_end_msg(), app_to_json(), append_row_to_cfg(), apply_option_entertainment(), apply_option_timeout(), aqm_exec(), ari_originate_dial(), assign_and_insert(), ast_add_extension2_lockopt(), ast_agi_send(), ast_app_group_match_get_count(), ast_append_acl(), ast_apply_ha(), ast_ari_applications_get_cb(), ast_ari_applications_list_cb(), ast_ari_applications_subscribe_cb(), ast_ari_applications_unsubscribe_cb(), ast_ari_asterisk_get_global_var_cb(), ast_ari_asterisk_get_info_cb(), ast_ari_asterisk_set_global_var_cb(), ast_ari_bridges_add_channel_cb(), ast_ari_bridges_create_cb(), ast_ari_bridges_create_with_id_cb(), ast_ari_bridges_destroy_cb(), ast_ari_bridges_get_cb(), ast_ari_bridges_list_cb(), ast_ari_bridges_play_cb(), ast_ari_bridges_play_with_id_cb(), ast_ari_bridges_record_cb(), ast_ari_bridges_remove_channel_cb(), ast_ari_bridges_start_moh_cb(), ast_ari_bridges_stop_moh_cb(), ast_ari_channels_answer_cb(), ast_ari_channels_continue_in_dialplan_cb(), ast_ari_channels_get_cb(), ast_ari_channels_get_channel_var_cb(), ast_ari_channels_hangup_cb(), ast_ari_channels_hold_cb(), ast_ari_channels_list_cb(), ast_ari_channels_mute_cb(), ast_ari_channels_originate_cb(), ast_ari_channels_originate_with_id_cb(), ast_ari_channels_play_cb(), ast_ari_channels_play_with_id_cb(), ast_ari_channels_record_cb(), ast_ari_channels_redirect_cb(), ast_ari_channels_ring_cb(), ast_ari_channels_ring_stop_cb(), ast_ari_channels_send_dtmf_cb(), ast_ari_channels_set_channel_var_cb(), ast_ari_channels_snoop_channel_cb(), ast_ari_channels_snoop_channel_with_id_cb(), ast_ari_channels_start_moh_cb(), ast_ari_channels_start_silence_cb(), ast_ari_channels_stop_moh_cb(), ast_ari_channels_stop_silence_cb(), ast_ari_channels_unhold_cb(), ast_ari_channels_unmute_cb(), ast_ari_config_get(), ast_ari_device_states_delete_cb(), ast_ari_device_states_get_cb(), ast_ari_device_states_list_cb(), ast_ari_device_states_update_cb(), ast_ari_endpoints_get_cb(), ast_ari_endpoints_list_by_tech_cb(), ast_ari_endpoints_list_cb(), ast_ari_endpoints_send_message_cb(), ast_ari_endpoints_send_message_to_endpoint_cb(), ast_ari_events_event_websocket_ws_cb(), ast_ari_events_user_event_cb(), ast_ari_get_docs(), ast_ari_invoke(), ast_ari_mailboxes_delete_cb(), ast_ari_mailboxes_get_cb(), ast_ari_mailboxes_list_cb(), ast_ari_mailboxes_update_cb(), ast_ari_playbacks_control_cb(), ast_ari_playbacks_get_cb(), ast_ari_playbacks_stop_cb(), ast_ari_recordings_cancel_cb(), ast_ari_recordings_copy_stored_cb(), ast_ari_recordings_delete_stored_cb(), ast_ari_recordings_get_live_cb(), ast_ari_recordings_get_stored_cb(), ast_ari_recordings_list_stored_cb(), ast_ari_recordings_mute_cb(), ast_ari_recordings_pause_cb(), ast_ari_recordings_stop_cb(), ast_ari_recordings_unmute_cb(), ast_ari_recordings_unpause_cb(), ast_ari_sounds_get_cb(), ast_ari_sounds_list_cb(), ast_ari_validate_application(), ast_ari_validate_application_replaced(), ast_ari_validate_asterisk_info(), ast_ari_validate_boolean(), ast_ari_validate_bridge(), ast_ari_validate_bridge_attended_transfer(), ast_ari_validate_bridge_blind_transfer(), ast_ari_validate_bridge_created(), ast_ari_validate_bridge_destroyed(), ast_ari_validate_bridge_merged(), ast_ari_validate_build_info(), ast_ari_validate_caller_id(), ast_ari_validate_channel(), ast_ari_validate_channel_caller_id(), ast_ari_validate_channel_connected_line(), ast_ari_validate_channel_created(), ast_ari_validate_channel_destroyed(), ast_ari_validate_channel_dialplan(), ast_ari_validate_channel_dtmf_received(), ast_ari_validate_channel_entered_bridge(), ast_ari_validate_channel_hangup_request(), ast_ari_validate_channel_hold(), ast_ari_validate_channel_left_bridge(), ast_ari_validate_channel_state_change(), ast_ari_validate_channel_talking_finished(), ast_ari_validate_channel_talking_started(), ast_ari_validate_channel_unhold(), ast_ari_validate_channel_userevent(), ast_ari_validate_channel_varset(), ast_ari_validate_config_info(), ast_ari_validate_date(), ast_ari_validate_device_state(), ast_ari_validate_device_state_changed(), ast_ari_validate_dial(), ast_ari_validate_dialed(), ast_ari_validate_dialplan_cep(), ast_ari_validate_endpoint(), ast_ari_validate_endpoint_state_change(), ast_ari_validate_event(), ast_ari_validate_format_lang_pair(), ast_ari_validate_list(), ast_ari_validate_live_recording(), ast_ari_validate_mailbox(), ast_ari_validate_message(), ast_ari_validate_missing_params(), ast_ari_validate_playback(), ast_ari_validate_playback_finished(), ast_ari_validate_playback_started(), ast_ari_validate_recording_failed(), ast_ari_validate_recording_finished(), ast_ari_validate_recording_started(), ast_ari_validate_set_id(), ast_ari_validate_sound(), ast_ari_validate_stasis_end(), ast_ari_validate_stasis_start(), ast_ari_validate_status_info(), ast_ari_validate_stored_recording(), ast_ari_validate_system_info(), ast_ari_validate_text_message(), ast_ari_validate_text_message_received(), ast_ari_validate_text_message_variable(), ast_ari_validate_variable(), ast_ari_websocket_session_create(), ast_ari_websocket_session_write(), ast_bridge_channel_queue_frame(), ast_bridge_depart(), ast_bridge_features_ds_set_string(), ast_bridge_features_set_limits(), ast_bridge_transfer_attended(), ast_bridge_transfer_blind(), ast_bucket_init(), ast_callid_threadassoc_add(), ast_callid_threadassoc_change(), ast_callid_threadassoc_remove(), ast_careful_fwrite(), ast_carefulwrite(), ast_cdr_engine_init(), ast_cdr_serialize_variables(), ast_cdr_setvar(), ast_cel_fill_record(), ast_cel_str_to_event_type(), ast_channel_by_exten_cb(), ast_channel_by_name_cb(), ast_channel_by_uniqueid_cb(), ast_channel_cmp_cb(), ast_channel_get_manager_vars(), ast_channel_internal_alert_read(), ast_channel_publish_varset(), ast_channel_queryoption(), ast_channel_setoption(), ast_channel_start_silence_generator(), ast_channel_stop_silence_generator(), ast_clear_mixmonitor_methods(), ast_config_text_file_save2(), ast_context_find_or_create(), ast_context_remove_extension_callerid2(), ast_data_get(), ast_data_retrieve(), ast_device_state_engine_init(), ast_dns_resolve_async(), ast_dns_resolver_register(), ast_endpoint_create(), ast_event_get_ie_pltype(), ast_event_get_ie_type_name(), ast_event_get_type_name(), ast_framehook_attach(), ast_func_read(), ast_func_read2(), ast_func_write(), ast_get_encoded_char(), ast_get_group(), ast_heap_create(), ast_http_header_match(), ast_http_header_match_in(), ast_http_response_status_line(), ast_http_send(), ast_iax2_new(), ast_jb_put(), ast_json_free(), ast_json_vpack(), ast_local_init(), ast_lock_path_lockfile(), ast_monitor_change_fname(), ast_msg_handler_register(), ast_msg_handler_unregister(), ast_msg_send(), ast_msg_tech_register(), ast_msg_tech_unregister(), ast_named_acl_find(), ast_netsock_bindaddr(), ast_odbc_find_table(), ast_ouraddrfor(), ast_pbx_outgoing_exten(), ast_phoneprov_add_extension(), ast_phoneprov_provider_register(), ast_pickup_call(), ast_playtones_start(), ast_readconfig(), ast_remotecontrol(), ast_res_pjsip_initialize_configuration(), ast_rtcp_write_report(), ast_rtp_dtmf_begin(), ast_rtp_dtmf_continuation(), ast_rtp_dtmf_end_with_duration(), ast_rtp_instance_make_compatible(), ast_rtp_instance_new(), ast_rtp_new(), ast_rtp_sendcng(), ast_rtp_write(), ast_safe_fork(), ast_sched_start_thread(), ast_sdp_crypto_alloc(), ast_sdp_crypto_build_offer(), ast_security_event_report(), ast_set_mixmonitor_methods(), ast_sip_cli_traverse_objects(), ast_sip_create_dialog_uac(), ast_sip_create_dialog_uas(), ast_sip_initialize_cli(), ast_sip_initialize_sorcery_auth(), ast_sip_initialize_sorcery_location(), ast_sip_initialize_sorcery_qualify(), ast_sip_initialize_sorcery_transport(), ast_sip_initialize_system(), ast_sip_register_endpoint_identifier_with_name(), ast_sip_register_event_publisher_handler(), ast_sip_register_publish_handler(), ast_sip_register_subscription_handler(), ast_sip_session_refresh(), ast_sockaddr_hash(), ast_sockaddr_parse(), ast_sockaddr_resolve(), ast_sockaddr_stringify_fmt(), ast_sorcery_object_fields_register(), ast_srtp_policy_alloc(), ast_srtp_unprotect(), ast_start_mixmonitor(), ast_stop_mixmonitor(), ast_str_substitute_variables_full(), ast_taskprocessor_get(), ast_taskprocessor_name(), ast_tcptls_client_create(), ast_tcptls_client_start(), ast_tcptls_close_session_file(), ast_tcptls_server_read(), ast_tcptls_server_root(), ast_tcptls_server_start(), ast_tcptls_server_write(), AST_TEST_DEFINE(), ast_thread_inhibit_escalations(), ast_tls_read_conf(), ast_tps_init(), ast_translator_best_choice(), ast_udptl_new_with_bindaddr(), ast_unlock_path_lockfile(), ast_unreal_setoption(), ast_uri_create_(), ast_websocket_read_string(), asterisk_publication_devicestate_refresh(), asterisk_publication_mwi_refresh(), astobj2_init(), attended_transfer_monitor_thread(), attended_transfer_properties_alloc(), auth_apply(), auth_create(), auth_observer(), authenticate_reply(), authenticate_verify(), begin_dial_prerun(), bridge_agent_hold_deferred_create(), bridge_alloc(), bridge_builtin_set_limits(), bridge_channel_feature_digit_timeout(), bridge_moh_create(), bridge_stasis_push(), bridge_stasis_push_peek(), bridge_stasis_run_cb(), bridge_topics_init(), bridgewait_exec(), build_calendar(), build_callno_limits(), build_cc_interfaces_chanvar(), build_channels(), build_device(), build_dtmf_features(), build_extension(), build_peer(), build_regex(), build_route(), builtin_features_helper(), cache_test_aggregate_calc_fn(), caching_topic_exec(), caldav_add_event(), caldav_get_events_between(), caldav_load_calendar(), caldav_request(), caldav_write_event(), calendar_event_notify(), calendar_join_attendees(), calendar_query_exec(), calendar_write_exec(), call_pickup_incoming_request(), callerid_feed(), callerid_feed_jp(), callerid_read(), callerid_write(), canmatch(), cb_events(), cdata(), cdr_enable_batch_mode(), cdr_handler(), cel_generic_cb(), cel_linkedid_ref(), cel_pre_apply_config(), chan_pjsip_cng_tone_detected(), chan_pjsip_incoming_request(), chan_pjsip_new(), channel_replaced_cb(), channel_stolen_cb(), chanspy_exec(), check_break(), check_continue(), check_event_type(), check_goto(), check_label(), check_pval_item(), check_range(), check_retire_linkedid(), check_srcaddr(), check_type(), check_user_full(), check_vars(), cleanup_module(), cli_display_named_acl(), cli_fax_show_session(), close_mansession_file(), close_rtp_connection(), close_udptl_connection(), comeback_goto(), complete_dialplan_add_ignorepat(), complete_dialplan_add_include(), complete_dialplan_remove_extension(), complete_dialplan_remove_include(), conf_exec(), conf_invalid_event_fn(), config_curl(), config_device(), config_function_read(), config_handler(), config_ldap(), config_load(), config_module(), config_text_file_load(), configure_local_rtp(), configure_parking_extensions(), connectedline_read(), connectedline_write(), console_request(), contact_deleted(), contact_expiration_observer_created(), contact_status_alloc(), context_merge(), control_add_channel_to_bridge(), control_create(), control_wait(), copy_rules(), copy_to_voicemail(), count_lines(), create_artificial_auth(), create_dynamic_lot_full(), create_jb(), create_match_char_tree(), create_object(), create_out_of_dialog_request(), create_outgoing_sdp_stream(), create_rtp(), create_vmaccount(), csv_log(), csv_quote(), custom_connection_handler(), custom_log(), dahdi_call(), dahdi_create_channel_range(), dahdi_decoder_framein(), dahdi_decoder_frameout(), dahdi_encoder_framein(), dahdi_encoder_frameout(), dahdi_sendtext(), dahdi_status_data_provider_get(), dahdi_test_timer(), dahdi_timer_open(), dahdi_timer_set_rate(), dahdi_translate(), dahdi_version_data_provider_get(), dahdi_write_frame(), dahdiscan_exec(), data_channels_provider_handler(), data_result_generate(), data_result_generate_node(), data_search_generate(), data_structure_compatible(), db_open(), default_listener_pvt_alloc(), default_listener_shutdown(), default_task_pushed(), default_tps_processing_function(), destroy_curl(), determine_starting_point(), device2chan(), devstate_init(), devstate_write(), dial_exec_full(), dialgroup_write(), dialog_initialize_dtls_srtp(), directory_exec(), disable_t38(), dispatch_message(), dispatch_thread_handler(), dns_naptr_alloc(), dns_srv_alloc(), dnsmgr_init(), do_magic_pickup(), do_message(), do_monitor(), do_monitor_headset(), do_notify(), do_reload(), do_say(), do_sco_listen(), does_category_match(), dtmf_info_incoming_request(), dundi_query_read(), dundi_result_read(), duplicate_pseudo(), eagi_exec(), eivr_comm(), enable_jack_hook(), encode_open_type(), endelm(), endpt_send_request(), enum_query_read(), enum_result_read(), ewscal_load_calendar(), exchangecal_get_events_between(), exchangecal_load_calendar(), exchangecal_request(), exchangecal_write_event(), exec(), execif_exec(), exists(), extension_is_compatible(), extension_matches(), extenspy_exec(), fax_detect_attach(), fax_gateway_detect_t38(), fax_gateway_framehook(), fax_gateway_new(), fax_gateway_request_t38(), fax_gateway_start(), fax_rate_str_to_int(), fax_session_new(), fax_session_reserve(), feature_attended_transfer(), festival_exec(), fetch_icalendar(), file2format(), file_read(), file_write(), filter(), find_conf(), find_dialog(), find_matching_endwhile(), find_option_cb(), find_or_create_contact_status(), find_pval_goto_item(), find_table(), find_transaction(), find_transcoders(), findmeexec(), forward_message(), func_channel_write_real(), func_confbridge_info(), func_read_header(), func_write_header(), function_amiclient(), function_fieldnum_helper(), function_ooh323_read(), function_ooh323_write(), generic_fax_exec(), get_agi_cmd(), get_auth_header(), get_defaults(), get_destination(), get_ewscal_ids_for(), get_input(), get_languages(), get_lock(), get_member_penalty(), get_name_and_number(), get_pattern_node(), global_loaded_observer(), gosub_exec(), gosub_run(), grab_transfer(), grow(), handle_auth(), handle_call_outgoing(), handle_call_token(), handle_gosub(), handle_identify(), handle_incoming(), handle_input(), handle_invite_replaces(), handle_jack_audio(), handle_local_optimization_begin(), handle_open_receive_channel_ack_message(), handle_options(), handle_phoneprov(), handle_registrations(), handle_request_info(), handle_request_invite(), handle_request_invite_st(), handle_response_ciev(), handle_response_clip(), handle_response_cmgr(), handle_tcptls_connection(), hash_ao2_destroy(), hash_ao2_node_destructor(), holding_bridge_join(), hook_event_cb(), http_post_callback(), iax2_dup_variable_datastore(), iax2_hangup(), iax_frame_wrap(), iax_provision_version(), ical_load_calendar(), icalendar_add_event(), icalendar_update_events(), iconv_read(), ident_handler(), init_acf_query(), init_jack_data(), init_logger(), init_start_time(), init_timing_thread(), internal_aco_type_find(), internal_ao2_link(), INTERNAL_OBJ(), ip_identify_match_handler(), isexten_function_read(), jack_hook_callback(), jack_hook_write(), jb_error_output(), jb_get_and_deliver(), jingle_add_google_candidates_to_transport(), jingle_add_ice_udp_candidates_to_transport(), jingle_interpret_content(), jingle_interpret_description(), jingle_interpret_google_transport(), jingle_interpret_ice_udp_transport(), jingle_request(), jingle_send_error_response(), jingle_send_response(), jingle_send_session_action(), jingle_send_session_info(), jingle_send_session_terminate(), jingle_send_transport_info(), join_conference_bridge(), keepalive_global_loaded(), keepalive_transport_thread(), key_main_page(), kqueue_timer_ack(), kqueue_timer_disable_continuous(), kqueue_timer_enable_continuous(), kqueue_timer_open(), kqueue_timer_set_rate(), launch_asyncagi(), ldap_loadentry(), ldap_reconnect(), leave_voicemail(), link_option_to_types(), lintoulaw(), listener(), listfilter(), load_column_config(), load_common(), load_config(), load_config_meetme(), load_endpoint(), load_module(), load_odbc_config(), load_or_reload_lua_stuff(), load_pbx(), load_resource_list(), load_values_config(), local_alloc(), local_write(), log_exec(), logger_queue_init(), logger_queue_restart(), lookup_iface(), lua_find_extension(), lua_get_state(), main(), manager_fax_sessions_entry(), manager_log(), manager_parking_lot_list(), manager_parking_status_all_lots(), matchmore(), mbl_call(), mbl_load_adapter(), mbl_load_config(), mbl_load_device(), mbl_sendsms_exec(), media_index_update(), message_template_build(), message_template_parse_filebody(), mgcp_new(), mgcp_senddigit_begin(), mgcp_senddigit_end(), mgcp_ss(), minivm_accmess_exec(), minivm_account_func_read(), minivm_counter_func_read(), minivm_counter_func_write(), minivm_delete_exec(), minivm_greet_exec(), minivm_mwi_exec(), minivm_notify_exec(), minivm_record_exec(), misdn_new(), misdn_request(), mixmonitor_save_prep(), mixmonitor_thread(), mkintf(), mkstemp_file(), modify_mysql(), monmp3thread(), mp3_rewrite(), mp3_trunc(), mp3_write(), msg_create_from_file(), msg_data_func_read(), msg_func_read(), msg_send(), mssql_connect(), multicast_rtp_request(), multicast_rtp_write(), mute_fragment(), mwi_sorcery_init(), mwi_unsub_event_cb(), my_dial_digits(), my_dsp_set_digitmode(), my_load_module(), my_start_cid_detect(), my_wink(), mysql_log(), mysql_reconnect(), named_acl_find_realtime(), netconsole(), newpvt(), notify_contact(), notify_uri(), object_type_loaded_observer(), odbc_load_module(), odbc_log(), ogg_vorbis_open(), ogg_vorbis_rewrite(), ogg_vorbis_write(), onAlerting(), onCallEstablished(), onModeChanged(), onNewCallCreated(), onOutgoingCall(), onProgress(), ooh323_alloc(), ooh323_call(), ooh323_digit_begin(), ooh323_digit_end(), ooh323_indicate(), ooh323_onReceivedDigit(), ooh323_onReceivedSetup(), ooh323_queryoption(), ooh323_request(), ooh323_set_read_format(), ooh323_set_rtp_peer(), ooh323_set_write_format(), ooh323c_start_call_thread(), ooh323c_start_receive_channel(), ooh323c_start_stack_thread(), ooh323c_start_transmit_channel(), op_func(), open_stream(), options_incoming_request(), originate_exec(), osp_auth(), osp_check_destination(), osp_create_callid(), osp_create_provider(), osp_create_transaction(), osp_create_uuid(), osp_load(), osp_lookup(), osp_next(), osp_uuid2str(), osp_validate_token(), page_exec(), park_and_announce_app_exec(), park_common_setup(), parked_call_app_exec(), parked_call_message_response(), parking_duration_callback(), parking_lot_build_or_update(), parking_lot_cfg_create_extensions(), parking_park_bridge_channel(), parking_set_duration(), parse_busy_pattern(), parse_config(), parse_gain_value(), parse_tag(), parse_tone_uri(), parse_via(), party_id_write(), party_name_write(), party_number_write(), pbx_builtin_serialize_variables(), pbx_load_config(), pbx_load_module(), pbx_load_users(), pbx_outgoing_exec(), pbx_substitute_variables_helper_full(), peek_read(), peer_iphash_cb(), peercnt_add(), permanent_uri_handler(), pgsql_log(), pgsql_reconnect(), phone_request(), phoneprov_alloc(), phoneprov_callback(), pitchshift_helper(), pjsip_acf_channel_read(), play_on_channel(), play_on_channel_in_bridge(), policy_set_suite(), pre_bridge_setup(), prep_email_sub_vars(), process_category(), process_config(), process_dahdi(), process_description_file(), process_message_callback(), process_my_load_module(), process_sdp(), process_text_line(), process_via(), pthread_timer_set_rate(), publish_acl_change(), publish_transfer_fail(), publish_transfer_success(), publish_transfer_threeway(), pvalCheckType(), pvalGlobalsAddStatement(), pvalTopLevAddObject(), qualify_contact(), qualify_contact_cb(), queue_function_exists(), queue_function_mem_read(), queue_function_mem_write(), queue_function_memberpenalty_read(), queue_function_memberpenalty_write(), queue_function_qac_dep(), queue_function_queuegetchannel(), queue_function_queuememberlist(), queue_function_queuewaitingcount(), queue_function_var(), queue_reload_request(), queue_voice_frame(), quote(), radius_log(), rb_ao2_destroy(), rb_ao2_node_destructor(), rcv_mac_addr(), rcvfax_exec(), read_config_maps(), realtime_curl(), realtime_directory(), realtime_ldap_base_ap(), realtime_multi_curl(), realtime_multi_ldap(), realtime_multi_pgsql(), realtime_odbc(), realtime_pgsql(), realtime_update2_handler(), receivefax_exec(), receivefax_t38_init(), record_file(), redirect_handler(), redirecting_read(), redirecting_write(), refer_incoming_attended_request(), refer_incoming_blind_request(), regex(), register_channel_tech(), register_service_noref(), register_verify(), reload(), reload_config(), reload_followme(), reload_module(), reload_queue_members(), reload_queue_rules(), reload_queues(), reload_single_member(), remove_by_peercallno(), remove_by_transfercallno(), replace(), replace_callno(), request(), require_curl(), require_mysql(), require_pgsql(), res_srtp_new(), restart_monitor(), restart_pktc_thread(), retransfer_enter(), retrydial_exec(), return_exec(), rfcomm_read_cmgr(), rfcomm_read_result(), rfcomm_read_sms_prompt(), rx_task(), say_init_mode(), sched_data_create(), schedule_qualify(), sco_accept(), sco_bind(), send_device_state(), send_ews_request_and_parse(), send_expansion_text(), send_options_response(), send_request_cb(), send_response(), send_start_msg_snapshots(), send_text(), sendfax_exec(), sendfax_t38_init(), session_do(), set_active(), set_caps(), set_config(), set_fax_t38_caps(), set_format(), set_member_value(), set_member_value_help_members(), set_outbound_authentication_credentials(), set_t38timeout(), setup_dahdi_int(), setup_dtls_srtp(), setup_mixmonitor_ds(), setup_rtp_connection(), setup_rtp_remote(), setup_udptl_connection(), sha1(), shared_read(), shared_write(), signal_pipe(), sip_acf_channel_read(), sip_check_authtimeout(), sip_endpoint_apply_handler(), sip_get_tpselector_from_endpoint(), sip_indicate(), sip_msg_send(), sip_new(), sip_outbound_publish_apply(), sip_outbound_publish_callback(), sip_outbound_publish_client_alloc(), sip_outbound_publish_synchronize(), sip_outbound_registration_apply(), sip_outbound_registration_regc_alloc(), sip_queryoption(), sip_register(), sip_reload(), sip_request_call(), sip_route_process_header(), sip_setoption(), sip_sipredirect(), sip_st_alloc(), sip_subscription_send_request(), sip_tcptls_write(), sip_thread_start(), sip_threadinfo_create(), skinny_session(), sla_add_trunk_to_station(), sla_build_station(), sla_build_trunk(), sla_load_config(), sla_queue_event_conf(), sla_state(), sla_trunk_exec(), smdi_load(), smdi_msg_read(), smdi_msg_retrieve_read(), smdi_read(), smdi_toggle_mwi(), sms_exec(), sndfax_exec(), socket_process_helper(), softmix_bridge_write(), softmix_mixing_loop(), sorcery_config_internal_load(), sorcery_config_open(), sorcery_wizard_create(), soundcard_init(), span_message(), spandsp_fax_new(), spandsp_fax_read(), spandsp_fax_start(), spandsp_log(), speex_read(), speex_write(), sqlite_log(), srv_result_read(), stackpeek_read(), start_monitor_exec(), start_network_thread(), start_poll_thread(), start_session_timer(), start_stream(), startelm(), stasis_app_device_state_delete(), stasis_app_device_state_update(), stasis_app_exec(), stasis_app_playback_operation(), stasis_app_recording_operation(), stasis_app_subscribe_channel(), stasis_app_unregister(), stasis_app_user_event(), stasis_caching_unsubscribe(), stasis_init(), stasis_log_bad_type_access(), stasis_message_sink_should_stay(), stasis_message_sink_wait_for(), stasis_message_sink_wait_for_count(), stasis_start_to_json(), stasis_unsubscribe(), stimulate_attended_transfer(), store_by_peercallno(), store_by_transfercallno(), store_curl(), strreplace(), stun_monitor_request(), stun_start_monitor(), subscribe_device_state(), sysinfo_helper(), system_create_resolver_and_set_nameservers(), t38_attach_framehook(), taskprocessor_push(), tcptls_stream_close(), tdd_feed(), tds_error_handler(), tds_load_module(), tds_log(), test_config_validity(), test_law_cmp(), thread_inhibits_escalations(), timeout_read(), timeout_write(), timerfd_timer_ack(), timerfd_timer_open(), timing_read(), tos_handler(), tps_task_alloc(), tps_task_alloc_local(), tps_taskprocessor_destroy(), transmit(), transmit_audio(), transmit_info_dtmf(), transmit_info_with_vidupdate(), transmit_response_using_temp(), transmit_response_with_sdp(), transmit_response_with_t38_sdp(), transmit_t38(), transport_apply(), transport_cipher_add(), transport_create(), transport_tls_cipher_handler(), transport_tos_handler(), try_calling(), unbound_config_apply_default(), unbound_config_preapply(), unbound_resolver_resolve(), unicast_rtp_request(), unistim_call(), unistim_set_rtp_peer(), unload_module(), unsignal_pipe(), update2_curl(), update2_ldap(), update2_mysql(), update2_pgsql(), update2_prepare(), update_call_counter(), update_contact_status(), update_curl(), update_ldap(), update_mysql(), update_pgsql(), uri_parse_and_default(), users_apply_handler(), users_data_provider_get(), ustmtext(), variable_list_append(), verify_user_event_fields(), volume_write(), wait_for_output(), websocket_cb(), websocket_client_args_create(), websocket_client_create(), websocket_client_create_key(), websocket_client_handle_response_code(), websocket_client_handshake(), websocket_client_handshake_get_response(), write_cdr(), write_cel(), write_password_to_file(), writefile(), ws_safe_read(), xmpp_action_hook(), xmpp_client_alloc(), xmpp_client_authenticate_digest(), xmpp_client_authenticate_sasl(), xmpp_client_authenticating(), xmpp_client_config_post_apply(), xmpp_client_reconnect(), xmpp_client_request_tls(), xmpp_client_requested_tls(), xmpp_client_service_discovery_get_hook(), xmpp_client_set_presence(), xmpp_client_thread(), xmpp_component_authenticate(), xmpp_component_authenticating(), xmpp_component_register_get_hook(), xmpp_component_register_set_hook(), xmpp_component_service_discovery_get_hook(), xmpp_component_service_discovery_items_hook(), xmpp_config_prelink(), xmpp_connect_hook(), xmpp_join_exec(), xmpp_leave_exec(), xmpp_pak_presence(), xmpp_pak_s10n(), xmpp_pubsub_create_affiliations(), xmpp_pubsub_handle_error(), xmpp_pubsub_handle_event(), xmpp_pubsub_request_nodes(), xmpp_pubsub_subscribe(), xmpp_pubsub_unsubscribe(), xmpp_roster_hook(), xmpp_send_cb(), xmpp_sendgroup_exec(), xmpp_status_exec(), and yyerror().

#define LOG_NOTICE   __LOG_NOTICE, _A_

Examples:
/tmp/asterisk-trunk/trunk/main/app.c.

Definition at line 194 of file logger.h.

Referenced by __analog_handle_event(), __ast_request_and_dial(), __ast_udptl_reload(), __auto_congest(), __iax2_poke_noanswer(), __init_manager(), _extension_match_core(), _pgsql_exec(), accept_thread(), acf_jabberreceive_read(), acf_jabberstatus_read(), acf_meetme_info(), acl_change_stasis_cb(), aco_option_find(), action_hangup(), add_in_calls(), add_out_calls(), admin_exec(), adsi_prog(), agents_sweep(), alsa_request(), alsa_write(), amihook_helper(), analog_handle_init_event(), analog_publish_channel_alarm_clear(), analog_ss_thread(), app_control_redirect(), apply_outgoing(), aqm_exec(), ast_alaw_init(), ast_app_dtget(), ast_app_group_match_get_count(), ast_append_ha(), ast_apply_acl(), ast_ari_websocket_session_write(), ast_call_forward(), ast_cel_engine_init(), ast_channel_log(), ast_cli_perms_init(), ast_context_remove_extension_callerid2(), ast_decrypt_bin(), ast_encrypt_bin(), ast_io_remove(), ast_named_acl_find(), ast_pickup_call(), ast_process_pending_reloads(), ast_queue_cc_frame(), ast_rtp_new(), ast_rtp_read(), ast_sdp_crypto_process(), ast_sip_ouraddrfor(), ast_sip_retrieve_auths(), ast_syslog_priority_from_loglevel(), ast_udptl_write(), ast_ulaw_init(), attempt_thread(), auth_http_callback(), authenticate(), authenticate_reply(), authenticate_verify(), build_ami_notify(), build_peer(), callerid_feed(), callerid_feed_jp(), cb_events(), cdr_enable_batch_mode(), cdr_toggle_runtime_options(), chan_pjsip_cng_tone_detected(), chan_pjsip_indicate(), channel_admin_exec(), chanspy_exec(), check_auth(), check_key(), check_rtp_timeout(), check_user_full(), compose_func_args(), config_device(), config_line(), config_load(), config_module(), config_odbc(), connected_line_method_handler(), console_request(), console_video_start(), control_tone_frame_response(), copy_header(), copy_via_headers(), cpg_deliver_cb(), create_dynamic_lot_full(), crement_function_read(), crypto_load(), dahdi_handle_dtmf(), dahdi_handle_event(), dahdi_setoption(), db_open(), destroy_trans(), dial_exec_full(), direct_media_glare_mitigation_handler(), direct_media_method_handler(), dispatch_thread_handler(), dll_tests(), dnsmgr_refresh(), do_autokill(), do_forward(), do_message_auth(), do_monitor(), do_register(), do_reload(), dump_queue(), dundi_encrypt(), dundi_exec(), dundi_helper(), dundi_precache_full(), dundi_precache_internal(), dundi_prop_precache(), dundi_rexmit(), dundi_send(), eivr_comm(), extenspy_exec(), fax_detect_framehook(), ffmpeg_decode(), find_account(), find_subchannel_and_lock(), find_subchannel_by_name(), finish_bookmark(), forward_message(), func_inheritance_write(), generate_parked_user(), get_canmatch_exten(), gosub_run(), group_count_function_read(), handle_call_outgoing(), handle_cli_indication_add(), handle_command_response(), handle_gosub(), handle_incoming(), handle_init_event(), handle_message(), handle_missing_column(), handle_options(), handle_playtones(), handle_request(), handle_request_bye(), handle_request_invite(), handle_request_notify(), handle_request_options(), handle_request_publish(), handle_request_refer(), handle_request_register(), handle_request_subscribe(), handle_response(), handle_response_invite(), handle_response_notify(), handle_response_peerpoke(), handle_response_publish(), handle_response_refer(), handle_response_register(), handle_response_subscribe(), handle_response_update(), iax2_canmatch(), iax2_exec(), iax2_exists(), iax2_matchmore(), iax2_poke_peer(), iax2_prov_app(), iax2_send(), iax_provision_reload(), import_ch(), ivr_dispatch(), jingle_action_hook(), jingle_indicate(), join_queue(), keepalive_global_loaded(), ldap_loadentry(), load_config(), load_config_meetme(), load_module(), load_modules(), load_odbc_config(), load_or_reload_lua_stuff(), load_realtime_rules(), local_ast_moh_start(), local_call(), log_jack_status(), log_unidentified_request(), manager_isdn_handler(), mbl_load_config(), measurenoise(), meetmemute(), message_template_parse_emailbody(), mgcp_call(), mgcp_fixup(), mgcp_request(), mgcp_rtp_read(), mgcpsock_read(), misdn_hangup(), mixmonitor_exec(), mkintf(), monmp3thread(), mpeg4_decode(), msg_create_from_file(), mssql_connect(), mwi_new_subscribe(), mwi_thread(), mwi_validate_for_aor(), my_handle_dtmf(), my_handle_notify_message(), nbs_request(), new_find_extension(), new_invite(), new_subscribe(), notify_daemon(), odbc_obj_connect(), onModeChanged(), ooh323_convertAsteriskCapToH323Cap(), ooh323_request(), ooh323_rtp_read(), open_mailbox(), originate_exec(), oss_request(), parking_park_bridge_channel(), parse_bookmark(), parse_config(), parse_data(), parse_moved_contact(), parse_register_contact(), parsing(), pbx_extension_helper(), pbx_find_extension(), pbx_live_dangerously(), pbx_load_module(), pbx_substitute_variables_helper_full(), pgsql_exec(), pgsql_log(), phone_request(), pickup_by_exten(), pickup_by_group(), pickup_exec(), pickupchan_exec(), playback_final_update(), playback_first_update(), print_list(), print_list_backwards(), process_ast_dsp(), process_cn_rfc3389(), process_config(), process_cors_request(), process_dahdi(), process_sdp(), publish_channel_alarm_clear(), publish_span_alarm_clear(), publish_to_corosync(), purge_old_messages(), queue_function_qac_dep(), queue_multi_channel_to_ami(), read_password_from_file(), realtime_exec(), receive_message(), reg_source_db(), register_realtime_peers_with_callbackextens(), register_verify(), registry_rerequest(), reload(), reload_config(), reload_module(), reload_queue_members(), reload_queue_rules(), reload_queues(), rqm_exec(), scan_service(), send_unsolicited_mwi_notify(), set_caps(), set_config(), set_ulimit(), setup_dahdi_int(), setup_privacy_args(), sip_dump_history(), sip_msg_send(), sip_outbound_publish_callback(), sip_parse_host(), sip_parse_register_line(), sip_poke_noanswer(), sip_poke_peer(), sip_read(), sip_reg_timeout(), sip_request_call(), sip_reregister(), sipsock_read(), skinny_fixup(), skinny_indicate(), skinny_request(), skinny_session(), skinny_session_cleanup(), sla_station_exec(), smdi_load(), smoother_frame_feed(), sms_messagerx2(), sms_process(), sms_readfile(), sms_writefile(), socket_process_helper(), softmix_mixing_array_grow(), softmix_mixing_array_init(), sorcery_config_internal_load(), sorcery_object_load(), srv_datastore_setup(), start_spying(), stasis_init(), stasis_message_type_declined(), stun_monitor_request(), stun_start_monitor(), stun_stop_monitor(), system_exec_helper(), tdd_feed(), tds_load_module(), tds_log(), tds_message_handler(), test_state_changed(), testclient_exec(), testserver_exec(), timed_read(), transmit_refer(), transmit_register(), try_calling(), try_load_key(), udptl_pre_apply_config(), unistim_indicate(), unistim_request(), unistimsock_read(), unload_module(), update2_pgsql(), update2_prepare(), update_call_counter(), update_key(), update_pgsql(), update_registry(), update_scoreboard(), vars_to_headers(), wait_for_answer(), wait_for_winner(), waituntil_exec(), and xmpp_status_exec().

#define LOG_VERBOSE   __LOG_VERBOSE, _A_

#define LOG_WARNING   __LOG_WARNING, _A_

Examples:
/tmp/asterisk-trunk/trunk/main/app.c.

Definition at line 205 of file logger.h.

Referenced by __adsi_transmit_messages(), __allocate_taskprocessor(), __analog_handle_event(), __analog_ss_thread(), __ast_answer(), __ast_bridge_technology_register(), __ast_channel_alloc_ap(), __ast_cli_register(), __ast_cli_unregister(), __ast_context_create(), __ast_dsp_call_progress(), __ast_format_def_register(), __ast_http_load(), __ast_pbx_run(), __ast_play_and_record(), __ast_queue_frame(), __ast_read(), __ast_register_translator(), __ast_smoother_feed(), __ast_sorcery_wizard_register(), __ast_string_field_init(), __ast_vm_greeter_register(), __ast_vm_register(), __attempt_transmit(), __dahdi_exception(), __find_callno(), __init_manager(), __mgcp_xmit(), __rtp_recvfrom(), __set_address_from_contact(), __sip_autodestruct(), __sip_pretend_ack(), __sip_xmit(), __ssl_setup(), __transmit_response(), __unload_module(), _analog_get_index(), _ast_odbc_request_obj2(), _dahdi_get_index(), _dsp_init(), _enum_array_map(), _extension_match_core(), _macro_exec(), _moh_register(), _sip_tcp_helper_thread(), _while_exec(), accept_thread(), acf_cc_read(), acf_cc_write(), acf_curl_helper(), acf_faxopt_read(), acf_faxopt_write(), acf_fetch(), acf_iaxvar_read(), acf_iaxvar_write(), acf_if(), acf_isexten_exec(), acf_jabberreceive_read(), acf_jabberstatus_read(), acf_odbc_read(), acf_odbc_write(), acf_strftime(), acf_strptime(), acf_transaction_write(), ack_trans(), aco_process_var(), action_command(), action_kick_last(), action_playback(), action_playback_and_continue(), activate_thread(), add_agi_cmd(), add_calltoken_ignore(), add_cc_call_info_to_response(), add_cfg_entry(), add_content(), add_email_attachment(), add_exten_to_pattern_tree(), add_extensions(), add_features_datastore(), add_header(), add_identifier(), add_json_object(), add_line(), add_message_id(), add_pri(), add_priority(), add_realm_authentication(), add_redirect(), add_rt_multi_cfg_entry(), add_sdp(), add_sip_domain(), add_static_payload(), add_user_extension(), admin_exec(), adsi_careful_send(), adsi_get_cpeid(), adsi_get_cpeinfo(), adsi_load_session(), adsi_process(), adsi_prog(), adsi_transmit_message_full(), aes_helper(), after_bridge_move_channel_fail(), agent_after_bridge_cb_failed(), agent_function_read(), agent_login_exec(), agent_request_exec(), agi_exec_full(), alarmreceiver_exec(), alloc_notify_task_data(), alloc_sub(), alsa_card_init(), alsa_indicate(), alsa_new(), alsa_request(), alsa_write(), aMYSQL_clear(), aMYSQL_connect(), aMYSQL_disconnect(), aMYSQL_fetch(), aMYSQL_nextresult(), aMYSQL_query(), analog_answer(), analog_call(), analog_exception(), analog_handle_init_event(), analog_hangup(), analog_ss_thread(), announce_to_dial(), aoc_append_ie(), aoc_parse_ie(), app_control_remove_channel_from_bridge(), app_control_silence_start(), app_exec(), app_handle_subscriptions(), app_subscribe(), app_unsubscribe(), append_mailbox(), applicationmap_handler(), apply_acl(), apply_contact_acl(), apply_dtls_attrib(), apply_general_options(), apply_option(), apply_options_full(), apply_outgoing(), aqm_exec(), ari_originate_dial(), ast_add_hint(), ast_adsi_install_funcs(), ast_agi_register(), ast_alaw_init(), ast_aoc_create(), ast_aoc_decode(), ast_aoc_encode(), ast_app_exec_macro(), ast_app_exec_sub(), ast_app_expand_sub_args(), ast_append_ha(), ast_apply_acl(), ast_ari_asterisk_get_info(), ast_ari_bridges_record(), ast_ari_bridges_remove_channel(), ast_ari_channels_record(), ast_ari_config_validate_user(), ast_ari_recordings_copy_stored(), ast_ari_recordings_delete_stored(), ast_ari_websocket_session_create(), ast_ari_websocket_session_read(), ast_async_goto(), ast_autoservice_start(), ast_beep_start(), ast_bridge_add_channel(), ast_bridge_timelimit(), ast_calendar_register(), ast_callid_threadassoc_add(), ast_cc_get_param(), ast_cc_set_param(), ast_cdr_register(), ast_change_hint(), ast_channel_add_bridge_role(), ast_channel_connected_line_macro(), ast_channel_destructor(), ast_channel_hangupcause_hash_set(), ast_channel_internal_alert_read(), ast_channel_internal_alertpipe_init(), ast_channel_make_compatible_helper(), ast_channel_move(), ast_channel_redirecting_macro(), ast_channel_register(), ast_channel_suppress(), ast_channel_unsuppress(), ast_check_signature(), ast_check_signature_bin(), ast_check_timing2(), ast_cli_perms_init(), ast_codec_samples_count(), ast_config_internal_load(), ast_connected_line_build_data(), ast_connected_line_parse_data(), ast_context_remove_extension_callerid2(), ast_context_verify_includes(), ast_crypt(), ast_crypt_validate(), ast_db_del(), ast_db_deltree(), ast_db_gettree(), ast_db_put(), ast_decrypt_bin(), ast_dns_resolve(), ast_dns_resolve_async(), ast_do_pickup(), ast_dsp_call_progress(), ast_dsp_process(), ast_dsp_silence_noise_with_energy(), ast_dtmf_stream(), ast_duplicate_acl_list(), ast_enable_packet_fragmentation(), ast_encrypt_bin(), ast_event_new(), ast_extension_close(), ast_fax_state_to_str(), ast_find_ourip(), ast_format_cap_update_by_allow_disallow(), ast_format_def_unregister(), ast_format_str_reduce(), ast_framehook_list_fixup(), ast_get_chan_applicationmap(), ast_get_enum(), ast_get_group(), ast_handle_cc_control_frame(), ast_hangup(), ast_http_get_auth(), ast_http_get_contents(), ast_http_send(), ast_iax2_new(), ast_include_new(), ast_indicate_data(), ast_io_remove(), ast_ivr_menu_run_internal(), ast_jb_put(), ast_linear_stream(), ast_lock_path_flock(), ast_lock_path_lockfile(), ast_log_backtrace(), ast_logger_register_level(), ast_makesocket(), ast_manager_register_struct(), ast_merge_contexts_and_delete(), ast_module_reload(), ast_moh_files_next(), ast_monitor_change_fname(), ast_monitor_start(), ast_monitor_stop(), ast_named_acl_find(), ast_named_acl_reload(), ast_netsock_bindaddr(), ast_odbc_direct_execute(), ast_odbc_find_table(), ast_odbc_prepare_and_execute(), ast_odbc_sanity_check(), ast_odbc_smart_execute(), ast_openstream_full(), ast_openvstream(), ast_ouraddrfor(), ast_parse_digest(), ast_pbx_run_args(), ast_pbx_start(), ast_phoneprov_add_extension(), ast_phoneprov_provider_register(), ast_pickup_call(), ast_pktccops_gate_alloc(), ast_presence_state_helper(), ast_prod(), ast_pthread_create_detached_stack(), ast_pthread_create_stack(), ast_read_image(), ast_read_textfile(), ast_readaudio_callback(), ast_readconfig(), ast_readfile(), ast_readvideo_callback(), ast_record_review(), ast_redirecting_build_data(), ast_redirecting_parse_data(), ast_register_application2(), ast_register_switch(), ast_remotecontrol(), ast_request(), ast_rtcp_read(), ast_rtp_dtmf_begin(), ast_rtp_dtmf_end_with_duration(), ast_rtp_engine_register2(), ast_rtp_glue_register2(), ast_rtp_instance_early_bridge(), ast_rtp_instance_early_bridge_make_compatible(), ast_rtp_raw_write(), ast_rtp_read(), ast_rtp_write(), ast_safe_fork(), ast_safe_system(), ast_say_date_with_format_da(), ast_say_date_with_format_de(), ast_say_date_with_format_en(), ast_say_date_with_format_es(), ast_say_date_with_format_fr(), ast_say_date_with_format_gr(), ast_say_date_with_format_he(), ast_say_date_with_format_it(), ast_say_date_with_format_ja(), ast_say_date_with_format_nl(), ast_say_date_with_format_pl(), ast_say_date_with_format_pt(), ast_say_date_with_format_th(), ast_say_date_with_format_vi(), ast_say_date_with_format_zh(), ast_say_number_full_pt(), ast_sched_del(), ast_sdp_crypto_process(), ast_sdp_srtp_get_attrib(), ast_search_dns(), ast_security_event_report(), ast_set_cc_callback_macro(), ast_set_cc_offer_timer(), ast_set_cc_recall_timer(), ast_set_ccbs_available_timer(), ast_set_ccnr_available_timer(), ast_set_priority(), ast_set_qos(), ast_sign_bin(), ast_sip_api_provider_register(), ast_sip_check_authentication(), ast_sip_create_request(), ast_sip_create_request_with_auth(), ast_sip_create_subscription(), ast_sip_location_retrieve_contact_and_aor_from_list(), ast_sip_ouraddrfor(), ast_sip_pubsub_generate_body_content(), ast_sip_pubsub_register_body_generator(), ast_sip_register_authenticator(), ast_sip_register_outbound_authenticator(), ast_sip_requires_authentication(), ast_sip_session_refresh(), ast_sip_session_register_sdp_handler(), ast_sip_unregister_authenticator(), ast_sip_unregister_outbound_authenticator(), ast_sipinfo_send(), ast_slinfactory_feed(), ast_smoother_read(), ast_sockaddr_parse(), ast_sockaddr_split_hostport(), ast_speech_register(), ast_srtp_change_source(), ast_srtp_protect(), ast_stopstream(), ast_str_substitute_variables_full(), ast_str_to_uuid(), ast_streamfile(), ast_tcptls_server_root(), AST_TEST_DEFINE(), ast_threadpool_create(), ast_translate_path_steps(), ast_translator_build_path(), ast_udptl_new_with_bindaddr(), ast_udptl_read(), ast_udptl_write(), ast_ulaw_init(), ast_unload_resource(), ast_unreal_answer(), ast_unreal_fixup(), ast_unreal_new_channels(), ast_uuid_init(), ast_waitfordigit_full(), ast_websocket_read(), ast_websocket_uri_cb(), ast_write(), ast_writefile(), ast_writestream(), ast_yyerror(), asyncgoto_exec(), attach_barge(), attempt_transfer(), auth_credentials(), auth_exec(), auth_http_callback(), auth_type_handler(), authenticate_api_key(), authenticate_verify(), autoservice_run(), background_detect_exec(), balance_stack(), base64_helper(), base_encode(), blacklist_read(), blond_nonfinal_exit(), blr_ebl(), blr_txt(), bridge_base_init(), bridge_builtin_set_limits(), bridge_channel_handle_write(), bridge_channel_read_wr_queue_alert(), bridge_exec(), bridge_p2p_rtp_write(), bridge_parking_push(), bridge_stasis_run_cb(), bridgewait_exec(), bucket_copy(), build_calendar(), build_channels(), build_conf(), build_device(), build_dtmf_features(), build_gateway(), build_mapping(), build_notify(), build_peer(), build_user(), bump_gains(), cache_get_callno_locked(), calc_metric(), calculate_far_max_ifp(), calculate_local_max_datagram(), caldav_add_event(), caldav_load_calendar(), caldav_request(), caldav_write_event(), calendar_busy_exec(), calendar_devstate_change(), calendar_event_read(), calendar_query_exec(), calendar_query_result_exec(), calendar_write_exec(), caller_safety_timeout(), callerid_feed(), callerid_feed_jp(), callerid_get_dtmf(), callerpres_read(), callerpres_write(), calling_target_exit(), canary_thread(), cancel_and_unpublish(), careful_write(), cb_events(), cc_available(), cc_caller_requested(), cc_handle_publish_error(), cccancel_exec(), cdr_handler(), cdr_prop_write(), cdr_read(), cdr_submit_batch(), cdr_write(), celt_set(), chan_misdn_log(), chan_pjsip_answer(), chan_pjsip_call(), chan_pjsip_digit_end(), chan_pjsip_hangup(), chan_pjsip_indicate(), chan_pjsip_transfer(), chan_pjsip_write(), chanavail_exec(), channel_admin_exec(), channel_do_masquerade(), channel_read_pjsip(), channel_spy(), channel_to_session(), chanspy_exec(), check_abstract_reference(), check_access(), check_app_args(), check_auth(), check_context_names(), check_day(), check_debug(), check_dow(), check_expr2_input(), check_featuregroup(), check_for_conference(), check_goto(), check_header(), check_header_fmt(), check_includes(), check_macro_returns(), check_month(), check_pval_item(), check_switch_expr(), check_timerange(), check_via(), clean_stmt(), clearcbone(), cleardisplay(), clearflag(), cleartimer(), close_call(), close_client(), commit_exec(), compile_script(), complete_dialplan_add_extension(), complete_dialplan_remove_context(), complete_dialplan_remove_ignorepat(), complete_dialplan_remove_include(), complete_transfer(), compress_subclass(), conf_add(), conf_del(), conf_exec(), conf_flush(), conf_queue_dtmf(), conf_rec_name(), conf_run(), conf_start_record(), confbridge_exec(), config_handler(), config_ldap(), config_line(), config_load(), config_module(), config_mysql(), config_odbc(), config_parse_variables(), config_pgsql(), config_text_file_load(), configure_local_rtp(), console_autoanswer(), console_cmd(), console_indicate(), console_request(), console_transfer(), consulting_exit(), controlplayback_exec(), cops_connect(), cops_gate_cmd(), cops_sendmsg(), copy(), corosync_show_members(), count_exec(), create_addr(), create_dirpath(), create_in_dialog_request(), create_jb(), create_new_socket(), create_outgoing_sdp_stream(), create_queue_member(), create_subscription_tree(), create_video_frame(), crement_function_read(), crypto_activate(), crypto_load(), csv_log(), custom_prepare(), custom_transport_handler(), cut_internal(), dahdi_answer(), dahdi_call(), dahdi_callwait(), dahdi_confmute(), dahdi_dial_str(), dahdi_ec_disable(), dahdi_ec_enable(), dahdi_fake_event(), dahdi_func_write(), dahdi_handle_dtmf(), dahdi_handle_event(), dahdi_hangup(), dahdi_indicate(), dahdi_master_slave_link(), dahdi_new(), dahdi_open(), dahdi_read(), dahdi_request(), dahdi_restart(), dahdi_ring_phone(), dahdi_sendtext(), dahdi_set_hook(), dahdi_setoption(), dahdi_show_channel(), dahdi_train_ec(), dahdi_translate(), dahdi_write(), dahdiras_exec(), db_create_astdb(), db_execute_sql(), db_get_common(), db_open(), deadagi_exec(), dec_init(), defer_action(), DEFINE_SQL_STATEMENT(), del_exec(), del_identifier(), destroy_mysql(), destroy_odbc(), destroy_pgsql(), destroy_pval_item(), destroy_trans(), determine_starting_point(), devstate_write(), dial_exec_full(), dial_handle_playtones(), dialgroup_read(), dialgroup_write(), dialog_info_generate_body_content(), dialog_info_to_string(), dictate_exec(), digest_create_request_with_auth(), digitcollect(), digitdirect(), disa_exec(), disable_jack_hook(), disable_t38(), dispatch_thread_handler(), display_last_error(), display_nat_warning(), dns_parse_answer(), do_monitor(), do_notify(), do_pktccops(), do_reload(), do_say(), do_waiting(), double_checking_exit(), dump_queue_members(), dumpsub(), dundi_answer_entity(), dundi_answer_query(), dundi_discover(), dundi_error_output(), dundi_exec(), dundi_helper(), dundi_lookup_internal(), dundi_precache_internal(), dundi_prop_precache(), dundi_query(), dundi_query_read(), dundi_result_read(), dundi_xmit(), dundifunc_read(), duplicate_pseudo(), eagi_exec(), ebl_callback(), eivr_comm(), enum_callback(), enum_query_read(), enum_result_read(), ewscal_load_calendar(), exchangecal_load_calendar(), exchangecal_request(), exchangecal_write_event(), exec_exec(), execif_exec(), execute_cb(), expand_gosub_args(), ext_cmp1(), ext_cmp_pattern_pos(), extension_matches(), extenspy_exec(), extstate_read(), fax_gateway_detect_t38(), fax_gateway_framehook(), fax_generator_generate(), fax_rate_str_to_int(), fbuf_append(), feature_attended_transfer(), feature_read(), feature_write(), featuremap_read(), featuremap_write(), festival_exec(), fetch_icalendar(), ffmpeg_encode(), file_read(), file_write(), filehelper(), filename_parse(), filter(), finalize_content(), find_app_by_name(), find_body_generator(), find_cache(), find_conf(), find_conf_realtime(), find_desc(), find_details(), find_engine(), find_identifier(), find_line_by_instance(), find_line_by_name(), find_or_create(), find_or_create_details(), find_queue_by_name_rt(), find_recording(), find_sdp(), find_speeddial_by_instance(), find_subchannel_by_instance_reference(), find_subchannel_by_name(), find_subchannel_by_reference(), find_table(), findmeexec(), flash_exec(), fn_wrapper(), frame_trace_helper(), framein(), func_args(), func_channel_read(), func_channel_write(), func_channel_write_real(), func_channels_read(), func_check_sipdomain(), func_confbridge_helper(), func_header_read(), func_mchan_read(), func_mchan_write(), func_mixmonitor_read(), func_mute_write(), function_amiclient(), function_db_delete(), function_db_exists(), function_db_read(), function_db_write(), function_enum(), function_eval(), function_eval2(), function_ooh323_write(), function_realtime_read(), function_realtime_readdestroy(), function_realtime_store(), function_realtime_write(), function_txtcidname(), g719read(), g719write(), g723_len(), g723_read(), g723_write(), g726_read(), g726_write(), g729_read(), g729_write(), gen_generate(), gen_nextfile(), generate_computational_cost(), generate_parked_user(), generic_execute(), generic_fax_exec(), generic_http_callback(), generic_prepare(), generic_read(), get_alarms(), get_also_info(), get_button_template(), get_calleridname(), get_comma(), get_defaults(), get_destination(), get_domain(), get_in_brackets_const(), get_in_brackets_full(), get_input(), get_pattern_node(), get_range(), get_rdnis(), get_refer_info(), get_timerange(), get_to_address(), get_token(), get_unused_callno(), getdisplaybyname(), getflagbyname(), getkeybyname(), getstatebyname(), getsubbyname(), gosub_exec(), gosubif_exec(), goto_exten(), goto_line(), goto_line_rel(), group_count_function_read(), group_function_read(), group_function_write(), grow(), gsm_read(), gsm_seek(), gsm_write(), gsmtolin_framein(), h261_decap(), h263_decap(), h263_encap(), h263_open(), h263_read(), h263_write(), h263p_decap(), h263p_encap(), h264_decap(), h264_encap(), h264_open(), h264_read(), h264_write(), handle_alarms(), handle_call_incoming(), handle_call_outgoing(), handle_call_token(), handle_callforward_button(), handle_capabilities_res_message(), handle_cc_subscribe(), handle_cli_database_show(), handle_cli_database_showkey(), handle_cli_indication_add(), handle_cli_indication_remove(), handle_cli_presencestate_list(), handle_command_response(), handle_common_options(), handle_connection(), handle_enbloc_call_message(), handle_error(), handle_exec(), handle_getoption(), handle_hd_hf(), handle_incoming(), handle_incoming_request(), handle_init_event(), handle_input(), handle_keypad_button_message(), handle_local_optimization_end(), handle_message(), handle_missing_column(), handle_offhook_message(), handle_participant_join(), handle_recordfile(), handle_registration_response(), handle_request(), handle_request_bye(), handle_request_info(), handle_request_invite(), handle_request_invite_st(), handle_request_notify(), handle_request_register(), handle_request_subscribe(), handle_response(), handle_response_info(), handle_response_invite(), handle_response_message(), handle_response_notify(), handle_response_refer(), handle_response_register(), handle_response_subscribe(), handle_soft_key_event_message(), handle_stimulus_message(), handle_t38_options(), handle_tcptls_connection(), handle_transfer_button(), handle_updates(), hangupcause_read(), hash_read(), hashkeys_read(), hashkeys_read2(), hesitant_exit(), hint_read(), holding_bridge_join(), hook_callback(), hook_off(), hook_on(), hook_re_enable(), hook_write(), http_body_check_chunk_sync(), http_body_discard_chunk_trailer_headers(), http_body_discard_contents(), http_body_get_chunk_length(), http_body_read_contents(), httpd_helper_thread(), iax2_ack_registry(), iax2_call(), iax2_canmatch(), iax2_devicestate(), iax2_do_register(), iax2_exec(), iax2_exists(), iax2_fixup(), iax2_hangup(), iax2_matchmore(), iax2_poke_peer(), iax2_register(), iax2_request(), iax2_send(), iax2_trunk_queue(), iax_error_output(), iax_firmware_reload(), iax_process_template(), iax_template_parse(), ical_load_calendar(), icalendar_add_event(), ices_exec(), icesencode(), iconv_read(), iftime(), ilbc_read(), ilbc_write(), ilbctolin_framein(), in_band_indication(), increase_call_count(), init_acf_query(), init_app_class(), init_details(), init_req(), init_resp(), initialize_cc_devstate_map(), initialize_cc_max_requests(), inprocess_count(), insert_penaltychange(), inspect_module(), int_handler_fn(), internal_feature_read(), internal_feature_write(), internal_featuremap_read(), internal_featuremap_write(), ip_identify(), isAnsweringMachine(), jack_hook_callback(), jack_hook_write(), jb_framedata_init(), jb_get_and_deliver(), jb_helper(), jb_warning_output(), jingle_action_session_initiate(), jingle_write(), jpeg_read_image(), jpeg_write_image(), key_favorite(), launch_asyncagi(), launch_ha_netscript(), launch_monitor_thread(), launch_netscript(), launch_script(), launch_service(), ldap_loadentry(), ldap_reconnect(), leave_voicemail(), linear_alloc(), linear_generator(), linear_release(), lintogsm_framein(), lintolpc10_framein(), list_item_handler(), listener(), load_column_config(), load_config(), load_config_meetme(), load_general_config(), load_indications(), load_module(), load_modules(), load_moh_classes(), load_mysql_config(), load_odbc_config(), load_pktccops_config(), load_realtime_rules(), load_resource(), load_tech_calendars(), load_users(), load_values_config(), local_ast_moh_cleanup(), local_ast_moh_start(), local_devicestate(), local_read(), local_write(), log_attended_transfer(), lookup_iface(), lpc10tolin_framein(), macroif_exec(), main(), make_number(), make_silence(), make_str(), make_trunk(), manager_show_dialplan_helper(), manager_sipnotify(), map_video_codec(), math(), mbl_call(), mbl_hangup(), mbl_load_adapter(), mbl_request(), md5(), media_index_update(), meetme_menu_admin_extended(), memcpy_decrypt(), memcpy_encrypt(), mgcp_call(), mgcp_fixup(), mgcp_indicate(), mgcp_new(), mgcp_reload(), mgcp_request(), mgcp_ss(), mgcp_write(), mgcpsock_read(), milliwatt_generate(), minivm_accmess_exec(), minivm_notify_exec(), minivm_record_exec(), misdn_answer(), misdn_call(), misdn_cfg_get(), misdn_cfg_get_config_string(), misdn_cfg_init(), misdn_cfg_is_msn_valid(), misdn_cfg_update_ptp(), misdn_check_l2l1(), misdn_digit_end(), misdn_facility_exec(), misdn_hangup(), misdn_indication(), misdn_request(), misdn_send_text(), misdn_set_opt_exec(), misdn_write(), mixmonitor_exec(), mkif(), mkintf(), modify_mysql(), moh_alloc(), moh_class_destructor(), moh_files_alloc(), moh_files_generator(), moh_files_release(), moh_generate(), moh_parse_options(), moh_release(), moh_scan_files(), mohalloc(), monmp3thread(), morsecode_exec(), mp3_exec(), mp3_squeue(), mp3play(), msg_create_from_file(), msg_data_func_read(), msg_data_func_write(), msg_func_read(), msg_func_write(), msg_q_cb(), msg_send_exec(), multicast_send_control_packet(), mwi_create_subscription(), mwi_new_subscribe(), mwi_send_init(), mwi_send_process_buffer(), mwi_send_process_event(), mwi_subscribe_single(), mwi_thread(), my_all_subchannels_hungup(), my_callwait(), my_distinctive_ring(), my_get_callerid(), my_handle_dtmf(), my_is_off_hook(), my_load_module(), my_send_callerid(), my_set_cadence(), mysql_ds_destroy(), mysql_ds_fixup(), MYSQL_exec(), mysql_reconnect(), native_start(), nbs_alloc(), nbs_call(), nbs_hangup(), nbs_new(), NBScat_exec(), NBScatplay(), netconsole(), new_realtime_sqlite3_db(), notify_contact(), notify_endpoint(), notify_new_message(), notify_uri(), odbc_load_module(), odbc_log(), odbc_obj_connect(), odbc_obj_disconnect(), odbc_register_class(), odbc_release_obj2(), ogg_vorbis_read(), ogg_vorbis_rewrite(), ogg_vorbis_seek(), ogg_vorbis_trunc(), old_milliwatt_exec(), on_personality_change_normal(), onevent(), ooh323_call(), ooh323_fixup(), ooh323_indicate(), ooh323_new(), ooh323_request(), ooh323_set_rtp_peer(), ooh323_write(), op_colon(), op_div(), op_eq(), op_eqtilde(), op_func(), op_minus(), op_negate(), op_plus(), op_rem(), op_times(), open_history(), option_handler_findslot(), option_handler_parkpos(), options_start(), opus_set(), originate_exec(), osp_check_destination(), osp_create_provider(), osp_load(), osp_lookup(), osp_validate_token(), osplookup_exec(), ospnext_exec(), oss_indicate(), oss_new(), oss_request(), page_exec(), parse(), parse_args(), parse_bookmark(), parse_buffers_policy(), parse_config(), parse_data(), parse_empty_options(), parse_ie(), parse_minse(), parse_naptr(), parse_options(), parse_register_contact(), parse_request(), parse_session_expires(), parse_srv(), parse_tone_zone(), parsing(), participant_reaction_announcer_join(), party_id_build_data(), party_name_build_data(), party_number_build_data(), party_subaddress_build_data(), pbx_builtin_background(), pbx_builtin_execiftime(), pbx_builtin_gotoif(), pbx_builtin_gotoiftime(), pbx_builtin_hangup(), pbx_builtin_importvar(), pbx_builtin_pushvar_helper(), pbx_builtin_saycharacters_case(), pbx_builtin_saynumber(), pbx_builtin_setvar(), pbx_builtin_setvar_multiple(), pbx_builtin_waitexten(), pbx_extension_helper(), pbx_find_extension(), pbx_live_dangerously(), pbx_load_config(), pbx_outgoing_attempt(), pbx_outgoing_exec(), pbx_parseable_goto(), pbx_start_incoming_request(), pbx_substitute_variables_helper_full(), pcm_read(), pcm_seek(), pcm_write(), peer_set_srcaddr(), pgsql_log(), phase_e_handler(), phone_call(), phone_digit_end(), phone_exception(), phone_hangup(), phone_indicate(), phone_mini_packet(), phone_new(), phone_read(), phone_setup(), phone_write(), phone_write_buf(), phoneprov_callback(), pickupchan_exec(), pidf_generate_body_content(), pidf_supplement_body(), pidf_to_string(), pipe_init_nonblock(), pitchshift_helper(), pjsip_acf_channel_read(), pjsip_acf_dial_contacts_read(), pjsip_acf_media_offer_read(), pjsip_acf_media_offer_write(), pjsip_aor_function_read(), pktccops_add_ippool(), play_file(), play_message(), play_message_by_id(), play_moh_exec(), play_record_review(), playback_exec(), playback_final_update(), playtones_alloc(), playtones_generator(), pop_exec(), post_raw(), pp_each_extension_helper(), pqm_exec(), precache_trans(), precache_transactions(), presence_read(), presence_write(), privacy_exec(), private_enum_init(), proc_422_rsp(), proc_session_timer(), process_ast_dsp(), process_crypto(), process_dahdi(), process_description_file(), process_echocancel(), process_message_callback(), process_my_load_module(), process_opcode(), process_output(), process_request(), process_returncode(), process_sdp(), process_sdp_a_audio(), process_sdp_a_dtls(), process_sdp_c(), process_sdp_o(), process_text_line(), process_via(), profile_set_param(), proxy_from_config(), proxy_update(), publish_device_state_to_stasis(), publish_mwi_to_stasis(), publish_request_initial(), publish_to_corosync(), pubsub_on_rx_publish_request(), pubsub_on_rx_subscribe_request(), pw_cb(), ql_exec(), queue_exec(), queue_function_mem_read(), queue_function_qac_dep(), queue_function_queuegetchannel(), queue_function_queuememberlist(), queue_function_queuewaitingcount(), queue_function_var(), queue_set_param(), queue_voice_frame(), quote(), rcv_mac_addr(), read_config(), read_config_maps(), read_exec(), readexten_exec(), readmimefile(), realtime_destroy_handler(), realtime_directory(), realtime_exec(), realtime_handler(), realtime_ldap_base_ap(), realtime_multi_handler(), realtime_multi_ldap(), realtime_multi_mysql(), realtime_multi_odbc(), realtime_multi_pgsql(), realtime_mysql(), realtime_odbc(), realtime_peer(), realtime_peer_by_addr(), realtime_peer_get_sippeer_helper(), realtime_pgsql(), realtime_require_handler(), realtime_sqlite3_destroy(), realtime_sqlite3_execute(), realtime_sqlite3_execute_handle(), realtime_sqlite3_helper(), realtime_sqlite3_load(), realtime_sqlite3_require(), realtime_sqlite3_store(), realtime_sqlite3_update(), realtime_sqlite3_update2(), realtime_store_handler(), realtime_update2_handler(), realtime_update_handler(), realtimefield_read(), recalling_exit(), receive_message(), receivefax_exec(), receivefax_t38_init(), record_exec(), redirecting_reason_build_data(), refer_blind_callback(), refer_incoming_refer_request(), refresh_list(), regex(), register_exten(), register_peer_exten(), register_verify(), registrar_on_rx_request(), registry_rerequest(), reload(), reload_config(), reload_followme(), reload_module(), reload_queue_members(), reload_queue_rules(), reload_single_member(), reload_single_queue(), remove_from_queue(), removed_options_handler(), reply_digest(), require_mysql(), require_odbc(), require_pgsql(), reset_conf(), resolve_first(), resource_list_apply_handler(), respprep(), restart_monitor(), restart_pktc_thread(), restore_conference(), restore_gains(), retrans_pkt(), retransfer_exit(), retrieve_resource_list(), retrydial_exec(), revert_fax_buffers(), rollback_exec(), rotate_file(), rqm_exec(), rt_handle_member_record(), rtp_reload(), run_agi(), run_app_helper(), run_ras(), rx_task(), s_streamwait3(), safe_append(), save_conference(), say_date(), say_date_with_format(), say_datetime(), say_datetime_from_now(), say_init_mode(), say_number_full(), say_time(), saycountedadj_exec(), saycountednoun_exec(), scan(), scan_dir(), scan_service(), scan_thread(), schedule_publish_refresh(), schedule_registration(), schedule_retry(), sco_accept(), sdp_register(), select_entry(), send_callerid(), send_client(), send_delay(), send_delayed_request(), send_dtmf(), send_ews_request_and_parse(), send_in_dialog_request(), send_month_labels(), send_request(), send_retransmit(), send_select_output(), send_start_rtp(), send_unsolicited_mwi_notify(), send_unsolicited_mwi_notify_to_contact(), send_waveform_to_channel(), send_waveform_to_fd(), senddtmf_exec(), sendfax_exec(), sendfax_t38_init(), sendimage_exec(), sendmail(), sendtext_exec(), sendurl_exec(), session_do(), session_on_rx_request(), set(), set_bridge_features_on_config(), set_config(), set_crypto_policy(), set_destination(), set_format(), set_full_cmd(), set_insecure_flags(), set_member_paused(), set_sound(), set_state(), set_ulimit(), set_var(), setcallerid_pres_exec(), setflag(), setformat(), setsubstate(), setup_dahdi_int(), setup_mixmonitor(), setup_privacy_args(), setup_stunaddr(), sha1(), shared_read(), shared_write(), shell_helper(), shift_pop(), show_chanstats_cb(), show_dialplan_helper(), showdisplay(), showkeys(), silk_set(), sip_acf_channel_read(), sip_addheader(), sip_call(), sip_cc_monitor_suspend(), sip_cli_notify(), sip_dtmfmode(), sip_fixup(), sip_hangup(), sip_indicate(), sip_msg_send(), sip_new(), sip_outbound_publish_callback(), sip_outbound_publish_synchronize(), sip_outbound_registration_response_cb(), sip_outbound_registration_state_destroy(), sip_outbound_registration_timer_cb(), sip_parse_host(), sip_parse_nat_option(), sip_parse_register_line(), sip_request_call(), sip_scheddestroy(), sip_send_keepalive(), sip_sendhtml(), sip_subscribe_mwi(), sip_tcptls_read(), sip_to_pjsip(), sip_write(), sipinfo_send(), sipsock_read(), siren14read(), siren14write(), siren7read(), siren7write(), skel_exec(), skinny_call(), skinny_extensionstate_cb(), skinny_fixup(), skinny_indicate(), skinny_new(), skinny_newcall(), skinny_noauth_cb(), skinny_nokeepalive_cb(), skinny_register(), skinny_request(), skinny_session(), skinny_write(), sla_add_trunk_to_station(), sla_build_station(), sla_build_trunk(), sla_load_config(), sla_station_exec(), slinear_write(), smart_bridge_operation(), smdi_msg_read(), smdi_msg_retrieve_read(), sms_generate(), sms_handleincoming(), sms_log(), sms_readfile(), socket_process_helper(), socket_process_meta(), socket_read(), softhangup_exec(), softmix_mixing_loop(), sorcery_realtime_filter_objectset(), sound_file_exists(), soundcard_writeframe(), span_message(), spandsp_fax_write(), spandsp_log(), spandsp_modems(), spandsp_v21_detect(), spawn_dp_lookup(), spawn_mp3(), speex_get_wb_sz_at(), speex_samples(), speex_write(), speextolin_framein(), spy_generate(), srv_query_read(), srv_result_read(), ssl_verify(), start_moh_exec(), start_monitor_exec(), start_network_thread(), start_rtp(), start_stream(), starttimer(), stasis_app_control_answer(), stasis_app_control_record(), stasis_app_recording_operation(), stasis_app_send(), stasis_app_stored_recording_find_by_name(), stasis_app_user_event(), static_realtime_cb(), store_boost(), store_config(), store_config_core(), store_digit(), store_mixer(), store_mysql(), store_odbc(), store_pgsql(), store_tone_zone_ring_cadence(), str_to_agent_policy(), str_to_monitor_policy(), stun_monitor_request(), sub_start_silence(), sub_stop_silence(), subscript(), subscription_established(), subscription_get_handler_from_rdata(), subscription_persistence_load(), subscription_persistence_recreate(), swap_subs(), sysinfo_helper(), system_apply(), system_exec_helper(), t38_attach_framehook(), t38_change_state(), t38_reinvite_response_cb(), t38_tx_packet_handler(), tdd_feed(), tdd_new(), testclient_exec(), timezone_add(), to_number(), to_string(), tonepair_alloc(), tonepair_generator(), transfer_call_step1(), transfer_cancel_step2(), transfer_exec(), transfer_redirect(), transmit(), transmit_audio(), transmit_cc_notify(), transmit_invite(), transmit_register(), transmit_request_with_auth(), transmit_response_bysession(), transmit_response_with_auth(), transmit_response_with_sdp(), transmit_response_with_t38_sdp(), transmit_state_notify(), transmit_t38(), transport_apply(), transport_tos_handler(), try_calling(), try_firmware(), try_load_key(), try_transfer(), tryexec_exec(), tvfix(), txt_callback(), udptl_pre_apply_config(), uint_handler_fn(), unalloc_sub(), unistim_answer(), unistim_call(), unistim_do_senddigit(), unistim_fixup(), unistim_indicate(), unistim_new(), unistim_request(), unistim_rtp_read(), unistim_senddigit_end(), unistim_sendtext(), unistim_ss(), unistim_write(), unistimsock_read(), unload_module(), unlock_read(), unregister_exten(), unshift_push(), unsupported_handler(), update2_ldap(), update2_mysql(), update2_odbc(), update2_pgsql(), update2_prepare(), update_config(), update_header(), update_ldap(), update_modem_bits(), update_mysql(), update_odbc(), update_pgsql(), update_registry(), update_stats(), upqm_exec(), used_blocks(), userevent_exec(), ustmtext(), validate_user_cb(), verbose_exec(), vm_check_password_shell(), vm_intro(), vm_mailbox_snapshot_create(), vm_msg_forward(), vm_msg_move(), vm_msg_play(), vm_msg_remove(), vm_msg_snapshot_create(), vmsayname_exec(), volume_write(), vox_read(), vox_write(), wait_file(), wait_for_answer(), wait_for_winner(), wait_to_recall_exit(), wait_to_retransfer_exit(), waitfor_exec(), waitforring_exec(), waitstream_core(), waituntil_exec(), wav_close(), wav_read(), wav_seek(), wav_write(), websocket_echo_callback(), write_header(), write_history(), write_stream(), writefile(), ws_safe_read(), xmpp_client_receive(), xmpp_client_subscribe_user(), xmpp_client_thread(), xmpp_client_unsubscribe_user(), xmpp_component_register_get_hook(), xmpp_component_register_set_hook(), xmpp_component_service_discovery_get_hook(), xmpp_component_service_discovery_items_hook(), xmpp_pak_presence(), xmpp_pak_s10n(), xmpp_pubsub_delete_node_list(), xmpp_send_cb(), xmpp_send_exec(), xmpp_status_exec(), xpidf_to_string(), yyparse(), and zombify_threads().

#define NUMLOGLEVELS   32

Definition at line 245 of file logger.h.

Referenced by ast_console_toggle_loglevel().

#define QUEUELOG   "queue_log"

Definition at line 35 of file logger.h.

#define VERBOSE_HASMAGIC (  )     (*(signed char *) (x) < 0)

Definition at line 149 of file logger.h.

Referenced by console_print().

#define VERBOSE_MAGIC2LEVEL (  )     (((char) -*(signed char *) (x)) - 1)

Definition at line 148 of file logger.h.

Referenced by console_print(), logger_print_normal(), and network_verboser().

#define VERBOSE_PREFIX_1   " "

Definition at line 41 of file logger.h.

Referenced by __ast_verbose_ap(), and set_header().

#define VERBOSE_PREFIX_2   " == "

#define VERBOSE_PREFIX_3   " -- "

Definition at line 43 of file logger.h.

Referenced by __ast_context_create(), __ast_verbose_ap(), ast_add_extension2(), and set_header().

#define VERBOSE_PREFIX_4   " > "

Definition at line 44 of file logger.h.

Referenced by __ast_verbose_ap(), set_header(), and socket_process_helper().

#define VERBOSITY_ATLEAST ( level   )     ((level) <= ast_verb_sys_level)

Definition at line 390 of file logger.h.

Referenced by dumpchan_exec(), pbx_extension_helper(), purge_sessions(), and timeout_write().


Typedef Documentation

typedef unsigned int ast_callid

Definition at line 77 of file logger.h.


Function Documentation

void __ast_verbose ( const char *  file,
int  line,
const char *  func,
int  level,
const char *  fmt,
  ... 
)

Send a verbose message (based on verbose level).

This works like ast_log, but prints verbose messages to the console depending on verbosity level set.

ast_verbose(VERBOSE_PREFIX_3 "Whatever %s is happening\n", "nothing");

This will print the message to the console if the verbose level is set to a level >= 3

Note the absence of a comma after the VERBOSE_PREFIX_3. This is important. VERBOSE_PREFIX_1 through VERBOSE_PREFIX_4 are defined.

Version:
11 added level parameter

Definition at line 1837 of file logger.c.

01838 {
01839    ast_callid callid;
01840    va_list ap;
01841 
01842    callid = ast_read_threadstorage_callid();
01843 
01844    va_start(ap, fmt);
01845    __ast_verbose_ap(file, line, func, level, callid, fmt, ap);
01846    va_end(ap);
01847 }

void __ast_verbose_ap ( const char *  file,
int  line,
const char *  func,
int  level,
ast_callid  callid,
const char *  fmt,
va_list  ap 
)

Definition at line 1786 of file logger.c.

References __LOG_VERBOSE, AST_DYNSTR_BUILD_FAILED, ast_log_callid(), ast_str_append(), ast_str_append_substr(), ast_str_buffer(), ast_str_reset(), ast_str_set_va(), ast_str_thread_get(), buf, verbose_buf, VERBOSE_BUF_INIT_SIZE, verbose_build_buf, VERBOSE_PREFIX_1, VERBOSE_PREFIX_2, VERBOSE_PREFIX_3, and VERBOSE_PREFIX_4.

Referenced by __ast_verbose(), __ast_verbose_callid(), ast_log(), and ast_verbose().

01787 {
01788    const char *p;
01789    struct ast_str *prefixed, *buf;
01790    int res = 0;
01791    signed char magic = level > 9 ? -10 : -level - 1; /* 0 => -1, 1 => -2, etc.  Can't pass NUL, as it is EOS-delimiter */
01792 
01793    /* For compatibility with modules still calling ast_verbose() directly instead of using ast_verb() */
01794    if (level < 0) {
01795       if (!strncmp(fmt, VERBOSE_PREFIX_4, strlen(VERBOSE_PREFIX_4))) {
01796          magic = -5;
01797       } else if (!strncmp(fmt, VERBOSE_PREFIX_3, strlen(VERBOSE_PREFIX_3))) {
01798          magic = -4;
01799       } else if (!strncmp(fmt, VERBOSE_PREFIX_2, strlen(VERBOSE_PREFIX_2))) {
01800          magic = -3;
01801       } else if (!strncmp(fmt, VERBOSE_PREFIX_1, strlen(VERBOSE_PREFIX_1))) {
01802          magic = -2;
01803       } else {
01804          magic = -1;
01805       }
01806    }
01807 
01808    if (!(prefixed = ast_str_thread_get(&verbose_buf, VERBOSE_BUF_INIT_SIZE)) ||
01809        !(buf = ast_str_thread_get(&verbose_build_buf, VERBOSE_BUF_INIT_SIZE))) {
01810       return;
01811    }
01812 
01813    res = ast_str_set_va(&buf, 0, fmt, ap);
01814    /* If the build failed then we can drop this allocated message */
01815    if (res == AST_DYNSTR_BUILD_FAILED) {
01816       return;
01817    }
01818 
01819    ast_str_reset(prefixed);
01820 
01821    /* for every newline found in the buffer add verbose prefix data */
01822    fmt = ast_str_buffer(buf);
01823    do {
01824       if (!(p = strchr(fmt, '\n'))) {
01825          p = strchr(fmt, '\0') - 1;
01826       }
01827       ++p;
01828 
01829       ast_str_append(&prefixed, 0, "%c", (char)magic);
01830       ast_str_append_substr(&prefixed, 0, fmt, p - fmt);
01831       fmt = p;
01832    } while (p && *p);
01833 
01834    ast_log_callid(__LOG_VERBOSE, file, line, func, callid, "%s", ast_str_buffer(prefixed));
01835 }

void __ast_verbose_callid ( const char *  file,
int  line,
const char *  func,
int  level,
ast_callid  callid,
const char *  fmt,
  ... 
)

Send a verbose message (based on verbose level) with deliberately specified callid.

just like __ast_verbose, only __ast_verbose_callid allows you to specify which callid is being used for the log without needing to bind it to a thread. NULL is a valid argument for this function and will allow you to specify that a log will never display a call id even when there is a call id bound to the thread.

Definition at line 1849 of file logger.c.

References __ast_verbose_ap().

01850 {
01851    va_list ap;
01852    va_start(ap, fmt);
01853    __ast_verbose_ap(file, line, func, level, callid, fmt, ap);
01854    va_end(ap);
01855 }

void ast_callid_strnprint ( char *  buffer,
size_t  buffer_size,
ast_callid  callid 
)

copy a string representation of the callid into a target string

Parameters:
buffer destination of callid string (should be able to store 13 characters or more)
buffer_size maximum writable length of the string (Less than 13 will result in truncation)
callid Callid for which string is being requested

Definition at line 1492 of file logger.c.

Referenced by ast_channel_callid_set(), handle_showchan(), and iax_pvt_callid_new().

01493 {
01494    snprintf(buffer, buffer_size, "[C-%08x]", callid);
01495 }

int ast_callid_threadassoc_add ( ast_callid  callid  ) 

Adds a known callid to thread storage of the calling thread.

Return values:
0 - success
non-zero - failure

Definition at line 1544 of file logger.c.

References ast_debug, ast_log, ast_threadstorage_get(), LOG_ERROR, LOG_WARNING, and unique_callid.

Referenced by __analog_ss_thread(), __ast_pbx_run(), ast_callid_threadstorage_auto(), async_dial(), attended_transfer_monitor_thread(), bridge_channel_control_thread(), bridge_channel_depart_thread(), bridge_channel_ind_thread(), handle_request_do(), jingle_action_hook(), jingle_outgoing_hook(), mixmonitor_thread(), socket_process_helper(), and softmix_mixing_thread().

01545 {
01546    ast_callid *pointing;
01547 
01548    pointing = ast_threadstorage_get(&unique_callid, sizeof(*pointing));
01549    if (!(pointing)) {
01550       ast_log(LOG_ERROR, "Failed to allocate thread storage.\n");
01551       return -1;
01552    }
01553 
01554    if (!(*pointing)) {
01555       *pointing = callid;
01556 #ifdef TEST_FRAMEWORK
01557       ast_debug(3, "CALL_ID [C-%08x] bound to thread.\n", callid);
01558 #endif
01559    } else {
01560       ast_log(LOG_WARNING, "Attempted to ast_callid_threadassoc_add on thread already associated with a callid.\n");
01561       return 1;
01562    }
01563 
01564    return 0;
01565 }

int ast_callid_threadassoc_change ( ast_callid  callid  ) 

Sets what is stored in the thread storage to the given callid if it does not match what is already there.

Return values:
0 - success
non-zero - failure

Definition at line 1518 of file logger.c.

References ast_debug, ast_log, ast_threadstorage_get(), LOG_ERROR, and unique_callid.

Referenced by autoservice_run(), and bridge_manager_service().

01519 {
01520    ast_callid *id = ast_threadstorage_get(&unique_callid, sizeof(*id));
01521 
01522    if (!id) {
01523       ast_log(LOG_ERROR, "Failed to allocate thread storage.\n");
01524       return -1;
01525    }
01526 
01527    if (*id && (*id != callid)) {
01528 #ifdef TEST_FRAMEWORK
01529       ast_debug(3, "CALL_ID [C-%08x] being removed from thread.\n", *id);
01530 #endif
01531       *id = 0;
01532    }
01533 
01534    if (!(*id) && callid) {
01535       *id = callid;
01536 #ifdef TEST_FRAMEWORK
01537       ast_debug(3, "CALL_ID [C-%08x] bound to thread.\n", callid);
01538 #endif
01539    }
01540 
01541    return 0;
01542 }

int ast_callid_threadassoc_remove ( void   ) 

Removes callid from thread storage of the calling thread.

Return values:
0 - success
non-zero - failure

Definition at line 1567 of file logger.c.

References ast_debug, ast_log, ast_threadstorage_get(), LOG_ERROR, and unique_callid.

Referenced by ast_callid_threadstorage_auto_clean(), attended_transfer_monitor_thread(), handle_request_do(), jingle_action_hook(), jingle_outgoing_hook(), and socket_process().

01568 {
01569    ast_callid *pointing;
01570 
01571    pointing = ast_threadstorage_get(&unique_callid, sizeof(*pointing));
01572    if (!(pointing)) {
01573       ast_log(LOG_ERROR, "Failed to allocate thread storage.\n");
01574       return -1;
01575    }
01576 
01577    if (!(*pointing)) {
01578       ast_log(LOG_ERROR, "Tried to clean callid thread storage with no callid in thread storage.\n");
01579       return -1;
01580    } else {
01581 #ifdef TEST_FRAMEWORK
01582       ast_debug(3, "CALL_ID [C-%08x] being removed from thread.\n", *pointing);
01583 #endif
01584       *pointing = 0;
01585       return 0;
01586    }
01587 }

int ast_callid_threadstorage_auto ( ast_callid callid  ) 

Checks thread storage for a callid and stores a reference if it exists. If not, then a new one will be created, bound to the thread, and a reference to it will be stored.

Parameters:
callid pointer to store the callid
Return values:
0 - callid was found
1 - callid was created
-1 - the function failed somehow (presumably memory problems)

Definition at line 1589 of file logger.c.

References ast_callid_threadassoc_add(), ast_create_callid(), ast_read_threadstorage_callid(), and tmp().

Referenced by __analog_handle_event(), analog_handle_init_event(), dahdi_handle_event(), dahdi_request(), do_monitor(), handle_init_event(), mwi_thread(), and my_new_analog_ast_channel().

01590 {
01591    ast_callid tmp;
01592 
01593    /* Start by trying to see if a callid is available from thread storage */
01594    tmp = ast_read_threadstorage_callid();
01595    if (tmp) {
01596       *callid = tmp;
01597       return 0;
01598    }
01599 
01600    /* If that failed, try to create a new one and bind it. */
01601    *callid = ast_create_callid();
01602    if (*callid) {
01603       ast_callid_threadassoc_add(*callid);
01604       return 1;
01605    }
01606 
01607    /* If neither worked, then something must have gone wrong. */
01608    return -1;
01609 }

void ast_callid_threadstorage_auto_clean ( ast_callid  callid,
int  callid_created 
)

Use in conjunction with ast_callid_threadstorage_auto. Cleans up the references and if the callid was created by threadstorage_auto, unbinds the callid from the threadstorage.

Parameters:
callid The callid set by ast_callid_threadstorage_auto
callid_created The integer returned through ast_callid_threadstorage_auto

Definition at line 1611 of file logger.c.

References ast_callid_threadassoc_remove().

Referenced by __analog_handle_event(), analog_handle_init_event(), dahdi_handle_event(), dahdi_new_callid_clean(), dahdi_request(), do_monitor(), handle_init_event(), and mwi_thread().

01612 {
01613    if (callid && callid_created) {
01614       /* If the callid was created rather than simply grabbed from the thread storage, we need to unbind here. */
01615       ast_callid_threadassoc_remove();
01616    }
01617 }

void ast_child_verbose ( int  level,
const char *  fmt,
  ... 
)

Definition at line 503 of file logger.c.

References ast_free, ast_malloc, and NULL.

Referenced by launch_script().

00504 {
00505    char *msg = NULL, *emsg = NULL, *sptr, *eptr;
00506    va_list ap, aq;
00507    int size;
00508 
00509    va_start(ap, fmt);
00510    va_copy(aq, ap);
00511    if ((size = vsnprintf(msg, 0, fmt, ap)) < 0) {
00512       va_end(ap);
00513       va_end(aq);
00514       return;
00515    }
00516    va_end(ap);
00517 
00518    if (!(msg = ast_malloc(size + 1))) {
00519       va_end(aq);
00520       return;
00521    }
00522 
00523    vsnprintf(msg, size + 1, fmt, aq);
00524    va_end(aq);
00525 
00526    if (!(emsg = ast_malloc(size * 2 + 1))) {
00527       ast_free(msg);
00528       return;
00529    }
00530 
00531    for (sptr = msg, eptr = emsg; ; sptr++) {
00532       if (*sptr == '"') {
00533          *eptr++ = '\\';
00534       }
00535       *eptr++ = *sptr;
00536       if (*sptr == '\0') {
00537          break;
00538       }
00539    }
00540    ast_free(msg);
00541 
00542    fprintf(stdout, "verbose \"%s\" %d\n", emsg, level);
00543    fflush(stdout);
00544    ast_free(emsg);
00545 }

void ast_console_puts ( const char *  string  ) 

write the string to the root console, and all attached network console clients

Definition at line 1405 of file asterisk.c.

01406 {
01407    /* Send to the root console */
01408    fputs(string, stdout);
01409    fflush(stdout);
01410 
01411    /* Send to any network console clients */
01412    ast_network_puts(string);
01413 }

void ast_console_puts_mutable ( const char *  string,
int  level 
)

log the string to the console, and all attached console clients

Version:
1.6.1 added level parameter

Definition at line 1376 of file asterisk.c.

References ast_network_puts_mutable().

Referenced by init_logger_chain(), logger_print_normal(), and make_logchannel().

01377 {
01378    /* Send to the root console */
01379    fputs(string, stdout);
01380    fflush(stdout);
01381 
01382    /* Send to any network console clients */
01383    ast_network_puts_mutable(string, level);
01384 }

void ast_console_toggle_loglevel ( int  fd,
int  level,
int  state 
)

enables or disables logging of a specified level to the console fd specifies the index of the console receiving the level change level specifies the index of the logging level being toggled state indicates whether logging will be on or off (0 for off, 1 for on)

Definition at line 1312 of file asterisk.c.

References AST_MAX_CONNECTS, consoles, console::levels, and NUMLOGLEVELS.

Referenced by handle_logger_set_level().

01313 {
01314    int x;
01315 
01316    if (level >= NUMLOGLEVELS) {
01317       level = NUMLOGLEVELS - 1;
01318    }
01319 
01320    for (x = 0;x < AST_MAX_CONNECTS; x++) {
01321       if (fd == consoles[x].fd) {
01322          /*
01323           * Since the logging occurs when levels are false, set to
01324           * flipped iinput because this function accepts 0 as off and 1 as on
01325           */
01326          consoles[x].levels[level] = state ? 0 : 1;
01327          return;
01328       }
01329    }
01330 }

void ast_console_toggle_mute ( int  fd,
int  silent 
)

mute or unmute a console from logging

Definition at line 1335 of file asterisk.c.

References ast_cli(), AST_MAX_CONNECTS, consoles, console::mute, and mute.

Referenced by handle_logger_mute().

01336 {
01337    int x;
01338    for (x = 0;x < AST_MAX_CONNECTS; x++) {
01339       if (fd == consoles[x].fd) {
01340          if (consoles[x].mute) {
01341             consoles[x].mute = 0;
01342             if (!silent)
01343                ast_cli(fd, "Console is not muted anymore.\n");
01344          } else {
01345             consoles[x].mute = 1;
01346             if (!silent)
01347                ast_cli(fd, "Console is muted.\n");
01348          }
01349          return;
01350       }
01351    }
01352    ast_cli(fd, "Couldn't find remote console.\n");
01353 }

ast_callid ast_create_callid ( void   ) 

factory function to create a new uniquely identifying callid.

Return values:
The call id

Definition at line 1497 of file logger.c.

References ast_atomic_fetchadd_int(), ast_debug, and call().

Referenced by __ast_pbx_run(), __find_call(), ast_callid_threadstorage_auto(), iax_pvt_callid_new(), and jingle_alloc().

01498 {
01499    ast_callid call;
01500 
01501    call = ast_atomic_fetchadd_int(&next_unique_callid, +1);
01502 #ifdef TEST_FRAMEWORK
01503    ast_debug(3, "CALL_ID [C-%08x] created by thread.\n", call);
01504 #endif
01505    return call;
01506 }

unsigned int ast_debug_get_by_module ( const char *  module  ) 

Get the debug level for a module.

Parameters:
module the name of module
Returns:
the debug level

Definition at line 133 of file main/cli.c.

References AST_LIST_TRAVERSE, AST_RWLIST_RDLOCK, AST_RWLIST_UNLOCK, debug_modules, module_level::level, and module_level::module.

Referenced by log_cb().

00134 {
00135    struct module_level *ml;
00136    unsigned int res = 0;
00137 
00138    AST_RWLIST_RDLOCK(&debug_modules);
00139    AST_LIST_TRAVERSE(&debug_modules, ml, entry) {
00140       if (!strcasecmp(ml->module, module)) {
00141          res = ml->level;
00142          break;
00143       }
00144    }
00145    AST_RWLIST_UNLOCK(&debug_modules);
00146 
00147    return res;
00148 }

static void ast_log ( int  level,
const char *  file,
int  line,
const char *  function,
const char *  fmt,
  ... 
)

Used for sending a log message This is the standard logger function. Probably the only way you will invoke it would be something like this: ast_log(AST_LOG_WHATEVER, "Problem with the %s Captain. We should get some more. Will %d be enough?\n", "flux capacitor", 10); where WHATEVER is one of ERROR, DEBUG, EVENT, NOTICE, or WARNING depending on which log you wish to output to. These are implemented as macros, that will provide the function with the needed arguments.

Parameters:
level Type of log event
file Will be provided by the AST_LOG_* macro
line Will be provided by the AST_LOG_* macro
function Will be provided by the AST_LOG_* macro
fmt This is what is important. The format is the same as your favorite breed of printf. You know how that works, right? :-)

Definition at line 135 of file ael_main.c.

00136 {
00137            va_list vars;
00138               va_start(vars,fmt);
00139          
00140                  printf("LOG: lev:%d file:%s  line:%d func: %s  ",
00141                                      level, file, line, function);
00142                     vprintf(fmt, vars);
00143                        fflush(stdout);
00144                           va_end(vars);
00145 }

void ast_log_backtrace ( void   ) 

Log a backtrace of the current thread's execution stack to the Asterisk log.

Definition at line 1758 of file logger.c.

01759 {
01760 #ifdef HAVE_BKTR
01761    struct ast_bt *bt;
01762    int i = 0;
01763    char **strings;
01764 
01765    if (!(bt = ast_bt_create())) {
01766       ast_log(LOG_WARNING, "Unable to allocate space for backtrace structure\n");
01767       return;
01768    }
01769 
01770    if ((strings = ast_bt_get_symbols(bt->addresses, bt->num_frames))) {
01771       ast_verbose("Got %d backtrace record%c\n", bt->num_frames, bt->num_frames != 1 ? 's' : ' ');
01772       for (i = 3; i < bt->num_frames - 2; i++) {
01773          ast_verbose("#%d: [%p] %s\n", i - 3, bt->addresses[i], strings[i]);
01774       }
01775 
01776       ast_std_free(strings);
01777    } else {
01778       ast_verbose("Could not allocate memory for backtrace\n");
01779    }
01780    ast_bt_destroy(bt);
01781 #else
01782    ast_log(LOG_WARNING, "Must run configure with '--with-execinfo' for stack backtraces.\n");
01783 #endif /* defined(HAVE_BKTR) */
01784 }

void ast_log_callid ( int  level,
const char *  file,
int  line,
const char *  function,
ast_callid  callid,
const char *  fmt,
  ... 
)

Used for sending a log message with a known call_id This is a modified logger function which is functionally identical to the above logger function, it just include a call_id argument as well. If NULL is specified here, no attempt will be made to join the log message with a call_id.

Parameters:
level Type of log event
file Will be provided by the AST_LOG_* macro
line Will be provided by the AST_LOG_* macro
function Will be provided by the AST_LOG_* macro
callid This is the ast_callid that is associated with the log message. May be NULL.
fmt This is what is important. The format is the same as your favorite breed of printf. You know how that works, right? :-)

Definition at line 1749 of file logger.c.

References ast_log_full().

Referenced by __ast_verbose_ap(), and ast_channel_destructor().

01750 {
01751    va_list ap;
01752    va_start(ap, fmt);
01753    ast_log_full(level, file, line, function, callid, fmt, ap);
01754    va_end(ap);
01755 }

void ast_log_safe ( int  level,
const char *  file,
int  line,
const char *  function,
const char *  fmt,
  ... 
)

Used for sending a log message with protection against recursion.

Note:
This function should be used by all error messages that might be directly or indirectly caused by logging.
See also:
ast_log for documentation on the parameters.

Definition at line 1723 of file logger.c.

References ast_log_full(), ast_read_threadstorage_callid(), ast_threadstorage_get_ptr(), ast_threadstorage_set_ptr(), and NULL.

Referenced by __ast_str_helper().

01724 {
01725    va_list ap;
01726    void *recursed = ast_threadstorage_get_ptr(&in_safe_log);
01727    ast_callid callid;
01728 
01729    if (recursed) {
01730       return;
01731    }
01732 
01733    if (ast_threadstorage_set_ptr(&in_safe_log, (void*)1)) {
01734       /* We've failed to set the flag that protects against
01735        * recursion, so bail. */
01736       return;
01737    }
01738 
01739    callid = ast_read_threadstorage_callid();
01740 
01741    va_start(ap, fmt);
01742    ast_log_full(level, file, line, function, callid, fmt, ap);
01743    va_end(ap);
01744 
01745    /* Clear flag so the next allocation failure can be logged. */
01746    ast_threadstorage_set_ptr(&in_safe_log, NULL);
01747 }

const char* ast_logger_get_dateformat ( void   ) 

Get the logger configured date format.

Return values:
The date format string
Since:
13.0.0

Definition at line 2146 of file logger.c.

Referenced by set_header().

02147 {
02148    return dateformat;
02149 }

int ast_logger_register_level ( const char *  name  ) 

Register a new logger level.

Parameters:
name The name of the level to be registered
Return values:
-1 if an error occurs
non-zero level to be used with ast_log for sending messages to this level
Since:
1.8

Definition at line 2064 of file logger.c.

References ARRAY_LEN, ast_debug, ast_log, AST_RWLIST_UNLOCK, AST_RWLIST_WRLOCK, ast_strdup, available(), levels, LOG_WARNING, and update_logchannels().

Referenced by ast_cc_init(), handle_cli_dynamic_level_test(), handle_cli_performance_test(), and load_module().

02065 {
02066    unsigned int level;
02067    unsigned int available = 0;
02068 
02069    AST_RWLIST_WRLOCK(&logchannels);
02070 
02071    for (level = 0; level < ARRAY_LEN(levels); level++) {
02072       if ((level >= 16) && !available && !levels[level]) {
02073          available = level;
02074          continue;
02075       }
02076 
02077       if (levels[level] && !strcasecmp(levels[level], name)) {
02078          ast_log(LOG_WARNING,
02079             "Unable to register dynamic logger level '%s': a standard logger level uses that name.\n",
02080             name);
02081          AST_RWLIST_UNLOCK(&logchannels);
02082 
02083          return -1;
02084       }
02085    }
02086 
02087    if (!available) {
02088       ast_log(LOG_WARNING,
02089          "Unable to register dynamic logger level '%s'; maximum number of levels registered.\n",
02090          name);
02091       AST_RWLIST_UNLOCK(&logchannels);
02092 
02093       return -1;
02094    }
02095 
02096    levels[available] = ast_strdup(name);
02097 
02098    AST_RWLIST_UNLOCK(&logchannels);
02099 
02100    ast_debug(1, "Registered dynamic logger level '%s' with index %u.\n", name, available);
02101 
02102    update_logchannels();
02103 
02104    return available;
02105 }

int ast_logger_rotate ( void   ) 

Reload logger while rotating log files.

Definition at line 917 of file logger.c.

References NULL, and reload_logger().

Referenced by action_loggerrotate().

00918 {
00919    return reload_logger(1, NULL);
00920 }

void ast_logger_unregister_level ( const char *  name  ) 

Unregister a previously registered logger level.

Parameters:
name The name of the level to be unregistered
Returns:
nothing
Since:
1.8

Definition at line 2107 of file logger.c.

References ARRAY_LEN, ast_debug, ast_free, AST_RWLIST_UNLOCK, AST_RWLIST_WRLOCK, levels, NULL, and update_logchannels().

Referenced by cc_shutdown(), handle_cli_dynamic_level_test(), handle_cli_performance_test(), load_module(), and unload_module().

02108 {
02109    unsigned int found = 0;
02110    unsigned int x;
02111 
02112    AST_RWLIST_WRLOCK(&logchannels);
02113 
02114    for (x = 16; x < ARRAY_LEN(levels); x++) {
02115       if (!levels[x]) {
02116          continue;
02117       }
02118 
02119       if (strcasecmp(levels[x], name)) {
02120          continue;
02121       }
02122 
02123       found = 1;
02124       break;
02125    }
02126 
02127    if (found) {
02128       /* take this level out of the global_logmask, to ensure that no new log messages
02129        * will be queued for it
02130        */
02131 
02132       global_logmask &= ~(1 << x);
02133 
02134       ast_free(levels[x]);
02135       levels[x] = NULL;
02136       AST_RWLIST_UNLOCK(&logchannels);
02137 
02138       ast_debug(1, "Unregistered dynamic logger level '%s' with index %u.\n", name, x);
02139 
02140       update_logchannels();
02141    } else {
02142       AST_RWLIST_UNLOCK(&logchannels);
02143    }
02144 }

void ast_queue_log ( const char *  queuename,
const char *  callid,
const char *  agent,
const char *  event,
const char *  fmt,
  ... 
)

Definition at line 547 of file logger.c.

Referenced by aqm_exec(), find_queue_by_name_rt(), handle_blind_transfer(), handle_hangup(), handle_queue_add_member(), handle_queue_remove_member(), log_attended_transfer(), logger_queue_start(), manager_add_queue_member(), manager_queue_log_custom(), manager_remove_queue_member(), ql_exec(), queue_agent_cb(), queue_exec(), reload_logger(), rna(), rqm_exec(), rt_handle_member_record(), set_member_paused(), set_member_penalty_help_members(), set_member_ringinuse_help_members(), try_calling(), update_realtime_members(), and wait_our_turn().

00548 {
00549    va_list ap;
00550    struct timeval tv;
00551    struct ast_tm tm;
00552    char qlog_msg[8192];
00553    int qlog_len;
00554    char time_str[30];
00555 
00556    if (!logger_initialized) {
00557       /* You are too early.  We are not open yet! */
00558       return;
00559    }
00560    if (!queuelog_init) {
00561       /* We must initialize now since someone is trying to log something. */
00562       logger_queue_start();
00563    }
00564 
00565    if (ast_check_realtime("queue_log")) {
00566       tv = ast_tvnow();
00567       ast_localtime(&tv, &tm, logfiles.queue_log_realtime_use_gmt ? "GMT" : NULL);
00568       ast_strftime(time_str, sizeof(time_str), "%F %T.%6q", &tm);
00569       va_start(ap, fmt);
00570       vsnprintf(qlog_msg, sizeof(qlog_msg), fmt, ap);
00571       va_end(ap);
00572       if (logfiles.queue_adaptive_realtime) {
00573          AST_DECLARE_APP_ARGS(args,
00574             AST_APP_ARG(data)[5];
00575          );
00576          AST_NONSTANDARD_APP_ARGS(args, qlog_msg, '|');
00577          /* Ensure fields are large enough to receive data */
00578          ast_realtime_require_field("queue_log",
00579             "data1", RQ_CHAR, strlen(S_OR(args.data[0], "")),
00580             "data2", RQ_CHAR, strlen(S_OR(args.data[1], "")),
00581             "data3", RQ_CHAR, strlen(S_OR(args.data[2], "")),
00582             "data4", RQ_CHAR, strlen(S_OR(args.data[3], "")),
00583             "data5", RQ_CHAR, strlen(S_OR(args.data[4], "")),
00584             SENTINEL);
00585 
00586          /* Store the log */
00587          ast_store_realtime("queue_log", "time", time_str,
00588             "callid", callid,
00589             "queuename", queuename,
00590             "agent", agent,
00591             "event", event,
00592             "data1", S_OR(args.data[0], ""),
00593             "data2", S_OR(args.data[1], ""),
00594             "data3", S_OR(args.data[2], ""),
00595             "data4", S_OR(args.data[3], ""),
00596             "data5", S_OR(args.data[4], ""),
00597             SENTINEL);
00598       } else {
00599          ast_store_realtime("queue_log", "time", time_str,
00600             "callid", callid,
00601             "queuename", queuename,
00602             "agent", agent,
00603             "event", event,
00604             "data", qlog_msg,
00605             SENTINEL);
00606       }
00607 
00608       if (!logfiles.queue_log_to_file) {
00609          return;
00610       }
00611    }
00612 
00613    if (qlog) {
00614       va_start(ap, fmt);
00615       qlog_len = snprintf(qlog_msg, sizeof(qlog_msg), "%ld|%s|%s|%s|%s|", (long)time(NULL), callid, queuename, agent, event);
00616       vsnprintf(qlog_msg + qlog_len, sizeof(qlog_msg) - qlog_len, fmt, ap);
00617       va_end(ap);
00618       AST_RWLIST_RDLOCK(&logchannels);
00619       if (qlog) {
00620          fprintf(qlog, "%s\n", qlog_msg);
00621          fflush(qlog);
00622       }
00623       AST_RWLIST_UNLOCK(&logchannels);
00624    }
00625 }

ast_callid ast_read_threadstorage_callid ( void   ) 

extracts the callerid from the thread

Return values:
Non-zero Call id related to the thread
0 if no call_id is present in the thread

Definition at line 1508 of file logger.c.

References ast_threadstorage_get(), and unique_callid.

Referenced by __ast_pbx_run(), __ast_verbose(), ast_bridge_impart(), ast_callid_threadstorage_auto(), ast_dial_run(), ast_log(), ast_log_safe(), ast_verbose(), bridge_channel_internal_join(), common_recall_channel_setup(), iax2_request(), jingle_alloc(), launch_monitor_thread(), local_request(), media_request_helper(), sip_request_call(), and socket_process().

01509 {
01510    ast_callid *callid;
01511 
01512    callid = ast_threadstorage_get(&unique_callid, sizeof(*callid));
01513 
01514    return callid ? *callid : 0;
01515 
01516 }

int ast_register_verbose ( void(*)(const char *string verboser  ) 

Definition at line 2014 of file logger.c.

Referenced by ast_makesocket(), and print_intro_message().

02015 {
02016    struct verb *verb;
02017 
02018    if (!(verb = ast_malloc(sizeof(*verb))))
02019       return -1;
02020 
02021    verb->verboser = v;
02022 
02023    AST_RWLIST_WRLOCK(&verbosers);
02024    AST_RWLIST_INSERT_HEAD(&verbosers, verb, list);
02025    AST_RWLIST_UNLOCK(&verbosers);
02026 
02027    return 0;
02028 }

int ast_unregister_verbose ( void(*)(const char *string verboser  ) 

Definition at line 2030 of file logger.c.

02031 {
02032    struct verb *cur;
02033 
02034    AST_RWLIST_WRLOCK(&verbosers);
02035    AST_RWLIST_TRAVERSE_SAFE_BEGIN(&verbosers, cur, list) {
02036       if (cur->verboser == v) {
02037          AST_RWLIST_REMOVE_CURRENT(list);
02038          ast_free(cur);
02039          break;
02040       }
02041    }
02042    AST_RWLIST_TRAVERSE_SAFE_END;
02043    AST_RWLIST_UNLOCK(&verbosers);
02044 
02045    return cur ? 0 : -1;
02046 }

int ast_verb_console_get ( void   ) 

Get this thread's console verbosity level.

Return values:
verbosity level of the console.

Definition at line 1977 of file logger.c.

References AST_RWLIST_RDLOCK, AST_RWLIST_UNLOCK, ast_threadstorage_get(), verb_console::level, my_verb_console, and option_verbose.

Referenced by handle_show_settings(), handle_verbose(), and remoteconsolehandler().

01978 {
01979    struct verb_console *console;
01980    int verb_level;
01981 
01982    console = ast_threadstorage_get(&my_verb_console, sizeof(*console));
01983    AST_RWLIST_RDLOCK(&verb_consoles);
01984    if (!console) {
01985       verb_level = 0;
01986    } else if (console->level) {
01987       verb_level = *console->level;
01988    } else {
01989       verb_level = option_verbose;
01990    }
01991    AST_RWLIST_UNLOCK(&verb_consoles);
01992    return verb_level;
01993 }

void ast_verb_console_register ( int *  level  ) 

Register this thread's console verbosity level pointer.

Parameters:
level Where the verbose level value is.
Returns:
Nothing

Definition at line 1950 of file logger.c.

References AST_RWLIST_INSERT_HEAD, AST_RWLIST_UNLOCK, AST_RWLIST_WRLOCK, ast_threadstorage_get(), ast_verb_update(), verb_console::level, and my_verb_console.

Referenced by netconsole().

01951 {
01952    struct verb_console *console;
01953 
01954    console = ast_threadstorage_get(&my_verb_console, sizeof(*console));
01955    if (!console || !level) {
01956       return;
01957    }
01958    console->level = level;
01959 
01960    AST_RWLIST_WRLOCK(&verb_consoles);
01961    AST_RWLIST_INSERT_HEAD(&verb_consoles, console, node);
01962    AST_RWLIST_UNLOCK(&verb_consoles);
01963    ast_verb_update();
01964 }

void ast_verb_console_set ( int  verb_level  ) 

Set this thread's console verbosity level.

Parameters:
verb_level New level to set.
Returns:
Nothing

Definition at line 1995 of file logger.c.

References AST_RWLIST_UNLOCK, AST_RWLIST_WRLOCK, ast_threadstorage_get(), ast_verb_update(), verb_console::level, my_verb_console, and option_verbose.

Referenced by handle_verbose(), and remoteconsolehandler().

01996 {
01997    struct verb_console *console;
01998 
01999    console = ast_threadstorage_get(&my_verb_console, sizeof(*console));
02000    if (!console) {
02001       return;
02002    }
02003 
02004    AST_RWLIST_WRLOCK(&verb_consoles);
02005    if (console->level) {
02006       *console->level = verb_level;
02007    } else {
02008       option_verbose = verb_level;
02009    }
02010    AST_RWLIST_UNLOCK(&verb_consoles);
02011    ast_verb_update();
02012 }

void ast_verb_console_unregister ( void   ) 

Unregister this thread's console verbosity level.

Returns:
Nothing

Definition at line 1966 of file logger.c.

References ast_threadstorage_get(), my_verb_console, and verb_console_unregister().

Referenced by netconsole().

01967 {
01968    struct verb_console *console;
01969 
01970    console = ast_threadstorage_get(&my_verb_console, sizeof(*console));
01971    if (!console) {
01972       return;
01973    }
01974    verb_console_unregister(console);
01975 }

void ast_verb_update ( void   ) 

Re-evaluate the system max verbosity level (ast_verb_sys_level).

Returns:
Nothing

Definition at line 1886 of file logger.c.

References AST_LIST_TRAVERSE, ast_mutex_lock, ast_mutex_unlock, AST_RWLIST_RDLOCK, AST_RWLIST_TRAVERSE, AST_RWLIST_UNLOCK, ast_verb_sys_level, verb_console::level, logchannel::list, option_verbose, and logchannel::verbosity.

Referenced by ast_verb_console_register(), ast_verb_console_set(), init_logger(), reload_logger(), and verb_console_unregister().

01887 {
01888    struct logchannel *log;
01889    struct verb_console *console;
01890    int verb_level;
01891 
01892    ast_mutex_lock(&verb_update_lock);
01893 
01894    AST_RWLIST_RDLOCK(&verb_consoles);
01895 
01896    /* Default to the root console verbosity. */
01897    verb_level = option_verbose;
01898 
01899    /* Determine max remote console level. */
01900    AST_LIST_TRAVERSE(&verb_consoles, console, node) {
01901       if (verb_level < *console->level) {
01902          verb_level = *console->level;
01903       }
01904    }
01905    AST_RWLIST_UNLOCK(&verb_consoles);
01906 
01907    /* Determine max logger channel level. */
01908    AST_RWLIST_RDLOCK(&logchannels);
01909    AST_RWLIST_TRAVERSE(&logchannels, log, list) {
01910       if (verb_level < log->verbosity) {
01911          verb_level = log->verbosity;
01912       }
01913    }
01914    AST_RWLIST_UNLOCK(&logchannels);
01915 
01916    ast_verb_sys_level = verb_level;
01917 
01918    ast_mutex_unlock(&verb_update_lock);
01919 }

unsigned int ast_verbose_get_by_module ( const char *  module  ) 

Get the verbose level for a module.

Parameters:
module the name of module
Returns:
the verbose level
Version:
11.0.0 deprecated

Definition at line 150 of file main/cli.c.

00151 {
00152    return 0;
00153 }

int logger_reload ( void   ) 

Reload logger without rotating log files.

Definition at line 871 of file logger.c.

References NULL, reload_logger(), RESULT_FAILURE, and RESULT_SUCCESS.

00872 {
00873    if (reload_logger(0, NULL)) {
00874       return RESULT_FAILURE;
00875    }
00876    return RESULT_SUCCESS;
00877 }


Generated on Thu Apr 16 06:31:51 2015 for Asterisk - The Open Source Telephony Project by  doxygen 1.5.6