FreeSWITCH API Documentation
1.7.0
|
Data Types. More...
Go to the source code of this file.
Data Structures | |
struct | switch_dtmf_t |
struct | switch_bitpack_t |
struct | switch_directories |
struct | switch_filenames |
struct | error_period |
struct | switch_rtp_numbers_t |
struct | switch_rtcp_numbers_t |
struct | switch_rtp_stats_t |
struct | switch_rtp_hdr_t |
struct | switch_rtp_hdr_ext_t |
struct | switch_rtcp_hdr_s |
struct | audio_buffer_header_s |
struct | switch_t38_options_t |
struct | switch_vid_params_s |
struct | switch_console_callback_match_node |
struct | switch_console_callback_match |
struct | switch_ivr_dmachine_match |
struct | switch_input_args_t |
struct | switch_say_args_t |
struct | switch_loadable_module_function_table |
struct | payload_map_s |
struct | switch_waitlist_s |
Variables | |
switch_directories | SWITCH_GLOBAL_dirs |
switch_filenames | SWITCH_GLOBAL_filenames |
Data Types.
Definition in file switch_types.h.
#define arg_recursion_check_start | ( | _args | ) |
Definition at line 2358 of file switch_types.h.
Referenced by switch_ivr_collect_digits_callback(), switch_ivr_gentones(), switch_ivr_park(), switch_ivr_phrase_macro_event(), switch_ivr_play_and_detect_speech(), switch_ivr_play_file(), switch_ivr_record_file(), switch_ivr_say(), switch_ivr_say_ip(), switch_ivr_say_spell(), switch_ivr_session_echo(), switch_ivr_sleep(), switch_ivr_speak_text(), and switch_ivr_speak_text_handle().
#define arg_recursion_check_stop | ( | _args | ) | if (_args) _args->loops-- |
Definition at line 2367 of file switch_types.h.
Referenced by switch_ivr_collect_digits_callback(), switch_ivr_gentones(), switch_ivr_park(), switch_ivr_phrase_macro_event(), switch_ivr_play_and_detect_speech(), switch_ivr_play_file(), switch_ivr_record_file(), switch_ivr_say(), switch_ivr_say_ip(), switch_ivr_say_spell(), switch_ivr_sleep(), switch_ivr_speak_text(), and switch_ivr_speak_text_handle().
#define DMACHINE_MAX_DIGIT_LEN 512 |
Definition at line 2335 of file switch_types.h.
Referenced by switch_ivr_dmachine_bind().
#define IPDV_THRESHOLD 1.0 |
Definition at line 240 of file switch_types.h.
Referenced by check_jitter().
#define JITTER_VARIANCE_THRESHOLD 400.0 |
Definition at line 238 of file switch_types.h.
#define LOST_BURST_ANALYZE 500 |
Definition at line 242 of file switch_types.h.
Referenced by burstr_calculate().
#define LOST_BURST_CAPTURE 1024 |
Definition at line 244 of file switch_types.h.
Referenced by check_jitter().
#define MAX_ARG_RECURSION 25 |
Definition at line 2356 of file switch_types.h.
#define SWITCH_ACCEPTABLE_INTERVAL | ( | _i | ) | (_i && _i <= SWITCH_MAX_INTERVAL && (_i % 10) == 0) |
Definition at line 563 of file switch_types.h.
#define SWITCH_ADVERTISED_MEDIA_IP_VARIABLE "advertised_media_ip" |
Definition at line 209 of file switch_types.h.
Referenced by switch_core_media_activate_rtp(), switch_core_media_choose_port(), and switch_core_media_recover_session().
#define SWITCH_API_BRIDGE_END_VARIABLE "api_after_bridge" |
Definition at line 172 of file switch_types.h.
Referenced by audio_bridge_thread().
#define SWITCH_API_BRIDGE_START_VARIABLE "api_before_bridge" |
Definition at line 173 of file switch_types.h.
Referenced by audio_bridge_thread().
#define SWITCH_API_HANGUP_HOOK_VARIABLE "api_hangup_hook" |
Definition at line 174 of file switch_types.h.
Referenced by switch_core_session_hangup_state().
#define SWITCH_API_REPORTING_HOOK_VARIABLE "api_reporting_hook" |
Definition at line 175 of file switch_types.h.
Referenced by switch_core_session_reporting_state().
#define SWITCH_API_VERSION 5 |
Definition at line 2422 of file switch_types.h.
Referenced by switch_loadable_module_load_file().
#define SWITCH_ATT_XFER_RESULT_VARIABLE "att_xfer_result" |
Definition at line 137 of file switch_types.h.
#define SWITCH_AUDIO_SPOOL_PATH_VARIABLE "audio_spool_path" |
Definition at line 126 of file switch_types.h.
Referenced by switch_core_perform_file_open().
#define SWITCH_B_SDP_VARIABLE "switch_m_sdp" |
Definition at line 198 of file switch_types.h.
Referenced by switch_channel_pass_sdp(), switch_core_media_absorb_sdp(), and switch_ivr_originate().
#define SWITCH_BITS_PER_BYTE 8 |
Definition at line 228 of file switch_types.h.
Referenced by DoxyDefine(), if(), pack_check_over(), and while().
#define SWITCH_BLANK_STRING "" |
Definition at line 47 of file switch_types.h.
Referenced by collect_thread_run(), switch_caller_profile_new(), switch_channel_flip_cid(), switch_channel_set_profile_var(), switch_core_perform_permanent_strdup(), switch_core_perform_session_strdup(), switch_core_perform_strdup(), switch_get_addr(), switch_ivr_originate(), switch_strip_spaces(), and switch_strip_whitespace().
#define SWITCH_BRIDGE_CHANNEL_VARIABLE "bridge_channel" |
Definition at line 180 of file switch_types.h.
Referenced by switch_ivr_multi_threaded_bridge(), and switch_ivr_uuid_bridge().
#define SWITCH_BRIDGE_EXPORT_VARS_VARIABLE "bridge_export_vars" |
Definition at line 195 of file switch_types.h.
Referenced by check_bridge_export().
#define SWITCH_BRIDGE_HANGUP_CAUSE_VARIABLE "bridge_hangup_cause" |
Definition at line 127 of file switch_types.h.
Referenced by switch_ivr_multi_threaded_bridge().
#define SWITCH_BRIDGE_UUID_VARIABLE "bridge_uuid" |
Definition at line 182 of file switch_types.h.
Referenced by cleanup_proxy_mode_a(), switch_ivr_multi_threaded_bridge(), and switch_ivr_uuid_bridge().
#define SWITCH_BRIDGE_VARIABLE "bridge_to" |
Definition at line 199 of file switch_types.h.
Referenced by audio_bridge_thread(), cleanup_proxy_mode_a(), signal_bridge_on_hangup(), signal_bridge_on_hibernate(), switch_ivr_3p_nomedia(), switch_ivr_multi_threaded_bridge(), switch_ivr_nomedia(), switch_ivr_session_transfer(), and SWITCH_STANDARD_SCHED_FUNC().
#define SWITCH_BYPASS_MEDIA_AFTER_BRIDGE_VARIABLE "bypass_media_after_bridge" |
Definition at line 135 of file switch_types.h.
#define SWITCH_BYPASS_MEDIA_VARIABLE "bypass_media" |
Definition at line 188 of file switch_types.h.
Referenced by switch_ivr_originate().
#define SWITCH_BYTES_PER_SAMPLE 2 /* slin is 2 bytes per sample */ |
Definition at line 556 of file switch_types.h.
#define SWITCH_CACHE_SPEECH_HANDLES_OBJ_NAME "__cache_speech_handles_obj__" |
Definition at line 187 of file switch_types.h.
Referenced by switch_ivr_clear_speech_cache(), and switch_ivr_speak_text().
#define SWITCH_CACHE_SPEECH_HANDLES_VARIABLE "cache_speech_handles" |
Definition at line 186 of file switch_types.h.
Referenced by switch_ivr_speak_text().
#define SWITCH_CALL_TIMEOUT_VARIABLE "call_timeout" |
Definition at line 169 of file switch_types.h.
Referenced by switch_ivr_originate(), and switch_ivr_wait_for_answer().
#define SWITCH_CHANNEL_API_ON_ANSWER_VARIABLE "api_on_answer" |
Definition at line 160 of file switch_types.h.
Referenced by switch_channel_perform_mark_answered().
#define SWITCH_CHANNEL_API_ON_MEDIA_VARIABLE "api_on_media" |
Definition at line 162 of file switch_types.h.
Referenced by switch_channel_perform_mark_answered(), and switch_channel_perform_mark_pre_answered().
#define SWITCH_CHANNEL_API_ON_ORIGINATE_VARIABLE "api_on_originate" |
Definition at line 165 of file switch_types.h.
Referenced by switch_ivr_originate().
#define SWITCH_CHANNEL_API_ON_POST_ORIGINATE_VARIABLE "api_on_post_originate" |
Definition at line 166 of file switch_types.h.
Referenced by switch_ivr_originate().
#define SWITCH_CHANNEL_API_ON_PRE_ANSWER_VARIABLE "api_on_pre_answer" |
Definition at line 161 of file switch_types.h.
Referenced by switch_channel_perform_mark_pre_answered().
#define SWITCH_CHANNEL_API_ON_PRE_ORIGINATE_VARIABLE "api_on_pre_originate" |
Definition at line 167 of file switch_types.h.
Referenced by switch_ivr_originate().
#define SWITCH_CHANNEL_API_ON_RING_VARIABLE "api_on_ring" |
Definition at line 163 of file switch_types.h.
Referenced by switch_channel_perform_mark_ring_ready_value().
#define SWITCH_CHANNEL_API_ON_TONE_DETECT_VARIABLE "api_on_tone_detect" |
Definition at line 164 of file switch_types.h.
Referenced by tone_on_dtmf().
#define SWITCH_CHANNEL_CHANNEL_LOG | ( | x | ) | SWITCH_CHANNEL_ID_SESSION, __FILE__, __SWITCH_FUNC__, __LINE__, (const char*)switch_channel_get_session(x) |
Definition at line 1251 of file switch_types.h.
Referenced by _switch_core_media_pass_zrtp_hash2(), check_channel_status(), do_api_on(), inherit_codec(), process_device_hup(), setup_ringback(), speech_thread(), switch_channel_add_variable_var_check(), switch_channel_check_device_state(), switch_channel_clear_device_record(), switch_channel_dequeue_dtmf(), switch_channel_expand_variables_check(), switch_channel_queue_dtmf(), switch_channel_queue_dtmf_string(), switch_channel_set_device_id(), switch_channel_set_name(), switch_channel_set_variable_var_check(), switch_core_media_find_zrtp_hash(), switch_core_media_pass_zrtp_hash(), switch_core_media_process_sdp_filter(), switch_core_media_set_r_sdp_codec_string(), switch_ivr_originate(), and switch_ivr_wait_for_answer().
#define SWITCH_CHANNEL_EVENT SWITCH_CHANNEL_ID_EVENT, __FILE__, __SWITCH_FUNC__, __LINE__, NULL |
Definition at line 1249 of file switch_types.h.
#define SWITCH_CHANNEL_EXECUTE_ON_ANSWER_VARIABLE "execute_on_answer" |
Definition at line 148 of file switch_types.h.
Referenced by switch_channel_perform_mark_answered().
#define SWITCH_CHANNEL_EXECUTE_ON_MEDIA_VARIABLE "execute_on_media" |
Definition at line 150 of file switch_types.h.
Referenced by switch_channel_perform_mark_answered(), and switch_channel_perform_mark_pre_answered().
#define SWITCH_CHANNEL_EXECUTE_ON_ORIGINATE_VARIABLE "execute_on_originate" |
Definition at line 153 of file switch_types.h.
Referenced by switch_ivr_originate().
#define SWITCH_CHANNEL_EXECUTE_ON_POST_BRIDGE_VARIABLE "execute_on_post_bridge" |
Definition at line 158 of file switch_types.h.
Referenced by audio_bridge_thread().
#define SWITCH_CHANNEL_EXECUTE_ON_POST_ORIGINATE_VARIABLE "execute_on_post_originate" |
Definition at line 154 of file switch_types.h.
Referenced by switch_ivr_originate().
#define SWITCH_CHANNEL_EXECUTE_ON_PRE_ANSWER_VARIABLE "execute_on_pre_answer" |
Definition at line 149 of file switch_types.h.
Referenced by switch_channel_perform_mark_pre_answered().
#define SWITCH_CHANNEL_EXECUTE_ON_PRE_BRIDGE_VARIABLE "execute_on_pre_bridge" |
Definition at line 157 of file switch_types.h.
Referenced by audio_bridge_thread().
#define SWITCH_CHANNEL_EXECUTE_ON_PRE_ORIGINATE_VARIABLE "execute_on_pre_originate" |
Definition at line 155 of file switch_types.h.
Referenced by switch_ivr_originate().
#define SWITCH_CHANNEL_EXECUTE_ON_RING_VARIABLE "execute_on_ring" |
Definition at line 151 of file switch_types.h.
Referenced by switch_channel_perform_mark_ring_ready_value().
#define SWITCH_CHANNEL_EXECUTE_ON_TONE_DETECT_VARIABLE "execute_on_tone_detect" |
Definition at line 152 of file switch_types.h.
Referenced by tone_detect_callback(), and tone_on_dtmf().
#define SWITCH_CHANNEL_LOG SWITCH_CHANNEL_ID_LOG, __FILE__, __SWITCH_FUNC__, __LINE__, NULL |
Definition at line 1246 of file switch_types.h.
Referenced by _switch_cache_db_get_db_handle(), Event::addBody(), Event::addHeader(), EventConsumer::bind(), IVRMenu::bindAction(), chat_thread_run(), check_jitter(), check_queue(), check_rtcp_and_ice(), console_log(), console_xml_config(), core_event_handler(), Event::delHeader(), do_chat_send(), do_flush(), do_shutdown(), do_trans(), Event::Event(), event_handler(), exec_cb(), Event::fire(), freeswitch_kill_background(), fs_consol_log(), get_backend(), get_pmp_pubaddr(), get_upnp_pubaddr(), Event::getBody(), Event::getHeader(), Event::getType(), handle_rfc2833(), hanguphook(), init_nat_monitor(), init_upnp(), is_valid_action(), load_configuration(), log_thread(), next_cpu(), CoreSession::originate(), pool_thread(), preprocess(), preprocess_exec(), preprocess_exec_set(), preprocess_glob(), read_rtcp_packet(), read_rtp_packet(), recover_callback(), rtp_common_write(), rtp_write_ready(), Event::setPriority(), sql_close(), sql_in_thread(), switch_cache_db_execute_sql2str(), switch_cache_db_execute_sql_callback(), switch_cache_db_execute_sql_callback_err(), switch_cache_db_execute_sql_event_callback(), switch_cache_db_execute_sql_event_callback_err(), switch_cache_db_execute_sql_real(), switch_cache_db_load_extension(), switch_cache_db_persistant_execute(), switch_cache_db_persistant_execute_trans_full(), switch_cache_db_test_reactive(), switch_channel_invert_cid(), switch_console_complete(), switch_console_execute(), switch_console_expand_alias(), switch_console_list_uuid(), switch_console_save_history(), switch_console_set_alias(), switch_console_stream_write(), switch_core_asr_feed(), switch_core_asr_open(), switch_core_cert_extract_fingerprint(), switch_core_cert_gen_fingerprint(), switch_core_codec_add_implementation(), switch_core_codec_control(), switch_core_codec_decode(), switch_core_codec_decode_video(), switch_core_codec_destroy(), switch_core_codec_encode(), switch_core_codec_encode_video(), switch_core_codec_init_with_bitrate(), switch_core_db_exec(), switch_core_db_load_extension(), switch_core_db_open_file(), switch_core_db_persistant_execute_trans(), switch_core_db_test_reactive(), switch_core_destroy(), switch_core_directory_open(), switch_core_execute_chat_app(), switch_core_file_close(), switch_core_file_read(), switch_core_file_write(), switch_core_init_and_modload(), switch_core_launch_thread(), switch_core_media_add_crypto(), switch_core_media_ext_address_lookup(), switch_core_media_gen_local_sdp(), switch_core_media_set_udptl_image_sdp(), switch_core_memory_reclaim(), switch_core_memory_reclaim_events(), switch_core_memory_stop(), switch_core_perform_file_open(), switch_core_port_allocator_new(), switch_core_port_allocator_request_port(), switch_core_recovery_flush(), switch_core_recovery_recover(), switch_core_session_ctl(), switch_core_session_get_app_flags(), switch_core_session_read_video_frame(), switch_core_session_request_by_name(), switch_core_session_request_uuid(), switch_core_session_thread_pool_worker(), switch_core_speech_open(), switch_core_speech_read_tts(), switch_core_sqldb_pause(), switch_core_sqldb_resume(), switch_core_sqldb_start(), switch_core_sqldb_start_thread(), switch_core_sqldb_stop_thread(), switch_core_timer_check(), switch_core_timer_destroy(), switch_core_timer_init(), switch_core_timer_next(), switch_core_timer_step(), switch_core_timer_sync(), switch_dow_cmp(), switch_event_bind_removable(), switch_event_channel_broadcast(), switch_event_channel_deliver_thread(), switch_event_channel_unsub_head(), switch_event_create_brackets(), switch_event_destroy(), switch_event_dispatch_thread(), switch_event_expand_headers_check(), switch_event_free_subclass_detailed(), switch_event_init(), switch_event_launch_dispatch_threads(), switch_event_shutdown(), switch_event_unbind(), switch_event_unbind_callback(), switch_fd_read_dline(), switch_fp_read_dline(), switch_img_from_raw(), switch_img_patch(), switch_img_patch_png(), switch_img_read_png(), switch_img_scale(), switch_img_to_raw(), switch_img_txt_handle_create(), switch_img_txt_handle_render(), switch_img_write_png(), switch_ivr_check_presence_mapping(), switch_ivr_digit_stream_parser_del_event(), switch_ivr_digit_stream_parser_new(), switch_ivr_digit_stream_parser_set_event(), switch_ivr_dmachine_bind(), switch_ivr_dmachine_clear_realm(), switch_ivr_dmachine_feed(), switch_ivr_dmachine_set_realm(), switch_ivr_dmachine_set_terminators(), switch_ivr_menu_init(), switch_ivr_menu_stack_xml_add(), switch_ivr_menu_stack_xml_build(), switch_ivr_menu_stack_xml_init(), switch_ivr_video_write_overlay_session(), switch_jb_put_packet(), switch_limit_init(), switch_limit_interval_reset(), switch_limit_reset(), switch_limit_status(), switch_limit_usage(), switch_load_core_config(), switch_load_network_lists(), switch_load_timezones(), switch_loadable_module_build_dynamic(), switch_loadable_module_create_interface(), switch_loadable_module_exec(), switch_loadable_module_init(), switch_loadable_module_load_file(), switch_loadable_module_load_module_ex(), switch_loadable_module_process(), switch_loadable_module_runtime(), switch_loadable_module_sort_codecs(), switch_loadable_module_unload_module(), switch_loadable_module_unprocess(), switch_lookup_timezone(), SWITCH_MODULE_LOAD_FUNCTION(), SWITCH_MODULE_RUNTIME_FUNCTION(), switch_nat_add_mapping_internal(), switch_nat_add_mapping_pmp(), switch_nat_add_mapping_upnp(), switch_nat_del_mapping_pmp(), switch_nat_del_mapping_upnp(), switch_nat_init(), switch_nat_multicast_runtime(), switch_nat_republish(), switch_nat_thread_start(), switch_nat_thread_stop(), switch_network_list_perform_add_cidr_token(), switch_odbc_handle_connect(), switch_odbc_handle_disconnect(), switch_odbc_handle_exec(), switch_parse_codec_buf(), switch_pgsql_flush(), switch_pgsql_handle_connect(), switch_pgsql_handle_disconnect(), switch_pgsql_next_result_timed(), switch_pgsql_send_query(), switch_pgsql_SQLEndTran(), switch_regex_match_partial(), switch_regex_perform(), switch_rtp_init(), switch_rtp_shutdown(), switch_rtp_write_raw(), switch_scheduler_add_task(), switch_scheduler_del_task_group(), switch_scheduler_del_task_id(), switch_scheduler_task_thread(), switch_scheduler_task_thread_stop(), switch_simple_email(), switch_speex_fmtp_parse(), switch_speex_init(), switch_sql_queue_manager_destroy(), switch_sql_queue_manager_push(), switch_sql_queue_manager_push_confirm(), switch_sql_queue_manager_start(), switch_sql_queue_manager_stop(), switch_system_fork(), switch_system_thread(), switch_thread_join(), switch_time_calibrate_clock(), switch_time_sync(), switch_user_sql_thread(), switch_xml_ampencode(), switch_xml_config_parse_event(), switch_xml_config_parse_module_settings(), switch_xml_free(), switch_xml_locate(), switch_xml_locate_language(), switch_xml_locate_user_cache(), switch_xml_locate_user_merged(), switch_xml_parse_file_simple(), switch_xml_std_datetime_check(), system_thread(), task_thread_loop(), thread_launch_failure(), timer_destroy(), timer_init(), and video_helper_thread().
#define SWITCH_CHANNEL_LOG_CLEAN SWITCH_CHANNEL_ID_LOG_CLEAN, __FILE__, __SWITCH_FUNC__, __LINE__, NULL |
Definition at line 1247 of file switch_types.h.
Referenced by console_clean_log(), fs_consol_clean(), switch_console_loop(), and switch_xml_config_item_print_doc().
#define SWITCH_CHANNEL_NAME_VARIABLE "channel_name" |
Definition at line 181 of file switch_types.h.
Referenced by switch_channel_set_name().
#define SWITCH_CHANNEL_SESSION_LOG | ( | x | ) | SWITCH_CHANNEL_ID_SESSION, __FILE__, __SWITCH_FUNC__, __LINE__, (const char*)(x) |
Definition at line 1250 of file switch_types.h.
Referenced by api_hook(), audio_bridge_on_consume_media(), audio_bridge_on_routing(), audio_bridge_thread(), bridge(), check_channel_status(), check_dtls_reinvite(), check_ice(), check_jb(), check_jb_sync(), check_jitter(), check_rtcp_and_ice(), collect_thread_run(), CoreSession::consoleLog(), CoreSession::destroy(), do_2833(), do_dtls(), do_flush(), do_mos(), dtls_state_handshake(), dtls_state_setup(), early_thread_run(), eavesdrop_callback(), enable_local_rtcp_socket(), enable_remote_rtcp_socket(), API::execute(), CoreSession::execute(), API::executeString(), fs_switch_ivr_originate(), generate_m(), CoreSession::getDigits(), handle_ice(), handle_nack(), handle_rfc2833(), CoreSession::hangup(), ice_out(), inband_dtmf_callback(), inband_dtmf_generate_callback(), ip_choose_family(), limit_state_handler(), meta_on_dtmf(), monitor_callback(), play_and_collect(), play_and_detect_input_callback(), process_rtcp_packet(), process_rtcp_report(), read_rtcp_packet(), read_rtp_packet(), record_callback(), recording_thread(), recover_callback(), rtcp_generate_report_block(), rtcp_generate_sender_info(), rtcp_stats(), rtcp_stats_init(), rtp_common_read(), rtp_common_write(), CoreSession::say(), CoreSession::sayPhrase(), set_dtmf_delay(), CoreSession::set_tts_parms(), CoreSession::setHangupHook(), setup_ringback(), CoreSession::setVariable(), signal_bridge_on_hibernate(), CoreSession::speak(), speech_callback(), speech_on_dtmf(), switch_caller_extension_add_application(), switch_caller_extension_add_application_printf(), switch_channel_check_zrtp(), switch_channel_export_variable_var_check(), switch_channel_flip_cid(), switch_channel_handle_cause(), switch_channel_perform_answer(), switch_channel_process_export(), switch_core_media_activate_rtp(), switch_core_media_bug_add(), switch_core_media_bug_close(), switch_core_media_bug_read(), switch_core_media_bug_remove_all_function(), switch_core_media_bug_transfer_callback(), switch_core_media_bug_transfer_recordings(), switch_core_media_build_crypto(), switch_core_media_choose_port(), switch_core_media_choose_ports(), switch_core_media_gen_local_sdp(), switch_core_media_negotiate_sdp(), switch_core_media_patch_sdp(), switch_core_media_process_t38_passthru(), switch_core_media_proxy_remote_addr(), switch_core_media_read_frame(), switch_core_media_read_lock_unlock(), switch_core_media_receive_message(), switch_core_media_set_codec(), switch_core_media_set_udptl_image_sdp(), switch_core_media_set_video_codec(), switch_core_media_set_video_file(), switch_core_media_start_udptl(), switch_core_memory_reclaim_logger(), switch_core_session_check_incoming_crypto(), switch_core_session_enable_heartbeat(), switch_core_session_exec(), switch_core_session_execute_application_get_flags(), switch_core_session_execute_exten(), switch_core_session_hangup_state(), switch_core_session_launch_thread(), switch_core_session_outgoing_channel(), switch_core_session_parse_crypto_prefs(), switch_core_session_read_frame(), switch_core_session_recv_dtmf(), switch_core_session_run(), switch_core_session_send_dtmf(), switch_core_session_send_dtmf_string(), switch_core_session_set_codec_slin(), switch_core_session_set_read_codec(), switch_core_session_set_real_read_codec(), switch_core_session_set_uuid(), switch_core_session_set_video_read_codec(), switch_core_session_set_video_write_codec(), switch_core_session_set_write_codec(), switch_core_session_start_video_thread(), switch_core_session_thread(), switch_core_session_thread_launch(), switch_core_session_thread_pool_launch(), switch_core_session_wake_video_thread(), switch_core_session_write_encoded_video_frame(), switch_core_session_write_frame(), switch_core_session_write_video_frame(), switch_core_standard_on_consume_media(), switch_core_standard_on_destroy(), switch_core_standard_on_exchange_media(), switch_core_standard_on_execute(), switch_core_standard_on_hangup(), switch_core_standard_on_hibernate(), switch_core_standard_on_init(), switch_core_standard_on_park(), switch_core_standard_on_reporting(), switch_core_standard_on_reset(), switch_core_standard_on_routing(), switch_core_standard_on_soft_execute(), switch_ivr_3p_media(), switch_ivr_3p_nomedia(), switch_ivr_activate_unicast(), switch_ivr_bind_dtmf_meta_session(), switch_ivr_collect_digits_count(), switch_ivr_deactivate_unicast(), switch_ivr_delay_echo(), switch_ivr_detect_speech(), switch_ivr_detect_speech_disable_all_grammars(), switch_ivr_detect_speech_disable_grammar(), switch_ivr_detect_speech_enable_grammar(), switch_ivr_detect_speech_load_grammar(), switch_ivr_detect_speech_unload_grammar(), switch_ivr_displace_session(), switch_ivr_eavesdrop_session(), switch_ivr_enterprise_originate(), switch_ivr_inband_dtmf_generate_session(), switch_ivr_insert_file(), switch_ivr_intercept_session(), switch_ivr_media(), switch_ivr_menu_execute(), switch_ivr_multi_threaded_bridge(), switch_ivr_nomedia(), switch_ivr_originate(), switch_ivr_park(), switch_ivr_parse_event(), switch_ivr_phrase_macro_event(), switch_ivr_play_and_detect_speech(), switch_ivr_play_file(), switch_ivr_preprocess_session(), switch_ivr_process_fh(), switch_ivr_read(), switch_ivr_record_file(), switch_ivr_record_session(), switch_ivr_say(), switch_ivr_say_string(), switch_ivr_session_transfer(), switch_ivr_set_user(), switch_ivr_sleep(), switch_ivr_soft_hold(), switch_ivr_sound_test(), switch_ivr_speak_text(), switch_ivr_speak_text_handle(), switch_ivr_tone_detect_session(), switch_ivr_unbind_dtmf_meta_session(), switch_ivr_uuid_bridge(), switch_ivr_wait_for_answer(), switch_ivr_wait_for_silence(), switch_limit_incr(), switch_limit_release(), switch_play_and_get_digits(), switch_rtp_activate_ice(), switch_rtp_activate_rtcp(), switch_rtp_add_crypto_key(), switch_rtp_add_dtls(), switch_rtp_change_interval(), switch_rtp_create(), switch_rtp_dequeue_dtmf(), switch_rtp_enable_vad(), switch_rtp_set_max_missed_packets(), switch_rtp_set_video_buffer_size(), switch_rtp_write_frame(), switch_rtp_write_raw(), SWITCH_STANDARD_SCHED_FUNC(), tone_detect_callback(), CoreSession::transfer(), transfer_after_bridge(), uuid_bridge_on_reset(), and uuid_bridge_on_soft_execute().
#define SWITCH_CHANNEL_SESSION_LOG_CLEAN | ( | x | ) | SWITCH_CHANNEL_ID_LOG_CLEAN, __FILE__, __SWITCH_FUNC__, __LINE__, switch_core_session_get_uuid((x)) |
Definition at line 1248 of file switch_types.h.
Referenced by handle_nack(), read_rtp_packet(), rtp_common_write(), and switch_core_session_exec().
#define SWITCH_CHANNEL_UUID_LOG | ( | x | ) | SWITCH_CHANNEL_ID_LOG, __FILE__, __SWITCH_FUNC__, __LINE__, (x) |
Definition at line 1252 of file switch_types.h.
#define SWITCH_CONTINUE_ON_FAILURE_VARIABLE "continue_on_fail" |
Definition at line 183 of file switch_types.h.
#define SWITCH_COPY_JSON_CDR_VARIABLE "copy_json_cdr" |
Definition at line 139 of file switch_types.h.
Referenced by switch_ivr_multi_threaded_bridge().
#define SWITCH_COPY_XML_CDR_VARIABLE "copy_xml_cdr" |
Definition at line 138 of file switch_types.h.
Referenced by switch_ivr_multi_threaded_bridge().
#define SWITCH_CORE_QUEUE_LEN 100000 |
Definition at line 560 of file switch_types.h.
Referenced by switch_core_media_bug_add(), switch_core_media_bug_patch_spy_frame(), and switch_log_init().
#define SWITCH_CORE_SESSION_MAX_PRIVATES 2 |
Definition at line 232 of file switch_types.h.
Referenced by switch_core_session_get_private_class(), and switch_core_session_set_private_class().
#define SWITCH_CURRENT_APPLICATION_DATA_VARIABLE "current_application_data" |
Definition at line 131 of file switch_types.h.
Referenced by switch_core_session_exec().
#define SWITCH_CURRENT_APPLICATION_RESPONSE_VARIABLE "current_application_response" |
Definition at line 132 of file switch_types.h.
Referenced by switch_core_session_exec().
#define SWITCH_CURRENT_APPLICATION_VARIABLE "current_application" |
Definition at line 140 of file switch_types.h.
Referenced by switch_core_session_exec(), and switch_loadable_module_unprocess().
#define SWITCH_CURRENT_APPLICATION_VARIABLE "current_application" |
Definition at line 140 of file switch_types.h.
#define SWITCH_DEFAULT_CLID_NAME "" |
Definition at line 113 of file switch_types.h.
Referenced by switch_caller_profile_new(), and switch_ivr_originate().
#define SWITCH_DEFAULT_CLID_NUMBER "0000000000" |
Definition at line 114 of file switch_types.h.
Referenced by switch_caller_profile_new(), and switch_ivr_originate().
#define SWITCH_DEFAULT_DIR_PERMS SWITCH_FPROT_UREAD | SWITCH_FPROT_UWRITE | SWITCH_FPROT_UEXECUTE | SWITCH_FPROT_GREAD | SWITCH_FPROT_GEXECUTE |
Definition at line 118 of file switch_types.h.
Referenced by main(), switch_core_init(), and switch_ivr_record_session().
#define SWITCH_DEFAULT_DTMF_DURATION 2000 |
Definition at line 115 of file switch_types.h.
Referenced by DTMF::DTMF(), and switch_core_init().
#define SWITCH_DEFAULT_FILE_BUFFER_LEN 65536 |
Definition at line 229 of file switch_types.h.
Referenced by switch_ivr_record_file(), and switch_ivr_record_session().
#define SWITCH_DEFAULT_VIDEO_SIZE 1200 |
Definition at line 233 of file switch_types.h.
Referenced by switch_core_session_write_video_frame().
#define SWITCH_DISABLE_APP_LOG_VARIABLE "disable_app_log" |
Definition at line 225 of file switch_types.h.
Referenced by switch_core_session_exec().
#define SWITCH_DTMF_LOG_LEN 1000 |
Definition at line 230 of file switch_types.h.
Referenced by switch_channel_alloc(), and switch_channel_set_timestamps().
#define SWITCH_ENABLE_HEARTBEAT_EVENTS_VARIABLE "enable_heartbeat_events" |
Definition at line 134 of file switch_types.h.
Referenced by switch_channel_perform_mark_answered().
#define SWITCH_ENDPOINT_DISPOSITION_VARIABLE "endpoint_disposition" |
Definition at line 191 of file switch_types.h.
Referenced by switch_channel_perform_mark_answered(), and switch_channel_perform_mark_pre_answered().
#define SWITCH_ENT_ORIGINATE_DELIM ":_:" |
Definition at line 46 of file switch_types.h.
Referenced by switch_ivr_enterprise_originate(), and switch_ivr_originate().
#define SWITCH_EXEC_AFTER_BRIDGE_APP_VARIABLE "exec_after_bridge_app" |
Definition at line 221 of file switch_types.h.
Referenced by audio_bridge_thread().
#define SWITCH_EXEC_AFTER_BRIDGE_ARG_VARIABLE "exec_after_bridge_arg" |
Definition at line 222 of file switch_types.h.
Referenced by audio_bridge_thread().
#define SWITCH_EXPORT_VARS_VARIABLE "export_vars" |
Definition at line 194 of file switch_types.h.
Referenced by switch_ivr_enterprise_originate(), and switch_ivr_originate().
#define SWITCH_FORCE_PROCESS_CDR_VARIABLE "force_process_cdr" |
Definition at line 179 of file switch_types.h.
#define SWITCH_HANGUP_AFTER_BRIDGE_VARIABLE "hangup_after_bridge" |
Definition at line 216 of file switch_types.h.
Referenced by signal_bridge_on_hangup(), switch_ivr_multi_threaded_bridge(), switch_ivr_originate(), and switch_ivr_session_transfer().
#define SWITCH_HASH_DELETE_FUNC | ( | name | ) | static switch_bool_t name (const void *key, const void *val, void *pData) |
Definition at line 2304 of file switch_types.h.
#define SWITCH_HOLD_MUSIC_VARIABLE "hold_music" |
Definition at line 192 of file switch_types.h.
Referenced by switch_channel_get_hold_music().
#define SWITCH_HOLDING_UUID_VARIABLE "holding_uuid" |
Definition at line 170 of file switch_types.h.
Referenced by switch_ivr_originate().
#define SWITCH_IGNORE_DISPLAY_UPDATES_VARIABLE "ignore_display_updates" |
Definition at line 125 of file switch_types.h.
Referenced by switch_core_session_perform_receive_message().
#define SWITCH_INTERVAL_PAD 10 /* A little extra buffer space to be safe */ |
Definition at line 554 of file switch_types.h.
#define SWITCH_L_SDP_VARIABLE "switch_l_sdp" |
Definition at line 197 of file switch_types.h.
#define SWITCH_LAST_BRIDGE_VARIABLE "last_bridge_to" |
Definition at line 200 of file switch_types.h.
Referenced by signal_bridge_on_hibernate(), and switch_ivr_multi_threaded_bridge().
#define SWITCH_LOCAL_MEDIA_IP_VARIABLE "local_media_ip" |
Definition at line 207 of file switch_types.h.
Referenced by switch_core_media_activate_rtp(), switch_core_media_choose_port(), and switch_core_media_recover_session().
#define SWITCH_LOCAL_MEDIA_PORT_VARIABLE "local_media_port" |
Definition at line 208 of file switch_types.h.
Referenced by switch_core_media_activate_rtp(), switch_core_media_choose_port(), and switch_core_media_recover_session().
#define SWITCH_LOCAL_VIDEO_IP_VARIABLE "local_video_ip" |
Definition at line 214 of file switch_types.h.
Referenced by switch_core_media_activate_rtp(), switch_core_media_choose_port(), and switch_core_media_recover_session().
#define SWITCH_LOCAL_VIDEO_PORT_VARIABLE "local_video_port" |
Definition at line 215 of file switch_types.h.
Referenced by switch_core_media_activate_rtp(), switch_core_media_choose_port(), and switch_core_media_recover_session().
#define SWITCH_MAX_CODECS 50 |
Definition at line 558 of file switch_types.h.
Referenced by switch_core_media_gen_local_sdp(), switch_core_media_prepare_codecs(), switch_core_media_recover_session(), and switch_core_media_set_r_sdp_codec_string().
#define SWITCH_MAX_DTMF_DURATION 192000 |
Definition at line 117 of file switch_types.h.
Referenced by switch_core_default_dtmf_duration(), switch_core_init(), switch_core_max_dtmf_duration(), and switch_core_min_dtmf_duration().
#define SWITCH_MAX_FORWARDS_VARIABLE "max_forwards" |
Definition at line 223 of file switch_types.h.
Referenced by switch_core_session_outgoing_channel(), and switch_ivr_session_transfer().
#define SWITCH_MAX_INTERVAL 120 /* we only do up to 120ms */ |
Definition at line 553 of file switch_types.h.
#define SWITCH_MAX_MANAGEMENT_BUFFER_LEN 1024 * 8 |
Definition at line 561 of file switch_types.h.
#define SWITCH_MAX_SAMPLE_LEN 48 |
Definition at line 555 of file switch_types.h.
#define SWITCH_MAX_SESSION_TRANSFERS_VARIABLE "max_session_transfers" |
Definition at line 224 of file switch_types.h.
Referenced by switch_ivr_session_transfer().
#define SWITCH_MAX_STACKS 16 |
Definition at line 550 of file switch_types.h.
Referenced by switch_core_session_execute_exten().
#define SWITCH_MAX_STATE_HANDLERS 30 |
Definition at line 559 of file switch_types.h.
Referenced by switch_channel_add_state_handler(), switch_channel_clear_state_handler(), switch_channel_get_state_handler(), switch_core_add_state_handler(), switch_core_get_state_handler(), and switch_core_remove_state_handler().
#define SWITCH_MAX_TRANS 2000 |
Definition at line 231 of file switch_types.h.
Referenced by switch_core_sqldb_start_thread().
#define SWITCH_MEDIA_TYPE_TOTAL 2 |
Definition at line 1712 of file switch_types.h.
#define SWITCH_MIN_DTMF_DURATION 400 |
Definition at line 116 of file switch_types.h.
Referenced by switch_core_default_dtmf_duration(), switch_core_init(), switch_core_max_dtmf_duration(), and switch_core_min_dtmf_duration().
#define SWITCH_MODULE_DEFINITION | ( | name, | |
load, | |||
shutdown, | |||
runtime | |||
) | SWITCH_MODULE_DEFINITION_EX(name, load, shutdown, runtime, SMODF_NONE) |
Definition at line 2468 of file switch_types.h.
#define SWITCH_MODULE_DEFINITION_EX | ( | name, | |
load, | |||
shutdown, | |||
runtime, | |||
flags | |||
) |
Definition at line 2458 of file switch_types.h.
#define SWITCH_MODULE_LOAD_ARGS (switch_loadable_module_interface_t **module_interface, switch_memory_pool_t *pool) |
Definition at line 2423 of file switch_types.h.
#define SWITCH_MODULE_LOAD_FUNCTION | ( | name | ) | switch_status_t name SWITCH_MODULE_LOAD_ARGS |
Definition at line 2429 of file switch_types.h.
#define SWITCH_MODULE_RUNTIME_ARGS (void) |
Definition at line 2424 of file switch_types.h.
#define SWITCH_MODULE_RUNTIME_FUNCTION | ( | name | ) | switch_status_t name SWITCH_MODULE_RUNTIME_ARGS |
Definition at line 2430 of file switch_types.h.
#define SWITCH_MODULE_SHUTDOWN_ARGS (void) |
Definition at line 2425 of file switch_types.h.
#define SWITCH_MODULE_SHUTDOWN_FUNCTION | ( | name | ) | switch_status_t name SWITCH_MODULE_SHUTDOWN_ARGS |
Definition at line 2431 of file switch_types.h.
#define SWITCH_NUMPLAN_UNDEF 255 |
Definition at line 49 of file switch_types.h.
Referenced by switch_caller_profile_new().
#define SWITCH_ORIGINATE_SIGNAL_BOND_VARIABLE "originate_signal_bond" |
Definition at line 203 of file switch_types.h.
Referenced by switch_channel_get_partner_uuid(), switch_core_session_outgoing_channel(), switch_ivr_find_bridged_uuid(), and switch_ivr_originate().
#define SWITCH_ORIGINATOR_CODEC_VARIABLE "originator_codec" |
Definition at line 205 of file switch_types.h.
Referenced by switch_core_media_prepare_codecs(), and switch_core_session_outgoing_channel().
#define SWITCH_ORIGINATOR_VARIABLE "originator" |
Definition at line 204 of file switch_types.h.
Referenced by switch_channel_perform_mark_answered(), switch_channel_perform_mark_pre_answered(), and switch_core_session_outgoing_channel().
#define SWITCH_ORIGINATOR_VIDEO_CODEC_VARIABLE "originator_video_codec" |
Definition at line 206 of file switch_types.h.
Referenced by switch_core_session_outgoing_channel().
#define SWITCH_PARK_AFTER_BRIDGE_VARIABLE "park_after_bridge" |
Definition at line 217 of file switch_types.h.
Referenced by audio_bridge_on_exchange_media(), signal_bridge_on_hangup(), switch_ivr_multi_threaded_bridge(), and switch_ivr_park().
#define SWITCH_PARK_AFTER_EARLY_BRIDGE_VARIABLE "park_after_early_bridge" |
Definition at line 218 of file switch_types.h.
Referenced by switch_ivr_multi_threaded_bridge().
#define SWITCH_PASSTHRU_PTIME_MISMATCH_VARIABLE "passthru_ptime_mismatch" |
Definition at line 133 of file switch_types.h.
Referenced by switch_channel_perform_mark_answered(), and switch_channel_perform_mark_pre_answered().
#define SWITCH_PATH_SEPARATOR "/" |
Definition at line 122 of file switch_types.h.
Referenced by __switch_xml_open_root(), db_pick_path(), freeswitch_kill_background(), main(), preprocess_glob(), switch_config_open_file(), switch_core_cert_gen_fingerprint(), switch_core_gen_certs(), switch_core_perform_file_open(), switch_core_set_globals(), switch_img_txt_handle_create(), switch_ivr_displace_session(), switch_ivr_insert_file(), switch_ivr_play_file(), switch_ivr_record_file(), switch_ivr_record_session(), switch_loadable_module_load_module_ex(), switch_rtp_add_dtls(), switch_rtp_init(), switch_simple_email(), switch_stream_write_file_contents(), and switch_xml_parse_file().
#define SWITCH_PLAYBACK_TERMINATOR_USED "playback_terminator_used" |
Definition at line 185 of file switch_types.h.
Referenced by play_and_detect_input_callback().
#define SWITCH_PLAYBACK_TERMINATORS_VARIABLE "playback_terminators" |
Definition at line 184 of file switch_types.h.
Referenced by play_and_detect_input_callback().
#define SWITCH_PROCESS_CDR_VARIABLE "process_cdr" |
Definition at line 177 of file switch_types.h.
Referenced by switch_core_session_outgoing_channel(), and switch_core_session_reporting_state().
#define SWITCH_PROTO_SPECIFIC_HANGUP_CAUSE_VARIABLE "proto_specific_hangup_cause" |
Definition at line 141 of file switch_types.h.
Referenced by switch_channel_perform_hangup().
#define SWITCH_PROXY_MEDIA_VARIABLE "proxy_media" |
Definition at line 189 of file switch_types.h.
Referenced by switch_ivr_originate().
#define SWITCH_R_SDP_VARIABLE "switch_r_sdp" |
Definition at line 196 of file switch_types.h.
Referenced by switch_core_media_check_outgoing_proxy(), switch_core_media_recover_session(), switch_core_session_outgoing_channel(), and switch_ivr_3p_nomedia().
#define SWITCH_READ_RESULT_VARIABLE "read_result" |
Definition at line 136 of file switch_types.h.
Referenced by switch_ivr_read().
#define SWITCH_READ_TERMINATOR_USED_VARIABLE "read_terminator_used" |
Definition at line 128 of file switch_types.h.
Referenced by switch_ivr_read(), and switch_play_and_get_digits().
#define SWITCH_RECOMMENDED_BUFFER_SIZE 8192 |
Definition at line 557 of file switch_types.h.
Referenced by audio_bridge_thread(), early_thread_run(), eavesdrop_callback(), read_displace_callback(), record_callback(), recording_thread(), rtp_common_write(), speech_callback(), switch_check_interval(), switch_core_codec_add_implementation(), switch_core_media_bug_read(), switch_core_session_read_frame(), switch_core_session_write_frame(), switch_ivr_collect_digits_count(), switch_ivr_eavesdrop_session(), switch_ivr_gentones(), switch_ivr_originate(), switch_ivr_park(), switch_ivr_record_file(), switch_ivr_sleep(), switch_ivr_speak_text_handle(), switch_ivr_wait_for_answer(), switch_ivr_wait_for_silence(), switch_loadable_module_process(), and write_displace_callback().
#define SWITCH_RECORD_POST_PROCESS_EXEC_API_VARIABLE "record_post_process_exec_api" |
Definition at line 146 of file switch_types.h.
Referenced by record_callback(), and switch_ivr_transfer_recordings().
#define SWITCH_RECORD_POST_PROCESS_EXEC_APP_VARIABLE "record_post_process_exec_app" |
Definition at line 145 of file switch_types.h.
Referenced by record_callback(), and switch_ivr_transfer_recordings().
#define SWITCH_REMOTE_MEDIA_IP_VARIABLE "remote_media_ip" |
Definition at line 210 of file switch_types.h.
Referenced by check_ice(), switch_core_media_activate_rtp(), switch_core_media_negotiate_sdp(), switch_core_media_process_t38_passthru(), switch_core_media_receive_message(), and switch_core_media_recover_session().
#define SWITCH_REMOTE_MEDIA_PORT_VARIABLE "remote_media_port" |
Definition at line 211 of file switch_types.h.
Referenced by check_ice(), switch_core_media_activate_rtp(), switch_core_media_negotiate_sdp(), switch_core_media_process_t38_passthru(), switch_core_media_receive_message(), and switch_core_media_recover_session().
#define SWITCH_REMOTE_VIDEO_IP_VARIABLE "remote_video_ip" |
Definition at line 212 of file switch_types.h.
Referenced by switch_core_media_negotiate_sdp(), and switch_core_media_recover_session().
#define SWITCH_REMOTE_VIDEO_PORT_VARIABLE "remote_video_port" |
Definition at line 213 of file switch_types.h.
Referenced by switch_core_media_negotiate_sdp(), and switch_core_media_recover_session().
#define SWITCH_RTCP_AUDIO_INTERVAL_MSEC "5000" |
Definition at line 234 of file switch_types.h.
Referenced by switch_core_media_gen_local_sdp(), switch_core_media_negotiate_sdp(), and switch_core_session_set_ice().
#define SWITCH_RTCP_VIDEO_INTERVAL_MSEC "2000" |
Definition at line 235 of file switch_types.h.
Referenced by switch_core_media_gen_local_sdp(), switch_core_media_negotiate_sdp(), and switch_core_session_set_ice().
#define SWITCH_RTP_CNG_PAYLOAD 13 |
Definition at line 702 of file switch_types.h.
Referenced by rtp_common_read().
#define SWITCH_SEND_SILENCE_WHEN_IDLE_VARIABLE "send_silence_when_idle" |
Definition at line 129 of file switch_types.h.
Referenced by switch_ivr_collect_digits_count(), switch_ivr_park(), switch_ivr_sleep(), and switch_ivr_wait_for_answer().
#define SWITCH_SENSITIVE_DTMF_VARIABLE "sensitive_dtmf" |
Definition at line 144 of file switch_types.h.
Referenced by switch_channel_queue_dtmf().
#define SWITCH_SEQ_AND_COLOR ";" /* To add multiple color definitions */ |
Definition at line 70 of file switch_types.h.
#define SWITCH_SEQ_B_BLACK "40" |
Definition at line 82 of file switch_types.h.
#define SWITCH_SEQ_B_BLUE "44" |
Definition at line 86 of file switch_types.h.
#define SWITCH_SEQ_B_CYAN "46" |
Definition at line 88 of file switch_types.h.
#define SWITCH_SEQ_B_GREEN "42" |
Definition at line 84 of file switch_types.h.
#define SWITCH_SEQ_B_MAGEN "45" |
Definition at line 87 of file switch_types.h.
#define SWITCH_SEQ_B_RED "41" |
Definition at line 83 of file switch_types.h.
#define SWITCH_SEQ_B_WHITE "47" |
Definition at line 89 of file switch_types.h.
#define SWITCH_SEQ_B_YELLOW "43" |
Definition at line 85 of file switch_types.h.
#define SWITCH_SEQ_BBLACK SWITCH_SEQ_ESC SWITCH_SEQ_B_BLACK SWITCH_SEQ_END_COLOR |
Definition at line 99 of file switch_types.h.
#define SWITCH_SEQ_BBLUE SWITCH_SEQ_ESC SWITCH_SEQ_B_BLUE SWITCH_SEQ_END_COLOR |
Definition at line 103 of file switch_types.h.
Referenced by switch_core_init_and_modload().
#define SWITCH_SEQ_BCYAN SWITCH_SEQ_ESC SWITCH_SEQ_B_CYAN SWITCH_SEQ_END_COLOR |
Definition at line 105 of file switch_types.h.
#define SWITCH_SEQ_BGREEN SWITCH_SEQ_ESC SWITCH_SEQ_B_GREEN SWITCH_SEQ_END_COLOR |
Definition at line 101 of file switch_types.h.
#define SWITCH_SEQ_BMAGEN SWITCH_SEQ_ESC SWITCH_SEQ_B_MAGEN SWITCH_SEQ_END_COLOR |
Definition at line 104 of file switch_types.h.
#define SWITCH_SEQ_BRED SWITCH_SEQ_ESC SWITCH_SEQ_B_RED SWITCH_SEQ_END_COLOR |
Definition at line 100 of file switch_types.h.
#define SWITCH_SEQ_BWHITE SWITCH_SEQ_ESC SWITCH_SEQ_B_WHITE SWITCH_SEQ_END_COLOR |
Definition at line 106 of file switch_types.h.
#define SWITCH_SEQ_BYELLOW SWITCH_SEQ_ESC SWITCH_SEQ_B_YELLOW SWITCH_SEQ_END_COLOR |
Definition at line 102 of file switch_types.h.
#define SWITCH_SEQ_CLEARLINE SWITCH_SEQ_ESC SWITCH_SEQ_CLEARLINE_CHAR_STR |
Definition at line 109 of file switch_types.h.
#define SWITCH_SEQ_CLEARLINE_CHAR '1' |
Definition at line 63 of file switch_types.h.
#define SWITCH_SEQ_CLEARLINE_CHAR_STR "1" |
Definition at line 64 of file switch_types.h.
#define SWITCH_SEQ_CLEARLINEEND SWITCH_SEQ_ESC SWITCH_SEQ_CLEARLINEEND_CHAR |
Definition at line 110 of file switch_types.h.
#define SWITCH_SEQ_CLEARLINEEND_CHAR "K" |
Definition at line 65 of file switch_types.h.
#define SWITCH_SEQ_CLEARSCR SWITCH_SEQ_ESC SWITCH_SEQ_CLEARSCR_CHAR SWITCH_SEQ_HOME |
Definition at line 111 of file switch_types.h.
#define SWITCH_SEQ_CLEARSCR_CHAR "2J" |
Definition at line 68 of file switch_types.h.
#define SWITCH_SEQ_CLEARSCR_CHAR0 '2' |
Definition at line 66 of file switch_types.h.
#define SWITCH_SEQ_CLEARSCR_CHAR1 'J' |
Definition at line 67 of file switch_types.h.
#define SWITCH_SEQ_DEFAULT_COLOR SWITCH_SEQ_ESC SWITCH_SEQ_END_COLOR /* Reset to Default fg/bg color */ |
Definition at line 69 of file switch_types.h.
Referenced by switch_core_init_and_modload(), and switch_log_vprintf().
#define SWITCH_SEQ_END_COLOR "m" /* To end color definitions */ |
Definition at line 71 of file switch_types.h.
#define SWITCH_SEQ_ESC "\033[" |
Definition at line 59 of file switch_types.h.
#define SWITCH_SEQ_F_BLACK "30" |
Definition at line 73 of file switch_types.h.
#define SWITCH_SEQ_F_BLUE "34" |
Definition at line 77 of file switch_types.h.
#define SWITCH_SEQ_F_CYAN "36" |
Definition at line 79 of file switch_types.h.
#define SWITCH_SEQ_F_GREEN "32" |
Definition at line 75 of file switch_types.h.
#define SWITCH_SEQ_F_MAGEN "35" |
Definition at line 78 of file switch_types.h.
#define SWITCH_SEQ_F_RED "31" |
Definition at line 74 of file switch_types.h.
#define SWITCH_SEQ_F_WHITE "37" |
Definition at line 80 of file switch_types.h.
#define SWITCH_SEQ_F_YELLOW "33" |
Definition at line 76 of file switch_types.h.
#define SWITCH_SEQ_FBLACK SWITCH_SEQ_ESC SWITCH_SEQ_F_BLACK SWITCH_SEQ_END_COLOR |
Definition at line 91 of file switch_types.h.
#define SWITCH_SEQ_FBLUE SWITCH_SEQ_ESC SWITCH_SEQ_F_BLUE SWITCH_SEQ_END_COLOR |
Definition at line 95 of file switch_types.h.
#define SWITCH_SEQ_FCYAN SWITCH_SEQ_ESC SWITCH_SEQ_F_CYAN SWITCH_SEQ_END_COLOR |
Definition at line 97 of file switch_types.h.
#define SWITCH_SEQ_FGREEN SWITCH_SEQ_ESC SWITCH_SEQ_F_GREEN SWITCH_SEQ_END_COLOR |
Definition at line 93 of file switch_types.h.
#define SWITCH_SEQ_FMAGEN SWITCH_SEQ_ESC SWITCH_SEQ_F_MAGEN SWITCH_SEQ_END_COLOR |
Definition at line 96 of file switch_types.h.
#define SWITCH_SEQ_FRED SWITCH_SEQ_ESC SWITCH_SEQ_F_RED SWITCH_SEQ_END_COLOR |
Definition at line 92 of file switch_types.h.
#define SWITCH_SEQ_FWHITE SWITCH_SEQ_ESC SWITCH_SEQ_F_WHITE SWITCH_SEQ_END_COLOR |
Definition at line 98 of file switch_types.h.
#define SWITCH_SEQ_FYELLOW SWITCH_SEQ_ESC SWITCH_SEQ_F_YELLOW SWITCH_SEQ_END_COLOR |
Definition at line 94 of file switch_types.h.
Referenced by switch_core_init_and_modload().
#define SWITCH_SEQ_HOME SWITCH_SEQ_ESC SWITCH_SEQ_HOME_CHAR_STR |
Definition at line 108 of file switch_types.h.
#define SWITCH_SEQ_HOME_CHAR 'H' |
Definition at line 61 of file switch_types.h.
#define SWITCH_SEQ_HOME_CHAR_STR "H" |
Definition at line 62 of file switch_types.h.
#define SWITCH_SESSION_IN_HANGUP_HOOK_VARIABLE "session_in_hangup_hook" |
Definition at line 176 of file switch_types.h.
Referenced by switch_core_session_hangup_state(), and switch_core_session_reporting_state().
#define SWITCH_SIGNAL_BOND_VARIABLE "signal_bond" |
Definition at line 202 of file switch_types.h.
Referenced by switch_channel_get_partner_uuid(), switch_core_session_outgoing_channel(), switch_ivr_multi_threaded_bridge(), switch_ivr_originate(), switch_ivr_session_transfer(), and switch_ivr_uuid_bridge().
#define SWITCH_SIGNAL_BRIDGE_VARIABLE "signal_bridge_to" |
Definition at line 201 of file switch_types.h.
Referenced by cleanup_proxy_mode_a(), hanguphook(), sb_on_dtmf(), signal_bridge_on_hangup(), signal_bridge_on_hibernate(), switch_ivr_3p_media(), switch_ivr_media(), switch_ivr_session_transfer(), and switch_ivr_signal_bridge().
#define SWITCH_SKIP_CDR_CAUSES_VARIABLE "skip_cdr_causes" |
Definition at line 178 of file switch_types.h.
Referenced by switch_core_session_reporting_state().
#define SWITCH_SOCK_INVALID -1 |
Definition at line 2152 of file switch_types.h.
Referenced by switch_wait_sock(), and switch_wait_socklist().
#define SWITCH_SOFT_HOLDING_UUID_VARIABLE "soft_holding_uuid" |
Definition at line 171 of file switch_types.h.
Referenced by switch_ivr_originate().
#define SWITCH_SPEECH_KEY "speech" |
Definition at line 226 of file switch_types.h.
Referenced by speech_on_dtmf(), switch_ivr_detect_speech(), switch_ivr_detect_speech_disable_all_grammars(), switch_ivr_detect_speech_disable_grammar(), switch_ivr_detect_speech_enable_grammar(), switch_ivr_detect_speech_init(), switch_ivr_detect_speech_load_grammar(), switch_ivr_detect_speech_start_input_timers(), switch_ivr_detect_speech_unload_grammar(), switch_ivr_pause_detect_speech(), switch_ivr_resume_detect_speech(), switch_ivr_set_param_detect_speech(), and switch_ivr_stop_detect_speech().
#define SWITCH_STANDARD_API | ( | name | ) | static switch_status_t name (_In_opt_z_ const char *cmd, _In_opt_ switch_core_session_t *session, _In_ switch_stream_handle_t *stream) |
Definition at line 2322 of file switch_types.h.
#define SWITCH_STANDARD_APP | ( | name | ) | static void name (switch_core_session_t *session, const char *data) |
Definition at line 2296 of file switch_types.h.
#define SWITCH_STANDARD_CHAT_APP | ( | name | ) | static switch_status_t name (switch_event_t *message, const char *data) |
Definition at line 2293 of file switch_types.h.
#define SWITCH_STANDARD_DIALPLAN | ( | name | ) | static switch_caller_extension_t *name (switch_core_session_t *session, void *arg, switch_caller_profile_t *caller_profile) |
Definition at line 2301 of file switch_types.h.
#define SWITCH_STANDARD_JSON_API | ( | name | ) | static switch_status_t name (const cJSON *json, _In_opt_ switch_core_session_t *session, cJSON **json_reply) |
Definition at line 2328 of file switch_types.h.
#define SWITCH_STANDARD_SCHED_FUNC | ( | name | ) | static void name (switch_scheduler_task_t *task) |
Definition at line 2310 of file switch_types.h.
#define SWITCH_SYSTEM_THREAD_STACKSIZE 8192 * 1024 |
Definition at line 552 of file switch_types.h.
Referenced by main(), switch_core_setrlimits(), and switch_system_thread().
#define SWITCH_TEMP_HOLD_MUSIC_VARIABLE "temp_hold_music" |
Definition at line 193 of file switch_types.h.
Referenced by switch_channel_get_hold_music(), and switch_ivr_session_transfer().
#define SWITCH_THREAD_STACKSIZE 240 * 1024 |
Definition at line 551 of file switch_types.h.
Referenced by chat_thread_start(), check_queue(), launch_collect_thread(), main(), record_callback(), speech_callback(), switch_core_launch_thread(), switch_core_media_bug_add(), switch_core_media_set_video_file(), switch_core_memory_init(), switch_core_session_launch_thread(), switch_core_session_start_video_thread(), switch_core_session_thread_launch(), switch_core_setrlimits(), switch_core_sqldb_start(), switch_event_launch_dispatch_threads(), switch_ivr_broadcast_in_thread(), switch_ivr_enterprise_originate(), switch_ivr_originate(), switch_log_init(), switch_sql_queue_manager_start(), and unicast_thread_launch().
#define SWITCH_TON_UNDEF 255 |
Definition at line 48 of file switch_types.h.
Referenced by switch_caller_profile_new().
#define SWITCH_TRANSFER_AFTER_BRIDGE_VARIABLE "transfer_after_bridge" |
Definition at line 219 of file switch_types.h.
Referenced by audio_bridge_on_exchange_media(), audio_bridge_thread(), signal_bridge_on_hangup(), switch_ivr_multi_threaded_bridge(), and transfer_after_bridge().
#define SWITCH_TRANSFER_AFTER_EARLY_BRIDGE_VARIABLE "transfer_after_early_bridge" |
Definition at line 220 of file switch_types.h.
Referenced by switch_ivr_multi_threaded_bridge().
#define SWITCH_TRANSFER_HISTORY_VARIABLE "transfer_history" |
Definition at line 142 of file switch_types.h.
Referenced by switch_ivr_session_transfer(), and switch_ivr_uuid_bridge().
#define SWITCH_TRANSFER_SOURCE_VARIABLE "transfer_source" |
Definition at line 143 of file switch_types.h.
Referenced by switch_ivr_session_transfer(), and switch_ivr_uuid_bridge().
#define SWITCH_URL_SEPARATOR "://" |
Definition at line 124 of file switch_types.h.
Referenced by setup_ringback(), switch_core_perform_file_open(), switch_is_file_path(), switch_ivr_displace_session(), switch_ivr_play_file(), switch_ivr_record_file(), switch_ivr_record_session(), and switch_ivr_wait_for_answer().
#define SWITCH_UUID_BRIDGE "uuid_bridge" |
Definition at line 227 of file switch_types.h.
Referenced by switch_ivr_uuid_bridge(), and uuid_bridge_on_soft_execute().
#define SWITCH_ZRTP_PASSTHRU_VARIABLE "zrtp_passthru" |
Definition at line 190 of file switch_types.h.
Referenced by switch_ivr_originate().
typedef struct audio_buffer_header_s audio_buffer_header_t |
typedef void(* hashtable_destructor_t)(void *ptr) |
Definition at line 2211 of file switch_types.h.
typedef struct payload_map_s payload_map_t |
typedef switch_status_t(* switch_api_function_t)(_In_opt_z_ const char *cmd, _In_opt_ switch_core_session_t *session, _In_ switch_stream_handle_t *stream) |
Definition at line 2318 of file switch_types.h.
typedef struct switch_api_interface switch_api_interface_t |
Definition at line 2199 of file switch_types.h.
typedef struct switch_app_log switch_app_log_t |
Definition at line 2158 of file switch_types.h.
typedef uint32_t switch_application_flag_t |
Definition at line 1580 of file switch_types.h.
typedef void(* switch_application_function_t)(switch_core_session_t *, const char *) |
Definition at line 2295 of file switch_types.h.
typedef struct switch_application_interface switch_application_interface_t |
Definition at line 2197 of file switch_types.h.
typedef uint32_t switch_asr_flag_t |
Definition at line 1676 of file switch_types.h.
typedef struct switch_asr_handle switch_asr_handle_t |
Definition at line 2190 of file switch_types.h.
typedef struct switch_asr_interface switch_asr_interface_t |
Definition at line 2203 of file switch_types.h.
typedef uint32_t switch_bind_flag_t |
Definition at line 308 of file switch_types.h.
typedef struct switch_buffer switch_buffer_t |
Definition at line 2181 of file switch_types.h.
typedef uint8_t switch_byte_t |
Definition at line 246 of file switch_types.h.
typedef struct switch_caller_application switch_caller_application_t |
Definition at line 2175 of file switch_types.h.
typedef struct switch_caller_extension switch_caller_extension_t |
Definition at line 2174 of file switch_types.h.
typedef uint32_t switch_caller_profile_flag_t |
Definition at line 576 of file switch_types.h.
typedef struct switch_caller_profile switch_caller_profile_t |
Definition at line 2173 of file switch_types.h.
typedef void(* switch_cap_callback_t)(const char *var, const char *val, void *user_data) |
Definition at line 2230 of file switch_types.h.
typedef struct switch_channel switch_channel_t |
Definition at line 2169 of file switch_types.h.
typedef uint32_t switch_chat_application_flag_t |
Definition at line 1585 of file switch_types.h.
typedef switch_status_t(* switch_chat_application_function_t)(switch_event_t *, const char *) |
Definition at line 2292 of file switch_types.h.
Definition at line 2198 of file switch_types.h.
typedef struct switch_chat_interface switch_chat_interface_t |
Definition at line 2205 of file switch_types.h.
typedef uint32_t switch_codec_flag_t |
Definition at line 1630 of file switch_types.h.
typedef struct switch_codec_fmtp switch_codec_fmtp_t |
Definition at line 2183 of file switch_types.h.
typedef struct switch_codec_implementation switch_codec_implementation_t |
Definition at line 2180 of file switch_types.h.
typedef struct switch_codec_interface switch_codec_interface_t |
Definition at line 2196 of file switch_types.h.
typedef union switch_codec_settings switch_codec_settings_t |
Definition at line 2182 of file switch_types.h.
typedef struct switch_codec switch_codec_t |
Definition at line 2178 of file switch_types.h.
Definition at line 2217 of file switch_types.h.
typedef struct switch_console_callback_match switch_console_callback_match_t |
Definition at line 2225 of file switch_types.h.
typedef switch_status_t(* switch_console_complete_callback_t)(const char *, const char *, switch_console_callback_match_t **matches) |
Definition at line 2231 of file switch_types.h.
typedef switch_status_t(* switch_core_codec_control_func_t)(switch_codec_t *codec, switch_codec_control_command_t cmd, switch_codec_control_type_t ctype, void *cmd_data, switch_codec_control_type_t atype, void *cmd_arg, switch_codec_control_type_t *rtype, void **ret_data) |
Definition at line 2277 of file switch_types.h.
typedef switch_status_t(* switch_core_codec_decode_func_t)(switch_codec_t *codec, switch_codec_t *other_codec, void *encoded_data, uint32_t encoded_data_len, uint32_t encoded_rate, void *decoded_data, uint32_t *decoded_data_len, uint32_t *decoded_rate, unsigned int *flag) |
Definition at line 2246 of file switch_types.h.
typedef switch_status_t(* switch_core_codec_destroy_func_t)(switch_codec_t *) |
Definition at line 2289 of file switch_types.h.
typedef switch_status_t(* switch_core_codec_encode_func_t)(switch_codec_t *codec, switch_codec_t *other_codec, void *decoded_data, uint32_t decoded_data_len, uint32_t decoded_rate, void *encoded_data, uint32_t *encoded_data_len, uint32_t *encoded_rate, unsigned int *flag) |
Definition at line 2238 of file switch_types.h.
typedef switch_status_t(* switch_core_codec_fmtp_parse_func_t)(const char *fmtp, switch_codec_fmtp_t *codec_fmtp) |
Definition at line 2288 of file switch_types.h.
typedef switch_status_t(* switch_core_codec_init_func_t)(switch_codec_t *, switch_codec_flag_t, const switch_codec_settings_t *codec_settings) |
Definition at line 2287 of file switch_types.h.
typedef switch_status_t(* switch_core_codec_video_decode_func_t)(switch_codec_t *codec, switch_frame_t *frame) |
Definition at line 2255 of file switch_types.h.
typedef switch_status_t(* switch_core_codec_video_encode_func_t)(switch_codec_t *codec, switch_frame_t *frame) |
Definition at line 2253 of file switch_types.h.
typedef uint32_t switch_core_flag_t |
Definition at line 376 of file switch_types.h.
typedef struct switch_core_port_allocator switch_core_port_allocator_t |
Definition at line 2207 of file switch_types.h.
typedef int(* switch_core_recover_callback_t)(switch_core_session_t *session) |
Definition at line 2298 of file switch_types.h.
typedef uint32_t switch_core_session_message_flag_t |
Definition at line 1244 of file switch_types.h.
typedef struct switch_core_session_message switch_core_session_message_t |
Definition at line 2161 of file switch_types.h.
typedef struct switch_core_session switch_core_session_t |
Definition at line 2172 of file switch_types.h.
typedef struct switch_core_thread_session switch_core_thread_session_t |
Definition at line 2179 of file switch_types.h.
typedef struct switch_core_time_duration switch_core_time_duration_t |
Definition at line 2406 of file switch_types.h.
typedef switch_status_t(* switch_core_video_thread_callback_func_t)(switch_core_session_t *session, switch_frame_t *frame, void *user_data) |
Definition at line 2229 of file switch_types.h.
typedef switch_caller_extension_t*(* switch_dialplan_hunt_function_t)(switch_core_session_t *, void *, switch_caller_profile_t *) |
Definition at line 2300 of file switch_types.h.
typedef struct switch_dialplan_interface switch_dialplan_interface_t |
Definition at line 2195 of file switch_types.h.
typedef struct switch_directories switch_directories |
Definition at line 540 of file switch_types.h.
typedef uint32_t switch_directory_flag_t |
Definition at line 1689 of file switch_types.h.
typedef struct switch_directory_handle switch_directory_handle_t |
Definition at line 2191 of file switch_types.h.
typedef struct switch_directory_interface switch_directory_interface_t |
Definition at line 2204 of file switch_types.h.
typedef uint32_t switch_eavesdrop_flag_t |
Definition at line 345 of file switch_types.h.
typedef struct switch_endpoint_interface switch_endpoint_interface_t |
Definition at line 2193 of file switch_types.h.
typedef struct error_period switch_error_period_t |
typedef void(* switch_event_callback_t)(switch_event_t *) |
Definition at line 2299 of file switch_types.h.
typedef void(* switch_event_channel_func_t)(const char *event_channel, cJSON *json, const char *key, switch_event_channel_id_t id) |
Definition at line 2486 of file switch_types.h.
typedef uint32_t switch_event_channel_id_t |
Definition at line 2485 of file switch_types.h.
typedef struct switch_event_header switch_event_header_t |
Definition at line 2162 of file switch_types.h.
typedef struct switch_event_node switch_event_node_t |
Definition at line 2165 of file switch_types.h.
typedef struct switch_event_subclass switch_event_subclass_t |
Definition at line 2164 of file switch_types.h.
typedef struct switch_event switch_event_t |
Definition at line 2163 of file switch_types.h.
typedef uint32_t switch_file_flag_t |
Definition at line 1815 of file switch_types.h.
typedef struct switch_file_handle switch_file_handle_t |
Definition at line 2171 of file switch_types.h.
typedef struct switch_file_interface switch_file_interface_t |
Definition at line 2201 of file switch_types.h.
typedef struct switch_filenames switch_filenames |
Definition at line 547 of file switch_types.h.
typedef struct switch_frame_buffer_s switch_frame_buffer_t |
Definition at line 2584 of file switch_types.h.
typedef uint32_t switch_frame_flag_t |
Definition at line 1569 of file switch_types.h.
typedef struct switch_frame switch_frame_t |
Definition at line 2167 of file switch_types.h.
typedef switch_bool_t(* switch_hash_delete_callback_t)(_In_ const void *key, _In_ const void *val, _In_opt_ void *pData) |
Definition at line 2303 of file switch_types.h.
typedef struct switch_hashtable_iterator switch_hash_index_t |
Definition at line 2416 of file switch_types.h.
typedef struct switch_hashtable switch_hash_t |
Definition at line 2414 of file switch_types.h.
typedef struct switch_img_txt_handle_s switch_img_txt_handle_t |
Definition at line 2581 of file switch_types.h.
typedef switch_status_t(* switch_input_callback_function_t)(switch_core_session_t *session, void *input, switch_input_type_t input_type, void *buf, unsigned int buflen) |
Definition at line 2330 of file switch_types.h.
typedef struct switch_hashtable switch_inthash_t |
Definition at line 2415 of file switch_types.h.
typedef uint32_t switch_io_flag_t |
Definition at line 1823 of file switch_types.h.
typedef struct switch_io_routines switch_io_routines_t |
Definition at line 2188 of file switch_types.h.
typedef switch_status_t(* switch_ivr_dmachine_callback_t)(switch_ivr_dmachine_match_t *match) |
Definition at line 2354 of file switch_types.h.
typedef struct switch_ivr_dmachine_match switch_ivr_dmachine_match_t |
Definition at line 2353 of file switch_types.h.
typedef struct switch_ivr_dmachine switch_ivr_dmachine_t |
Definition at line 2343 of file switch_types.h.
typedef uint32_t switch_ivr_option_t |
Definition at line 1011 of file switch_types.h.
typedef struct switch_jb_s switch_jb_t |
Definition at line 2578 of file switch_types.h.
typedef switch_status_t(* switch_json_api_function_t)(const cJSON *json, _In_opt_ switch_core_session_t *session, cJSON **json_reply) |
Definition at line 2325 of file switch_types.h.
typedef struct switch_json_api_interface switch_json_api_interface_t |
Definition at line 2200 of file switch_types.h.
typedef struct switch_limit_interface switch_limit_interface_t |
Definition at line 2209 of file switch_types.h.
typedef struct switch_live_array_s switch_live_array_t |
Definition at line 2489 of file switch_types.h.
Definition at line 2192 of file switch_types.h.
typedef struct switch_loadable_module switch_loadable_module_t |
Definition at line 2166 of file switch_types.h.
typedef struct switch_management_interface switch_management_interface_t |
Definition at line 2206 of file switch_types.h.
typedef switch_bool_t(* switch_media_bug_callback_t)(switch_media_bug_t *, void *, switch_abc_type_t) |
Definition at line 2232 of file switch_types.h.
typedef void(* switch_media_bug_exec_cb_t)(switch_media_bug_t *bug, void *user_data) |
Definition at line 2227 of file switch_types.h.
typedef uint32_t switch_media_bug_flag_t |
Definition at line 1772 of file switch_types.h.
typedef struct switch_media_bug switch_media_bug_t |
Definition at line 2208 of file switch_types.h.
typedef uint32_t switch_media_flag_t |
Definition at line 477 of file switch_types.h.
typedef struct switch_media_handle_s switch_media_handle_t |
Definition at line 2483 of file switch_types.h.
typedef struct apr_pool_t switch_memory_pool_t |
Definition at line 2155 of file switch_types.h.
typedef uint32_t switch_module_flag_t |
Definition at line 2444 of file switch_types.h.
typedef switch_status_t switch_module_load_t SWITCH_MODULE_LOAD_ARGS |
Definition at line 2426 of file switch_types.h.
typedef switch_status_t switch_module_runtime_t SWITCH_MODULE_RUNTIME_ARGS |
Definition at line 2427 of file switch_types.h.
typedef switch_status_t switch_module_shutdown_t SWITCH_MODULE_SHUTDOWN_ARGS |
Definition at line 2428 of file switch_types.h.
typedef int(* switch_modulename_callback_func_t)(void *user_data, const char *module_name) |
Definition at line 2454 of file switch_types.h.
typedef struct switch_network_list switch_network_list_t |
Definition at line 2419 of file switch_types.h.
typedef switch_status_t(* switch_new_say_callback_t)(switch_say_file_handle_t *sh, char *tosay, switch_say_args_t *say_args) |
Definition at line 2400 of file switch_types.h.
typedef struct switch_odbc_handle switch_odbc_handle_t |
Definition at line 2184 of file switch_types.h.
typedef uint32_t switch_originate_flag_t |
Definition at line 325 of file switch_types.h.
typedef int switch_os_socket_t |
Definition at line 2151 of file switch_types.h.
typedef uint8_t switch_payload_t |
Definition at line 2157 of file switch_types.h.
typedef struct switch_pgsql_handle switch_pgsql_handle_t |
Definition at line 2185 of file switch_types.h.
typedef struct switch_pgsql_result switch_pgsql_result_t |
Definition at line 2186 of file switch_types.h.
typedef uint32_t switch_port_flag_t |
Definition at line 334 of file switch_types.h.
typedef uint16_t switch_port_t |
Definition at line 2156 of file switch_types.h.
typedef switch_status_t(* switch_read_frame_callback_function_t)(switch_core_session_t *session, switch_frame_t *frame, void *user_data) |
Definition at line 2332 of file switch_types.h.
typedef struct switch_rtcp_frame switch_rtcp_frame_t |
Definition at line 2168 of file switch_types.h.
typedef struct switch_rtcp_hdr_s switch_rtcp_hdr_t |
typedef struct switch_rtcp switch_rtcp_t |
Definition at line 2160 of file switch_types.h.
typedef struct switch_rtp switch_rtp_t |
Definition at line 2159 of file switch_types.h.
typedef switch_status_t(* switch_say_callback_t)(switch_core_session_t *session, char *tosay, switch_say_args_t *say_args, switch_input_args_t *args) |
Definition at line 2388 of file switch_types.h.
typedef struct switch_say_file_handle switch_say_file_handle_t |
Definition at line 2398 of file switch_types.h.
typedef struct switch_say_interface switch_say_interface_t |
Definition at line 2333 of file switch_types.h.
typedef switch_status_t(* switch_say_string_callback_t)(switch_core_session_t *session, char *tosay, switch_say_args_t *say_args, char **rstr) |
Definition at line 2393 of file switch_types.h.
typedef uint32_t switch_scheduler_flag_t |
Definition at line 461 of file switch_types.h.
typedef void(* switch_scheduler_func_t)(switch_scheduler_task_t *task) |
Definition at line 2308 of file switch_types.h.
typedef struct switch_scheduler_task switch_scheduler_task_t |
Definition at line 2306 of file switch_types.h.
typedef struct switch_slin_data switch_slin_data_t |
Definition at line 2456 of file switch_types.h.
typedef uint32_t switch_speech_flag_t |
Definition at line 1654 of file switch_types.h.
typedef struct switch_speech_handle switch_speech_handle_t |
Definition at line 2189 of file switch_types.h.
typedef struct switch_speech_interface switch_speech_interface_t |
Definition at line 2202 of file switch_types.h.
typedef struct switch_sql_queue_manager switch_sql_queue_manager_t |
Definition at line 2170 of file switch_types.h.
typedef switch_status_t(* switch_state_handler_t)(switch_core_session_t *) |
Definition at line 2312 of file switch_types.h.
typedef struct switch_state_handler_table switch_state_handler_table_t |
Definition at line 2176 of file switch_types.h.
typedef switch_status_t(* switch_stream_handle_raw_write_function_t)(switch_stream_handle_t *handle, uint8_t *data, switch_size_t datalen) |
Definition at line 2316 of file switch_types.h.
typedef uint8_t*(* switch_stream_handle_read_function_t)(switch_stream_handle_t *handle, int *len) |
Definition at line 2314 of file switch_types.h.
typedef struct switch_stream_handle switch_stream_handle_t |
Definition at line 2313 of file switch_types.h.
typedef switch_status_t(* switch_stream_handle_write_function_t)(switch_stream_handle_t *handle, const char *fmt,...) |
Definition at line 2315 of file switch_types.h.
typedef uint32_t switch_timer_flag_t |
Definition at line 1725 of file switch_types.h.
typedef struct switch_timer_interface switch_timer_interface_t |
Definition at line 2194 of file switch_types.h.
typedef struct switch_timer switch_timer_t |
Definition at line 2177 of file switch_types.h.
typedef switch_bool_t(* switch_tone_detect_callback_t)(switch_core_session_t *, const char *, const char *) |
Definition at line 2233 of file switch_types.h.
typedef uint32_t switch_unicast_flag_t |
Definition at line 403 of file switch_types.h.
typedef uint32_t switch_vad_flag_t |
Definition at line 616 of file switch_types.h.
typedef struct switch_vid_params_s switch_vid_params_t |
typedef void(* switch_video_function_t)(switch_core_session_t *session, void *user_data) |
Definition at line 2236 of file switch_types.h.
typedef struct switch_waitlist_s switch_waitlist_t |
typedef struct switch_xml_binding switch_xml_binding_t |
Definition at line 2234 of file switch_types.h.
typedef switch_xml_t(* switch_xml_open_root_function_t)(uint8_t reload, const char **err, void *user_data) |
Definition at line 2407 of file switch_types.h.
typedef switch_xml_t(* switch_xml_search_function_t)(const char *section, const char *tag_name, const char *key_name, const char *key_value, switch_event_t *params, void *user_data) |
Definition at line 2408 of file switch_types.h.
typedef uint32_t switch_xml_section_t |
Definition at line 598 of file switch_types.h.
typedef struct switch_xml* switch_xml_t |
Definition at line 2405 of file switch_types.h.
enum dm_match_type_t |
Enumerator | |
---|---|
DM_MATCH_POSITIVE | |
DM_MATCH_NEGATIVE |
Definition at line 2337 of file switch_types.h.
enum dtmf_flag_t |
Enumerator | |
---|---|
DTMF_FLAG_SKIP_PROCESS | |
DTMF_FLAG_SENSITIVE |
Definition at line 281 of file switch_types.h.
enum switch_abc_type_t |
Definition at line 484 of file switch_types.h.
Enumerator | |
---|---|
SAF_NONE | |
SAF_SUPPORT_NOMEDIA | |
SAF_ROUTING_EXEC | |
SAF_MEDIA_TAP | |
SAF_ZOMBIE_EXEC | |
SAF_NO_LOOPBACK |
Definition at line 1572 of file switch_types.h.
Enumerator | |
---|---|
SWITCH_ASR_FLAG_NONE | |
SWITCH_ASR_FLAG_DATA | |
SWITCH_ASR_FLAG_FREE_POOL | |
SWITCH_ASR_FLAG_CLOSED | |
SWITCH_ASR_FLAG_FIRE_EVENTS | |
SWITCH_ASR_FLAG_AUTO_RESUME |
Definition at line 1667 of file switch_types.h.
enum switch_audio_col_t |
Enumerator | |
---|---|
SWITCH_AUDIO_COL_STR_TITLE | |
SWITCH_AUDIO_COL_STR_COPYRIGHT | |
SWITCH_AUDIO_COL_STR_SOFTWARE | |
SWITCH_AUDIO_COL_STR_ARTIST | |
SWITCH_AUDIO_COL_STR_COMMENT | |
SWITCH_AUDIO_COL_STR_DATE |
Definition at line 578 of file switch_types.h.
Enumerator | |
---|---|
SBF_DIAL_ALEG | |
SBF_EXEC_ALEG | |
SBF_DIAL_BLEG | |
SBF_EXEC_BLEG | |
SBF_EXEC_OPPOSITE | |
SBF_EXEC_SAME | |
SBF_ONCE | |
SBF_EXEC_INLINE |
Definition at line 298 of file switch_types.h.
Enumerator | |
---|---|
SWITCH_BITPACK_MODE_RFC3551 | |
SWITCH_BITPACK_MODE_AAL2 |
Definition at line 479 of file switch_types.h.
enum switch_bool_t |
Enumerator | |
---|---|
SWITCH_FALSE | |
SWITCH_TRUE |
Definition at line 405 of file switch_types.h.
enum switch_call_cause_t |
Definition at line 2024 of file switch_types.h.
Enumerator | |
---|---|
SWITCH_CALL_DIRECTION_INBOUND | |
SWITCH_CALL_DIRECTION_OUTBOUND |
Definition at line 293 of file switch_types.h.
Enumerator | |
---|---|
SWITCH_CPF_NONE | |
SWITCH_CPF_SCREEN | |
SWITCH_CPF_HIDE_NAME | |
SWITCH_CPF_HIDE_NUMBER |
Definition at line 570 of file switch_types.h.
Enumerator | |
---|---|
CF_APP_TAGGED | |
CF_APP_T38 | |
CF_APP_T38_REQ | |
CF_APP_T38_FAIL | |
CF_APP_T38_NEGOTIATED |
Definition at line 1524 of file switch_types.h.
Enumerator | |
---|---|
CCS_DOWN | |
CCS_DIALING | |
CCS_RINGING | |
CCS_EARLY | |
CCS_ACTIVE | |
CCS_HELD | |
CCS_RING_WAIT | |
CCS_HANGUP | |
CCS_UNHELD |
Definition at line 1254 of file switch_types.h.
enum switch_channel_cap_t |
Enumerator | |
---|---|
CC_MEDIA_ACK | |
CC_BYPASS_MEDIA | |
CC_PROXY_MEDIA | |
CC_JITTERBUFFER | |
CC_FS_RTP | |
CC_QUEUEABLE_DTMF_DELAY | |
CC_FLAG_MAX |
Definition at line 1360 of file switch_types.h.
Channel Flags.
CF_ANSWERED - Channel is answered CF_OUTBOUND - Channel is an outbound channel CF_EARLY_MEDIA - Channel is ready for audio before answer CF_ORIGINATOR - Channel is an originator CF_TRANSFER - Channel is being transfered CF_ACCEPT_CNG - Channel will accept CNG frames CF_REDIRECT - Channel is being redirected CF_BRIDGED - Channel in a bridge CF_HOLD - Channel is on hold CF_SERVICE - Channel has a service thread CF_TAGGED - Channel is tagged CF_WINNER - Channel is the winner CF_CONTROLLED - Channel is under control CF_PROXY_MODE - Channel has no media CF_SUSPEND - Suspend i/o CF_EVENT_PARSE - Suspend control events CF_GEN_RINGBACK - Channel is generating it's own ringback CF_RING_READY - Channel is ready to send ringback CF_BREAK - Channel should stop what it's doing CF_BROADCAST - Channel is broadcasting CF_UNICAST - Channel has a unicast connection CF_VIDEO - Channel has video CF_EVENT_LOCK - Don't parse events CF_RESET - Tell extension parser to reset CF_ORIGINATING - Channel is originating CF_STOP_BROADCAST - Signal to stop broadcast
CF_AUDIO_PAUSE - Audio is not ready to read/write CF_VIDEO_PAUSE - Video is not ready to read/write
CF_MEDIA_SET - Session has read codec assigned
Definition at line 1371 of file switch_types.h.
Channel States (these are the defaults, CS_SOFT_EXECUTE, CS_EXCHANGE_MEDIA, and CS_CONSUME_MEDIA are often overridden by specific apps)
CS_NEW - Channel is newly created. CS_INIT - Channel has been initialized. CS_ROUTING - Channel is looking for an extension to execute. CS_SOFT_EXECUTE - Channel is ready to execute from 3rd party control. CS_EXECUTE - Channel is executing it's dialplan. CS_EXCHANGE_MEDIA - Channel is exchanging media with another channel. CS_PARK - Channel is accepting media awaiting commands. CS_CONSUME_MEDIA - Channel is consuming all media and dropping it. CS_HIBERNATE - Channel is in a sleep state. CS_RESET - Channel is in a reset state. CS_HANGUP - Channel is flagged for hangup and ready to end. CS_REPORTING - Channel is ready to collect call detail. CS_DESTROY - Channel is ready to be destroyed and out of the state machine.
Enumerator | |
---|---|
CS_NEW | |
CS_INIT | |
CS_ROUTING | |
CS_SOFT_EXECUTE | |
CS_EXECUTE | |
CS_EXCHANGE_MEDIA | |
CS_PARK | |
CS_CONSUME_MEDIA | |
CS_HIBERNATE | |
CS_RESET | |
CS_HANGUP | |
CS_REPORTING | |
CS_DESTROY | |
CS_NONE |
Definition at line 1296 of file switch_types.h.
Enumerator | |
---|---|
SCAF_NONE |
Definition at line 1582 of file switch_types.h.
Enumerator | |
---|---|
SCC_VIDEO_GEN_KEYFRAME | |
SCC_VIDEO_BANDWIDTH | |
SCC_VIDEO_RESET | |
SCC_AUDIO_PACKET_LOSS | |
SCC_DEBUG | |
SCC_CODEC_SPECIFIC |
Definition at line 2257 of file switch_types.h.
Enumerator | |
---|---|
SCCT_NONE | |
SCCT_STRING | |
SCCT_INT |
Definition at line 2266 of file switch_types.h.
Definition at line 1618 of file switch_types.h.
enum switch_codec_type_t |
Codec types.
SWITCH_CODEC_TYPE_AUDIO - Audio Codec SWITCH_CODEC_TYPE_VIDEO - Video Codec SWITCH_CODEC_TYPE_T38 - T38 Codec SWITCH_CODEC_TYPE_APP - Application Codec
Enumerator | |
---|---|
SWITCH_CODEC_TYPE_AUDIO | |
SWITCH_CODEC_TYPE_VIDEO | |
SWITCH_CODEC_TYPE_T38 | |
SWITCH_CODEC_TYPE_APP |
Definition at line 1701 of file switch_types.h.
Definition at line 347 of file switch_types.h.
Enumerator | |
---|---|
ICE_GOOGLE_JINGLE | |
ICE_VANILLA | |
ICE_CONTROLLED |
Definition at line 2554 of file switch_types.h.
Enumerator | |
---|---|
SCSMF_DYNAMIC | |
SCSMF_FREE_STRING_REPLY | |
SCSMF_FREE_POINTER_REPLY |
Definition at line 1239 of file switch_types.h.
Possible types of messages for inter-session communication.
SWITCH_MESSAGE_REDIRECT_AUDIO - Indication to redirect audio to another location if possible SWITCH_MESSAGE_TRANSMIT_TEXT - A text message SWITCH_MESSAGE_INDICATE_ANSWER - indicate answer SWITCH_MESSAGE_INDICATE_PROGRESS - indicate progress SWITCH_MESSAGE_INDICATE_BRIDGE - indicate a bridge starting SWITCH_MESSAGE_INDICATE_UNBRIDGE - indicate a bridge ending SWITCH_MESSAGE_INDICATE_TRANSFER - indicate a transfer is taking place SWITCH_MESSAGE_INDICATE_MEDIA - indicate media is required SWITCH_MESSAGE_INDICATE_NOMEDIA - indicate no-media is required SWITCH_MESSAGE_INDICATE_HOLD - indicate hold SWITCH_MESSAGE_INDICATE_UNHOLD - indicate unhold SWITCH_MESSAGE_INDICATE_REDIRECT - indicate redirect SWITCH_MESSAGE_INDICATE_RESPOND - indicate reject SWITCH_MESSAGE_INDICATE_BROADCAST - indicate media broadcast SWITCH_MESSAGE_INDICATE_MEDIA_REDIRECT - indicate media broadcast SWITCH_MESSAGE_INDICATE_DEFLECT - indicate deflect SWITCH_MESSAGE_INDICATE_VIDEO_REFRESH_REQ - indicate video refresh request
Definition at line 1036 of file switch_types.h.
Enumerator | |
---|---|
SDS_DOWN | |
SDS_RINGING | |
SDS_ACTIVE | |
SDS_ACTIVE_MULTI | |
SDS_HELD | |
SDS_UNHELD | |
SDS_HANGUP |
Definition at line 1266 of file switch_types.h.
Enumerator | |
---|---|
DIGIT_TARGET_SELF | |
DIGIT_TARGET_PEER | |
DIGIT_TARGET_BOTH |
Definition at line 273 of file switch_types.h.
Enumerator | |
---|---|
SWITCH_DTMF_RECV | |
SWITCH_DTMF_SEND |
Definition at line 310 of file switch_types.h.
enum switch_dtmf_source_t |
DTMF sources.
SWITCH_DTMF_UNKNOWN - Unknown source SWITCH_DTMF_INBAND_AUDIO - From audio SWITCH_DTMF_RTP - From RTP as a telephone event SWITCH_DTMF_ENDPOINT - From endpoint signaling SWITCH_DTMF_APP - From application
Enumerator | |
---|---|
SWITCH_DTMF_UNKNOWN | |
SWITCH_DTMF_INBAND_AUDIO | |
SWITCH_DTMF_RTP | |
SWITCH_DTMF_ENDPOINT | |
SWITCH_DTMF_APP |
Definition at line 265 of file switch_types.h.
Enumerator | |
---|---|
ED_NONE | |
ED_MUX_READ | |
ED_MUX_WRITE | |
ED_DTMF | |
ED_COPY_DISPLAY | |
ED_BRIDGE_READ | |
ED_BRIDGE_WRITE |
Definition at line 336 of file switch_types.h.
enum switch_event_types_t |
Built-in Events.
SWITCH_EVENT_CUSTOM - A custom event SWITCH_EVENT_CLONE - A cloned event SWITCH_EVENT_CHANNEL_CREATE - A channel has been created SWITCH_EVENT_CHANNEL_DESTROY - A channel has been destroyed SWITCH_EVENT_CHANNEL_STATE - A channel has changed state SWITCH_EVENT_CHANNEL_CALLSTATE - A channel has changed call state SWITCH_EVENT_CHANNEL_ANSWER - A channel has been answered SWITCH_EVENT_CHANNEL_HANGUP - A channel has been hungup SWITCH_EVENT_CHANNEL_HANGUP_COMPLETE - A channel has completed the hangup SWITCH_EVENT_CHANNEL_EXECUTE - A channel has executed a module's application SWITCH_EVENT_CHANNEL_EXECUTE_COMPLETE - A channel has finshed executing a module's application SWITCH_EVENT_CHANNEL_HOLD - A channel has been put on hold SWITCH_EVENT_CHANNEL_UNHOLD - A channel has been unheld SWITCH_EVENT_CHANNEL_BRIDGE - A channel has bridged to another channel SWITCH_EVENT_CHANNEL_UNBRIDGE - A channel has unbridged from another channel SWITCH_EVENT_CHANNEL_PROGRESS - A channel has started ringing SWITCH_EVENT_CHANNEL_PROGRESS_MEDIA - A channel has started early media SWITCH_EVENT_CHANNEL_OUTGOING - A channel has been unparked SWITCH_EVENT_CHANNEL_PARK - A channel has been parked SWITCH_EVENT_CHANNEL_UNPARK - A channel has been unparked SWITCH_EVENT_CHANNEL_APPLICATION- A channel has called and event from an application SWITCH_EVENT_CHANNEL_ORIGINATE - A channel has been originated SWITCH_EVENT_CHANNEL_UUID - A channel has changed uuid SWITCH_EVENT_API - An API call has been executed SWITCH_EVENT_LOG - A LOG event has been triggered SWITCH_EVENT_INBOUND_CHAN - A new inbound channel has been created SWITCH_EVENT_OUTBOUND_CHAN - A new outbound channel has been created SWITCH_EVENT_STARTUP - The system has been started SWITCH_EVENT_SHUTDOWN - The system has been shutdown SWITCH_EVENT_PUBLISH - Publish SWITCH_EVENT_UNPUBLISH - UnPublish SWITCH_EVENT_TALK - Talking Detected SWITCH_EVENT_NOTALK - Not Talking Detected SWITCH_EVENT_SESSION_CRASH - Session Crashed SWITCH_EVENT_MODULE_LOAD - Module was loaded SWITCH_EVENT_MODULE_UNLOAD - Module was unloaded SWITCH_EVENT_DTMF - DTMF was sent SWITCH_EVENT_MESSAGE - A Basic Message SWITCH_EVENT_PRESENCE_IN - Presence in SWITCH_EVENT_NOTIFY_IN - Received incoming NOTIFY from gateway subscription SWITCH_EVENT_PRESENCE_OUT - Presence out SWITCH_EVENT_PRESENCE_PROBE - Presence probe SWITCH_EVENT_MESSAGE_WAITING - A message is waiting SWITCH_EVENT_MESSAGE_QUERY - A query for MESSAGE_WAITING events SWITCH_EVENT_ROSTER - ? SWITCH_EVENT_CODEC - Codec Change SWITCH_EVENT_BACKGROUND_JOB - Background Job SWITCH_EVENT_DETECTED_SPEECH - Detected Speech SWITCH_EVENT_DETECTED_TONE - Detected Tone SWITCH_EVENT_PRIVATE_COMMAND - A private command event SWITCH_EVENT_HEARTBEAT - Machine is alive SWITCH_EVENT_TRAP - Error Trap SWITCH_EVENT_ADD_SCHEDULE - Something has been scheduled SWITCH_EVENT_DEL_SCHEDULE - Something has been unscheduled SWITCH_EVENT_EXE_SCHEDULE - Something scheduled has been executed SWITCH_EVENT_RE_SCHEDULE - Something scheduled has been rescheduled SWITCH_EVENT_RELOADXML - XML registry has been reloaded SWITCH_EVENT_NOTIFY - Notification SWITCH_EVENT_PHONE_FEATURE - Notification (DND/CFWD/etc) SWITCH_EVENT_PHONE_FEATURE_SUBSCRIBE - Phone feature subscription SWITCH_EVENT_SEND_MESSAGE - Message SWITCH_EVENT_RECV_MESSAGE - Message SWITCH_EVENT_REQUEST_PARAMS SWITCH_EVENT_CHANNEL_DATA SWITCH_EVENT_GENERAL SWITCH_EVENT_COMMAND SWITCH_EVENT_SESSION_HEARTBEAT SWITCH_EVENT_CLIENT_DISCONNECTED SWITCH_EVENT_SERVER_DISCONNECTED SWITCH_EVENT_SEND_INFO SWITCH_EVENT_RECV_INFO SWITCH_EVENT_RECV_RTCP_MESSAGE SWITCH_EVENT_CALL_SECURE SWITCH_EVENT_NAT - NAT Management (new/del/status) SWITCH_EVENT_RECORD_START SWITCH_EVENT_RECORD_STOP SWITCH_EVENT_PLAYBACK_START SWITCH_EVENT_PLAYBACK_STOP SWITCH_EVENT_CALL_UPDATE SWITCH_EVENT_FAILURE - A failure occurred which might impact the normal functioning of the switch SWITCH_EVENT_SOCKET_DATA SWITCH_EVENT_MEDIA_BUG_START SWITCH_EVENT_MEDIA_BUG_STOP SWITCH_EVENT_CONFERENCE_DATA_QUERY SWITCH_EVENT_CONFERENCE_DATA SWITCH_EVENT_CALL_SETUP_REQ SWITCH_EVENT_CALL_SETUP_RESULT SWITCH_EVENT_CALL_DETAIL SWITCH_EVENT_DEVICE_STATE SWITCH_EVENT_ALL - All events at once
Definition at line 1926 of file switch_types.h.
Enumerator | |
---|---|
SCFC_FLUSH_AUDIO | |
SCFC_PAUSE_READ |
Definition at line 2598 of file switch_types.h.
Definition at line 1792 of file switch_types.h.
Definition at line 1548 of file switch_types.h.
enum switch_input_type_t |
Enumerator | |
---|---|
SWITCH_INPUT_TYPE_DTMF | |
SWITCH_INPUT_TYPE_EVENT |
Definition at line 2019 of file switch_types.h.
Enumerator | |
---|---|
SWITCH_IO_FLAG_NONE | |
SWITCH_IO_FLAG_NOBLOCK | |
SWITCH_IO_FLAG_SINGLE_READ | |
SWITCH_IO_FLAG_FORCE |
Definition at line 1817 of file switch_types.h.
enum switch_io_type_t |
Enumerator | |
---|---|
SWITCH_IO_READ | |
SWITCH_IO_WRITE |
Definition at line 2272 of file switch_types.h.
Enumerator | |
---|---|
SWITCH_IVR_OPTION_NONE | |
SWITCH_IVR_OPTION_ASYNC | |
SWITCH_IVR_OPTION_FILE |
Definition at line 1006 of file switch_types.h.
enum switch_log_level_t |
Log Level Enumeration.
SWITCH_LOG_DEBUG - Debug SWITCH_LOG_INFO - Info SWITCH_LOG_NOTICE - Notice SWITCH_LOG_WARNING - Warning SWITCH_LOG_ERROR - Error SWITCH_LOG_CRIT - Critical SWITCH_LOG_ALERT - Alert SWITCH_LOG_CONSOLE - Console
Definition at line 1199 of file switch_types.h.
Enumerator | |
---|---|
SMA_NONE | |
SMA_GET | |
SMA_SET |
Definition at line 449 of file switch_types.h.
Definition at line 1745 of file switch_types.h.
Enumerator | |
---|---|
SMF_NONE | |
SMF_REBRIDGE | |
SMF_ECHO_ALEG | |
SMF_ECHO_BLEG | |
SMF_FORCE | |
SMF_LOOP | |
SMF_HOLD_BLEG | |
SMF_IMMEDIATE | |
SMF_EXEC_INLINE | |
SMF_PRIORITY | |
SMF_REPLYONLY_A | |
SMF_REPLYONLY_B |
Definition at line 463 of file switch_types.h.
enum switch_media_flow_t |
Enumerator | |
---|---|
SWITCH_MEDIA_FLOW_SENDRECV | |
SWITCH_MEDIA_FLOW_SENDONLY | |
SWITCH_MEDIA_FLOW_RECVONLY | |
SWITCH_MEDIA_FLOW_INACTIVE | |
SWITCH_MEDIA_FLOW_DISABLED |
Definition at line 2546 of file switch_types.h.
enum switch_media_type_t |
Enumerator | |
---|---|
SWITCH_MEDIA_TYPE_AUDIO | |
SWITCH_MEDIA_TYPE_VIDEO |
Definition at line 1708 of file switch_types.h.
Enumerator | |
---|---|
SMODF_NONE | |
SMODF_GLOBAL_SYMBOLS |
Definition at line 2440 of file switch_types.h.
Definition at line 378 of file switch_types.h.
Enumerator | |
---|---|
SOF_NONE | |
SOF_NOBLOCK | |
SOF_FORKED_DIAL | |
SOF_NO_EFFECTIVE_ANI | |
SOF_NO_EFFECTIVE_ANIII | |
SOF_NO_EFFECTIVE_CID_NUM | |
SOF_NO_EFFECTIVE_CID_NAME | |
SOF_NO_LIMITS |
Definition at line 315 of file switch_types.h.
enum switch_poll_t |
Enumerator | |
---|---|
SWITCH_POLL_READ | |
SWITCH_POLL_WRITE | |
SWITCH_POLL_ERROR | |
SWITCH_POLL_HUP | |
SWITCH_POLL_RDNORM | |
SWITCH_POLL_RDBAND | |
SWITCH_POLL_PRI | |
SWITCH_POLL_INVALID |
Definition at line 2560 of file switch_types.h.
Enumerator | |
---|---|
SPF_NONE | |
SPF_ODD | |
SPF_EVEN | |
SPF_ROBUST_TCP | |
SPF_ROBUST_UDP |
Definition at line 327 of file switch_types.h.
enum switch_priority_t |
Priority Indication.
SWITCH_PRIORITY_NORMAL - Normal Priority SWITCH_PRIORITY_LOW - Low Priority SWITCH_PRIORITY_HIGH - High Priority
Enumerator | |
---|---|
SWITCH_PRIORITY_NORMAL | |
SWITCH_PRIORITY_LOW | |
SWITCH_PRIORITY_HIGH |
Definition at line 991 of file switch_types.h.
enum switch_pvt_class_t |
Enumerator | |
---|---|
SWITCH_PVT_PRIMARY | |
SWITCH_PVT_SECONDARY |
Definition at line 248 of file switch_types.h.
enum switch_ring_ready_t |
Enumerator | |
---|---|
SWITCH_RING_READY_NONE | |
SWITCH_RING_READY_RINGING | |
SWITCH_RING_READY_QUEUED |
Definition at line 1313 of file switch_types.h.
Definition at line 771 of file switch_types.h.
Definition at line 2497 of file switch_types.h.
enum switch_rtp_flag_t |
RTP Related Flags.
SWITCH_RTP_FLAG_NOBLOCK - Do not block SWITCH_RTP_FLAG_IO - IO is ready SWITCH_RTP_FLAG_USE_TIMER - Timeout Reads and replace with a CNG Frame SWITCH_RTP_FLAG_SECURE - Secure RTP SWITCH_RTP_FLAG_AUTOADJ - Auto-Adjust the dest based on the source SWITCH_RTP_FLAG_RAW_WRITE - Try to forward packets unscathed SWITCH_RTP_FLAG_GOOGLEHACK - Convert payload from 102 to 97 SWITCH_RTP_FLAG_VAD - Enable VAD SWITCH_RTP_FLAG_BREAK - Stop what you are doing and return SWITCH_STATUS_BREAK SWITCH_RTP_FLAG_DATAWAIT - Do not return from reads unless there is data even when non blocking SWITCH_RTP_FLAG_BUGGY_2833 - Emulate the bug in cisco equipment to allow interop SWITCH_RTP_FLAG_PASS_RFC2833 - Pass 2833 (ignore it) SWITCH_RTP_FLAG_AUTO_CNG - Generate outbound CNG frames when idle
Definition at line 723 of file switch_types.h.
enum switch_rtp_flush_t |
Enumerator | |
---|---|
SWITCH_RTP_FLUSH_ONCE | |
SWITCH_RTP_FLUSH_STICK | |
SWITCH_RTP_FLUSH_UNSTICK |
Definition at line 696 of file switch_types.h.
enum switch_rw_t |
Enumerator | |
---|---|
SWITCH_RW_READ | |
SWITCH_RW_WRITE |
Definition at line 565 of file switch_types.h.
enum switch_say_gender_t |
Enumerator | |
---|---|
SSG_MASCULINE | |
SSG_FEMININE | |
SSG_NEUTER | |
SSG_UTRUM |
Definition at line 442 of file switch_types.h.
enum switch_say_method_t |
Enumerator | |
---|---|
SSM_NA | |
SSM_PRONOUNCED | |
SSM_ITERATED | |
SSM_COUNTED | |
SSM_PRONOUNCED_YEAR |
Definition at line 411 of file switch_types.h.
enum switch_say_type_t |
Definition at line 420 of file switch_types.h.
Enumerator | |
---|---|
SSHF_NONE | |
SSHF_OWN_THREAD | |
SSHF_FREE_ARG | |
SSHF_NO_DEL |
Definition at line 455 of file switch_types.h.
enum switch_sdp_type_t |
Enumerator | |
---|---|
SDP_TYPE_REQUEST | |
SDP_TYPE_RESPONSE |
Definition at line 2491 of file switch_types.h.
enum switch_session_ctl_t |
Definition at line 2097 of file switch_types.h.
enum switch_signal_t |
Signals to send to channels.
SWITCH_SIG_KILL - Kill the channel SWITCH_SIG_XFER - Stop the current io but leave it viable
Enumerator | |
---|---|
SWITCH_SIG_NONE | |
SWITCH_SIG_KILL | |
SWITCH_SIG_XFER | |
SWITCH_SIG_BREAK |
Definition at line 1597 of file switch_types.h.
Definition at line 1644 of file switch_types.h.
enum switch_stack_t |
Expression of how to stack a list.
SWITCH_STACK_BOTTOM - Stack on the bottom SWITCH_STACK_TOP - Stack on the top
Enumerator | |
---|---|
SWITCH_STACK_BOTTOM | |
SWITCH_STACK_TOP | |
SWITCH_STACK_NODUP | |
SWITCH_STACK_UNSHIFT | |
SWITCH_STACK_PUSH |
Definition at line 1123 of file switch_types.h.
Enumerator | |
---|---|
SSH_FLAG_STICKY |
Definition at line 2143 of file switch_types.h.
enum switch_status_t |
Common return values.
SWITCH_STATUS_SUCCESS - General Success (common return value for most functions) SWITCH_STATUS_FALSE - General Falsehood SWITCH_STATUS_TIMEOUT - A Timeout has occured SWITCH_STATUS_RESTART - An indication to restart the previous operation SWITCH_STATUS_TERM - An indication to terminate SWITCH_STATUS_NOTIMPL - An indication that requested resource is not impelemented SWITCH_STATUS_MEMERR - General memory error SWITCH_STATUS_NOOP - NOTHING SWITCH_STATUS_RESAMPLE - An indication that a resample has occured SWITCH_STATUS_GENERR - A general Error SWITCH_STATUS_INUSE - An indication that requested resource is in use SWITCH_STATUS_BREAK - A non-fatal break of an operation SWITCH_STATUS_SOCKERR - A socket error SWITCH_STATUS_MORE_DATA - Need More Data SWITCH_STATUS_NOTFOUND - Not Found SWITCH_STATUS_UNLOAD - Unload SWITCH_STATUS_NOUNLOAD - Never Unload
Definition at line 1154 of file switch_types.h.
A target to write log/debug info to.
SWITCH_CHANNEL_ID_LOG - Write to the currently defined log SWITCH_CHANNEL_ID_LOG_CLEAN - Write to the currently defined log with no extra file/line/date information SWITCH_CHANNEL_ID_EVENT - Write to the event engine as a LOG event
Enumerator | |
---|---|
SWITCH_CHANNEL_ID_LOG | |
SWITCH_CHANNEL_ID_LOG_CLEAN | |
SWITCH_CHANNEL_ID_EVENT | |
SWITCH_CHANNEL_ID_SESSION |
Definition at line 1232 of file switch_types.h.
Enumerator | |
---|---|
SWITCH_PRI_LOW | |
SWITCH_PRI_NORMAL | |
SWITCH_PRI_IMPORTANT | |
SWITCH_PRI_REALTIME |
Definition at line 2433 of file switch_types.h.
Enumerator | |
---|---|
SWITCH_TIMER_FLAG_FREE_POOL |
Definition at line 1722 of file switch_types.h.
Enumerator | |
---|---|
SUF_NONE | |
SUF_THREAD_RUNNING | |
SUF_READY | |
SUF_NATIVE |
Definition at line 397 of file switch_types.h.
Enumerator | |
---|---|
SWITCH_VAD_FLAG_TALKING | |
SWITCH_VAD_FLAG_EVENTS_TALK | |
SWITCH_VAD_FLAG_EVENTS_NOTALK | |
SWITCH_VAD_FLAG_CNG |
Definition at line 610 of file switch_types.h.
enum switch_vid_spy_fmt_t |
Enumerator | |
---|---|
SPY_LOWER_RIGHT_SMALL | |
SPY_LOWER_RIGHT_LARGE | |
SPY_DUAL_CROP |
Definition at line 2592 of file switch_types.h.
Enumerator | |
---|---|
SVR_BLOCK | |
SVR_FLUSH | |
SVR_CHECK |
Definition at line 2586 of file switch_types.h.
Definition at line 587 of file switch_types.h.
switch_directories SWITCH_GLOBAL_dirs |
Definition at line 60 of file switch_core.c.
Referenced by __switch_xml_open_root(), db_pick_path(), freeswitch_kill_background(), fs_encode_cleanup(), load_mime_types(), main(), switch_config_open_file(), switch_console_list_available_modules(), switch_core_cert_gen_fingerprint(), switch_core_destroy(), switch_core_gen_certs(), switch_core_init(), switch_core_set_globals(), switch_img_txt_handle_create(), switch_ivr_displace_session(), switch_ivr_insert_file(), switch_ivr_play_file(), switch_ivr_record_file(), switch_ivr_record_session(), switch_loadable_module_init(), switch_loadable_module_load_file(), switch_rtp_add_dtls(), switch_rtp_init(), switch_simple_email(), switch_stream_write_file_contents(), and switch_xml_parse_file().
switch_filenames SWITCH_GLOBAL_filenames |
Definition at line 61 of file switch_core.c.
Referenced by __switch_xml_open_root(), main(), switch_core_set_globals(), and switch_xml_parse_file().