RTS API Documentation  1.10.11
Data Structures | Macros | Typedefs | Enumerations | Functions | Variables
switch_types.h File Reference

Data Types. More...

#include <switch.h>
#include <switch_json.h>
#include <switch_vpx.h>
+ Include dependency graph for switch_types.h:
+ This graph shows which files directly or indirectly include this file:

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_rtcp_video_counters_t
 
struct  switch_rtcp_video_stats_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_fps_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
 
struct  switch_mm_s
 
struct  switch_crypto_key_material_s
 
struct  secure_settings_s
 

Macros

#define SWITCH_ENT_ORIGINATE_DELIM   ":_:"
 
#define SWITCH_BLANK_STRING   ""
 
#define SWITCH_TON_UNDEF   255
 
#define SWITCH_NUMPLAN_UNDEF   255
 
#define SWITCH_SEQ_ESC   "\033["
 
#define SWITCH_SEQ_HOME_CHAR   'H'
 
#define SWITCH_SEQ_HOME_CHAR_STR   "H"
 
#define SWITCH_SEQ_CLEARLINE_CHAR   '1'
 
#define SWITCH_SEQ_CLEARLINE_CHAR_STR   "1"
 
#define SWITCH_SEQ_CLEARLINEEND_CHAR   "K"
 
#define SWITCH_SEQ_CLEARSCR_CHAR0   '2'
 
#define SWITCH_SEQ_CLEARSCR_CHAR1   'J'
 
#define SWITCH_SEQ_CLEARSCR_CHAR   "2J"
 
#define SWITCH_SEQ_DEFAULT_COLOR   SWITCH_SEQ_ESC SWITCH_SEQ_END_COLOR /* Reset to Default fg/bg color */
 
#define SWITCH_SEQ_AND_COLOR   ";" /* To add multiple color definitions */
 
#define SWITCH_SEQ_END_COLOR   "m" /* To end color definitions */
 
#define SWITCH_SEQ_F_BLACK   "30"
 
#define SWITCH_SEQ_F_RED   "31"
 
#define SWITCH_SEQ_F_GREEN   "32"
 
#define SWITCH_SEQ_F_YELLOW   "33"
 
#define SWITCH_SEQ_F_BLUE   "34"
 
#define SWITCH_SEQ_F_MAGEN   "35"
 
#define SWITCH_SEQ_F_CYAN   "36"
 
#define SWITCH_SEQ_F_WHITE   "37"
 
#define SWITCH_SEQ_B_BLACK   "40"
 
#define SWITCH_SEQ_B_RED   "41"
 
#define SWITCH_SEQ_B_GREEN   "42"
 
#define SWITCH_SEQ_B_YELLOW   "43"
 
#define SWITCH_SEQ_B_BLUE   "44"
 
#define SWITCH_SEQ_B_MAGEN   "45"
 
#define SWITCH_SEQ_B_CYAN   "46"
 
#define SWITCH_SEQ_B_WHITE   "47"
 
#define SWITCH_SEQ_FBLACK   SWITCH_SEQ_ESC SWITCH_SEQ_F_BLACK SWITCH_SEQ_END_COLOR
 
#define SWITCH_SEQ_FRED   SWITCH_SEQ_ESC SWITCH_SEQ_F_RED SWITCH_SEQ_END_COLOR
 
#define SWITCH_SEQ_FGREEN   SWITCH_SEQ_ESC SWITCH_SEQ_F_GREEN SWITCH_SEQ_END_COLOR
 
#define SWITCH_SEQ_FYELLOW   SWITCH_SEQ_ESC SWITCH_SEQ_F_YELLOW SWITCH_SEQ_END_COLOR
 
#define SWITCH_SEQ_FBLUE   SWITCH_SEQ_ESC SWITCH_SEQ_F_BLUE SWITCH_SEQ_END_COLOR
 
#define SWITCH_SEQ_FMAGEN   SWITCH_SEQ_ESC SWITCH_SEQ_F_MAGEN SWITCH_SEQ_END_COLOR
 
#define SWITCH_SEQ_FCYAN   SWITCH_SEQ_ESC SWITCH_SEQ_F_CYAN SWITCH_SEQ_END_COLOR
 
#define SWITCH_SEQ_FWHITE   SWITCH_SEQ_ESC SWITCH_SEQ_F_WHITE SWITCH_SEQ_END_COLOR
 
#define SWITCH_SEQ_BBLACK   SWITCH_SEQ_ESC SWITCH_SEQ_B_BLACK SWITCH_SEQ_END_COLOR
 
#define SWITCH_SEQ_BRED   SWITCH_SEQ_ESC SWITCH_SEQ_B_RED SWITCH_SEQ_END_COLOR
 
#define SWITCH_SEQ_BGREEN   SWITCH_SEQ_ESC SWITCH_SEQ_B_GREEN SWITCH_SEQ_END_COLOR
 
#define SWITCH_SEQ_BYELLOW   SWITCH_SEQ_ESC SWITCH_SEQ_B_YELLOW SWITCH_SEQ_END_COLOR
 
#define SWITCH_SEQ_BBLUE   SWITCH_SEQ_ESC SWITCH_SEQ_B_BLUE SWITCH_SEQ_END_COLOR
 
#define SWITCH_SEQ_BMAGEN   SWITCH_SEQ_ESC SWITCH_SEQ_B_MAGEN SWITCH_SEQ_END_COLOR
 
#define SWITCH_SEQ_BCYAN   SWITCH_SEQ_ESC SWITCH_SEQ_B_CYAN SWITCH_SEQ_END_COLOR
 
#define SWITCH_SEQ_BWHITE   SWITCH_SEQ_ESC SWITCH_SEQ_B_WHITE SWITCH_SEQ_END_COLOR
 
#define SWITCH_SEQ_HOME   SWITCH_SEQ_ESC SWITCH_SEQ_HOME_CHAR_STR
 
#define SWITCH_SEQ_CLEARLINE   SWITCH_SEQ_ESC SWITCH_SEQ_CLEARLINE_CHAR_STR
 
#define SWITCH_SEQ_CLEARLINEEND   SWITCH_SEQ_ESC SWITCH_SEQ_CLEARLINEEND_CHAR
 
#define SWITCH_SEQ_CLEARSCR   SWITCH_SEQ_ESC SWITCH_SEQ_CLEARSCR_CHAR SWITCH_SEQ_HOME
 
#define SWITCH_DEFAULT_CLID_NAME   ""
 
#define SWITCH_DEFAULT_CLID_NUMBER   "0000000000"
 
#define SWITCH_DEFAULT_DTMF_DURATION   2000
 
#define SWITCH_DEFAULT_TIMEOUT   60
 
#define SWITCH_MIN_DTMF_DURATION   400
 
#define SWITCH_MAX_DTMF_DURATION   192000
 
#define SWITCH_DEFAULT_DIR_PERMS   SWITCH_FPROT_UREAD | SWITCH_FPROT_UWRITE | SWITCH_FPROT_UEXECUTE | SWITCH_FPROT_GREAD | SWITCH_FPROT_GEXECUTE
 
#define SWITCH_PATH_SEPARATOR   "/"
 
#define SWITCH_URL_SEPARATOR   "://"
 
#define SWITCH_IGNORE_DISPLAY_UPDATES_VARIABLE   "ignore_display_updates"
 
#define SWITCH_AUDIO_SPOOL_PATH_VARIABLE   "audio_spool_path"
 
#define SWITCH_BRIDGE_HANGUP_CAUSE_VARIABLE   "bridge_hangup_cause"
 
#define SWITCH_READ_TERMINATOR_USED_VARIABLE   "read_terminator_used"
 
#define SWITCH_SEND_SILENCE_WHEN_IDLE_VARIABLE   "send_silence_when_idle"
 
#define SWITCH_CURRENT_APPLICATION_VARIABLE   "current_application"
 
#define SWITCH_CURRENT_APPLICATION_DATA_VARIABLE   "current_application_data"
 
#define SWITCH_CURRENT_APPLICATION_RESPONSE_VARIABLE   "current_application_response"
 
#define SWITCH_PASSTHRU_PTIME_MISMATCH_VARIABLE   "passthru_ptime_mismatch"
 
#define SWITCH_ENABLE_HEARTBEAT_EVENTS_VARIABLE   "enable_heartbeat_events"
 
#define SWITCH_BYPASS_MEDIA_AFTER_BRIDGE_VARIABLE   "bypass_media_after_bridge"
 
#define SWITCH_READ_RESULT_VARIABLE   "read_result"
 
#define SWITCH_ATT_XFER_RESULT_VARIABLE   "att_xfer_result"
 
#define SWITCH_COPY_XML_CDR_VARIABLE   "copy_xml_cdr"
 
#define SWITCH_COPY_JSON_CDR_VARIABLE   "copy_json_cdr"
 
#define SWITCH_CURRENT_APPLICATION_VARIABLE   "current_application"
 
#define SWITCH_PROTO_SPECIFIC_HANGUP_CAUSE_VARIABLE   "proto_specific_hangup_cause"
 
#define SWITCH_TRANSFER_HISTORY_VARIABLE   "transfer_history"
 
#define SWITCH_TRANSFER_SOURCE_VARIABLE   "transfer_source"
 
#define SWITCH_SENSITIVE_DTMF_VARIABLE   "sensitive_dtmf"
 
#define SWITCH_RECORD_POST_PROCESS_EXEC_APP_VARIABLE   "record_post_process_exec_app"
 
#define SWITCH_RECORD_POST_PROCESS_EXEC_API_VARIABLE   "record_post_process_exec_api"
 
#define SWITCH_CHANNEL_EXECUTE_ON_ANSWER_VARIABLE   "execute_on_answer"
 
#define SWITCH_CHANNEL_EXECUTE_ON_PRE_ANSWER_VARIABLE   "execute_on_pre_answer"
 
#define SWITCH_CHANNEL_EXECUTE_ON_MEDIA_VARIABLE   "execute_on_media"
 
#define SWITCH_CHANNEL_EXECUTE_ON_RING_VARIABLE   "execute_on_ring"
 
#define SWITCH_CHANNEL_EXECUTE_ON_TONE_DETECT_VARIABLE   "execute_on_tone_detect"
 
#define SWITCH_CHANNEL_EXECUTE_ON_ORIGINATE_VARIABLE   "execute_on_originate"
 
#define SWITCH_CHANNEL_EXECUTE_ON_POST_ORIGINATE_VARIABLE   "execute_on_post_originate"
 
#define SWITCH_CHANNEL_EXECUTE_ON_PRE_ORIGINATE_VARIABLE   "execute_on_pre_originate"
 
#define SWITCH_CHANNEL_EXECUTE_ON_PRE_BRIDGE_VARIABLE   "execute_on_pre_bridge"
 
#define SWITCH_CHANNEL_EXECUTE_ON_POST_BRIDGE_VARIABLE   "execute_on_post_bridge"
 
#define SWITCH_CHANNEL_API_ON_ANSWER_VARIABLE   "api_on_answer"
 
#define SWITCH_CHANNEL_API_ON_PRE_ANSWER_VARIABLE   "api_on_pre_answer"
 
#define SWITCH_CHANNEL_API_ON_MEDIA_VARIABLE   "api_on_media"
 
#define SWITCH_CHANNEL_API_ON_RING_VARIABLE   "api_on_ring"
 
#define SWITCH_CHANNEL_API_ON_TONE_DETECT_VARIABLE   "api_on_tone_detect"
 
#define SWITCH_CHANNEL_API_ON_ORIGINATE_VARIABLE   "api_on_originate"
 
#define SWITCH_CHANNEL_API_ON_POST_ORIGINATE_VARIABLE   "api_on_post_originate"
 
#define SWITCH_CHANNEL_API_ON_PRE_ORIGINATE_VARIABLE   "api_on_pre_originate"
 
#define SWITCH_CALL_TIMEOUT_VARIABLE   "call_timeout"
 
#define SWITCH_HOLDING_UUID_VARIABLE   "holding_uuid"
 
#define SWITCH_SOFT_HOLDING_UUID_VARIABLE   "soft_holding_uuid"
 
#define SWITCH_API_BRIDGE_END_VARIABLE   "api_after_bridge"
 
#define SWITCH_API_BRIDGE_START_VARIABLE   "api_before_bridge"
 
#define SWITCH_API_HANGUP_HOOK_VARIABLE   "api_hangup_hook"
 
#define SWITCH_API_REPORTING_HOOK_VARIABLE   "api_reporting_hook"
 
#define SWITCH_SESSION_IN_HANGUP_HOOK_VARIABLE   "session_in_hangup_hook"
 
#define SWITCH_PROCESS_CDR_VARIABLE   "process_cdr"
 
#define SWITCH_SKIP_CDR_CAUSES_VARIABLE   "skip_cdr_causes"
 
#define SWITCH_FORCE_PROCESS_CDR_VARIABLE   "force_process_cdr"
 
#define SWITCH_BRIDGE_CHANNEL_VARIABLE   "bridge_channel"
 
#define SWITCH_CHANNEL_NAME_VARIABLE   "channel_name"
 
#define SWITCH_BRIDGE_UUID_VARIABLE   "bridge_uuid"
 
#define SWITCH_CONTINUE_ON_FAILURE_VARIABLE   "continue_on_fail"
 
#define SWITCH_PLAYBACK_TERMINATORS_VARIABLE   "playback_terminators"
 
#define SWITCH_PLAYBACK_TERMINATOR_USED   "playback_terminator_used"
 
#define SWITCH_CACHE_SPEECH_HANDLES_VARIABLE   "cache_speech_handles"
 
#define SWITCH_CACHE_SPEECH_HANDLES_OBJ_NAME   "__cache_speech_handles_obj__"
 
#define SWITCH_BYPASS_MEDIA_VARIABLE   "bypass_media"
 
#define SWITCH_PROXY_MEDIA_VARIABLE   "proxy_media"
 
#define SWITCH_ENDPOINT_DISPOSITION_VARIABLE   "endpoint_disposition"
 
#define SWITCH_HOLD_MUSIC_VARIABLE   "hold_music"
 
#define SWITCH_TEMP_HOLD_MUSIC_VARIABLE   "temp_hold_music"
 
#define SWITCH_EXPORT_VARS_VARIABLE   "export_vars"
 
#define SWITCH_BRIDGE_EXPORT_VARS_VARIABLE   "bridge_export_vars"
 
#define SWITCH_R_SDP_VARIABLE   "switch_r_sdp"
 
#define SWITCH_L_SDP_VARIABLE   "switch_l_sdp"
 
#define SWITCH_B_SDP_VARIABLE   "switch_m_sdp"
 
#define SWITCH_BRIDGE_VARIABLE   "bridge_to"
 
#define SWITCH_LAST_BRIDGE_VARIABLE   "last_bridge_to"
 
#define SWITCH_SIGNAL_BRIDGE_VARIABLE   "signal_bridge_to"
 
#define SWITCH_SIGNAL_BOND_VARIABLE   "signal_bond"
 
#define SWITCH_ORIGINATE_SIGNAL_BOND_VARIABLE   "originate_signal_bond"
 
#define SWITCH_ORIGINATOR_VARIABLE   "originator"
 
#define SWITCH_ORIGINATOR_CODEC_VARIABLE   "originator_codec"
 
#define SWITCH_ORIGINATOR_VIDEO_CODEC_VARIABLE   "originator_video_codec"
 
#define SWITCH_LOCAL_MEDIA_IP_VARIABLE   "local_media_ip"
 
#define SWITCH_LOCAL_MEDIA_PORT_VARIABLE   "local_media_port"
 
#define SWITCH_ADVERTISED_MEDIA_IP_VARIABLE   "advertised_media_ip"
 
#define SWITCH_REMOTE_MEDIA_IP_VARIABLE   "remote_media_ip"
 
#define SWITCH_REMOTE_MEDIA_PORT_VARIABLE   "remote_media_port"
 
#define SWITCH_REMOTE_VIDEO_IP_VARIABLE   "remote_video_ip"
 
#define SWITCH_REMOTE_VIDEO_PORT_VARIABLE   "remote_video_port"
 
#define SWITCH_LOCAL_VIDEO_IP_VARIABLE   "local_video_ip"
 
#define SWITCH_LOCAL_VIDEO_PORT_VARIABLE   "local_video_port"
 
#define SWITCH_LOCAL_TEXT_IP_VARIABLE   "local_text_ip"
 
#define SWITCH_LOCAL_TEXT_PORT_VARIABLE   "local_text_port"
 
#define SWITCH_HANGUP_AFTER_BRIDGE_VARIABLE   "hangup_after_bridge"
 
#define SWITCH_PARK_AFTER_BRIDGE_VARIABLE   "park_after_bridge"
 
#define SWITCH_PARK_AFTER_EARLY_BRIDGE_VARIABLE   "park_after_early_bridge"
 
#define SWITCH_TRANSFER_AFTER_BRIDGE_VARIABLE   "transfer_after_bridge"
 
#define SWITCH_TRANSFER_AFTER_EARLY_BRIDGE_VARIABLE   "transfer_after_early_bridge"
 
#define SWITCH_EXEC_AFTER_BRIDGE_APP_VARIABLE   "exec_after_bridge_app"
 
#define SWITCH_EXEC_AFTER_BRIDGE_ARG_VARIABLE   "exec_after_bridge_arg"
 
#define SWITCH_MAX_FORWARDS_VARIABLE   "max_forwards"
 
#define SWITCH_RFC7989_SESSION_ID_VARIABLE   "session_uuid"
 
#define SWITCH_RFC7989_REMOTE_SESSION_ID_VARIABLE   "remote_session_uuid"
 
#define SWITCH_RFC7989_APP_SESSION_ID_VARIABLE   "app_session_uuid"
 
#define SWITCH_RFC7989_GENERIC_PARAM_VARIABLE   "generic_param_session_uuid"
 
#define SWITCH_MAX_SESSION_TRANSFERS_VARIABLE   "max_session_transfers"
 
#define SWITCH_DISABLE_APP_LOG_VARIABLE   "disable_app_log"
 
#define SWITCH_SPEECH_KEY   "speech"
 
#define SWITCH_UUID_BRIDGE   "uuid_bridge"
 
#define SWITCH_BITS_PER_BYTE   8
 
#define SWITCH_DEFAULT_FILE_BUFFER_LEN   65536
 
#define SWITCH_DTMF_LOG_LEN   1000
 
#define SWITCH_MAX_TRANS   2000
 
#define SWITCH_CORE_SESSION_MAX_PRIVATES   2
 
#define SWITCH_DEFAULT_VIDEO_SIZE   1200
 
#define SWITCH_RTCP_AUDIO_INTERVAL_MSEC   "1000"
 
#define SWITCH_RTCP_VIDEO_INTERVAL_MSEC   "1000"
 
#define TEXT_UNICODE_LINEFEED   {0xe2, 0x80, 0xa8}
 
#define MAX_FMTP_LEN   256
 
#define JITTER_VARIANCE_THRESHOLD   400.0
 
#define IPDV_THRESHOLD   1.0
 
#define LOST_BURST_ANALYZE   500
 
#define LOST_BURST_CAPTURE   1024
 
#define SWITCH_MAX_STACKS   32
 
#define SWITCH_THREAD_STACKSIZE   240 * 1024
 
#define SWITCH_SYSTEM_THREAD_STACKSIZE   8192 * 1024
 
#define SWITCH_MAX_INTERVAL   120 /* we only do up to 120ms */
 
#define SWITCH_INTERVAL_PAD   10 /* A little extra buffer space to be safe */
 
#define SWITCH_MAX_SAMPLE_LEN   48
 
#define SWITCH_BYTES_PER_SAMPLE   2 /* slin is 2 bytes per sample */
 
#define SWITCH_RECOMMENDED_BUFFER_SIZE   8192
 
#define SWITCH_MAX_CODECS   50
 
#define SWITCH_MAX_STATE_HANDLERS   30
 
#define SWITCH_CORE_QUEUE_LEN   100000
 
#define SWITCH_MAX_MANAGEMENT_BUFFER_LEN   1024 * 8
 
#define SWITCH_ACCEPTABLE_INTERVAL(_i)   (_i && _i <= SWITCH_MAX_INTERVAL && (_i % 10) == 0)
 
#define SWITCH_RTP_CNG_PAYLOAD   13
 
#define SWITCH_CHANNEL_LOG   SWITCH_CHANNEL_ID_LOG, __FILE__, __SWITCH_FUNC__, __LINE__, NULL
 
#define SWITCH_CHANNEL_LOG_CLEAN   SWITCH_CHANNEL_ID_LOG_CLEAN, __FILE__, __SWITCH_FUNC__, __LINE__, NULL
 
#define SWITCH_CHANNEL_SESSION_LOG_CLEAN(x)   SWITCH_CHANNEL_ID_LOG_CLEAN, __FILE__, __SWITCH_FUNC__, __LINE__, switch_core_session_get_uuid((x))
 
#define SWITCH_CHANNEL_EVENT   SWITCH_CHANNEL_ID_EVENT, __FILE__, __SWITCH_FUNC__, __LINE__, NULL
 
#define SWITCH_CHANNEL_SESSION_LOG(x)   SWITCH_CHANNEL_ID_SESSION, __FILE__, __SWITCH_FUNC__, __LINE__, (const char*)switch_core_session_type_check(x)
 
#define SWITCH_CHANNEL_CHANNEL_LOG(x)   SWITCH_CHANNEL_ID_SESSION, __FILE__, __SWITCH_FUNC__, __LINE__, (const char*)switch_channel_get_session(x)
 
#define SWITCH_CHANNEL_UUID_LOG(x)   SWITCH_CHANNEL_ID_LOG, __FILE__, __SWITCH_FUNC__, __LINE__, switch_const_char_type_check(x)
 
#define SWITCH_MEDIA_TYPE_TOTAL   3
 
#define SWITCH_SOCK_INVALID   -1
 
#define SWITCH_STANDARD_CHAT_APP(name)   static switch_status_t name (switch_event_t *message, const char *data)
 
#define SWITCH_STANDARD_APP(name)   static void name (switch_core_session_t *session, const char *data)
 
#define SWITCH_STANDARD_DIALPLAN(name)   static switch_caller_extension_t *name (switch_core_session_t *session, void *arg, switch_caller_profile_t *caller_profile)
 
#define SWITCH_HASH_DELETE_FUNC(name)   static switch_bool_t name (const void *key, const void *val, void *pData)
 
#define SWITCH_STANDARD_SCHED_FUNC(name)   static void name (switch_scheduler_task_t *task)
 
#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)
 
#define SWITCH_STANDARD_JSON_API(name)   static switch_status_t name (const cJSON *json, _In_opt_ switch_core_session_t *session, cJSON **json_reply)
 
#define DMACHINE_MAX_DIGIT_LEN   512
 
#define MAX_ARG_RECURSION   25
 
#define arg_recursion_check_start(_args)
 
#define arg_recursion_check_stop(_args)   if (_args) _args->loops--
 
#define SWITCH_API_VERSION   5
 
#define SWITCH_MODULE_LOAD_ARGS   (switch_loadable_module_interface_t **module_interface, switch_memory_pool_t *pool)
 
#define SWITCH_MODULE_RUNTIME_ARGS   (void)
 
#define SWITCH_MODULE_SHUTDOWN_ARGS   (void)
 
#define SWITCH_MODULE_LOAD_FUNCTION(name)   switch_status_t name SWITCH_MODULE_LOAD_ARGS
 
#define SWITCH_MODULE_RUNTIME_FUNCTION(name)   switch_status_t name SWITCH_MODULE_RUNTIME_ARGS
 
#define SWITCH_MODULE_SHUTDOWN_FUNCTION(name)   switch_status_t name SWITCH_MODULE_SHUTDOWN_ARGS
 
#define SWITCH_MODULE_DEFINITION_EX(name, load, shutdown, runtime, flags)
 
#define SWITCH_MODULE_DEFINITION(name, load, shutdown, runtime)   SWITCH_MODULE_DEFINITION_EX(name, load, shutdown, runtime, SMODF_NONE)
 
#define SWITCH_RTP_MAX_CRYPTO_LEN   64
 
#define SWITCH_CRYPTO_MKI_INDEX   0
 
#define SWITCH_CRYPTO_MKI_MAX   20
 

Typedefs

typedef uint8_t switch_byte_t
 
typedef uint32_t switch_bind_flag_t
 
typedef uint32_t switch_originate_flag_t
 
typedef uint32_t switch_port_flag_t
 
typedef uint32_t switch_eavesdrop_flag_t
 
typedef uint32_t switch_core_flag_t
 
typedef uint32_t switch_database_flag_t
 
typedef uint32_t switch_unicast_flag_t
 
typedef uint32_t switch_scheduler_flag_t
 
typedef uint32_t switch_media_flag_t
 
typedef struct switch_directories switch_directories
 
typedef struct switch_filenames switch_filenames
 
typedef uint32_t switch_caller_profile_flag_t
 
typedef uint32_t switch_xml_section_t
 
typedef uint32_t switch_vad_flag_t
 
typedef struct switch_vad_s switch_vad_t
 
typedef struct error_period switch_error_period_t
 
typedef struct switch_rtcp_hdr_s switch_rtcp_hdr_t
 
typedef struct audio_buffer_header_s audio_buffer_header_t
 
typedef uint32_t switch_ivr_option_t
 
typedef uint32_t switch_core_session_message_flag_t
 
typedef struct switch_core_session switch_core_session_t
 
typedef struct switch_vid_params_s switch_vid_params_t
 
typedef struct switch_fps_s switch_fps_t
 
typedef uint32_t switch_frame_flag_t
 
typedef uint32_t switch_application_flag_t
 
typedef uint32_t switch_chat_application_flag_t
 
typedef uint32_t switch_codec_flag_t
 
typedef uint32_t switch_speech_flag_t
 
typedef uint32_t switch_asr_flag_t
 
typedef uint32_t switch_directory_flag_t
 
typedef uint32_t switch_timer_flag_t
 
typedef uint32_t switch_media_bug_flag_t
 
typedef uint32_t switch_file_flag_t
 
typedef uint32_t switch_io_flag_t
 
typedef int switch_os_socket_t
 
typedef struct fspr_pool_t switch_memory_pool_t
 
typedef void * switch_plc_state_t
 
typedef uint16_t switch_port_t
 
typedef uint8_t switch_payload_t
 
typedef struct switch_app_log switch_app_log_t
 
typedef struct switch_rtp switch_rtp_t
 
typedef struct switch_rtcp switch_rtcp_t
 
typedef struct switch_core_session_message switch_core_session_message_t
 
typedef struct switch_event_header switch_event_header_t
 
typedef struct switch_event switch_event_t
 
typedef struct switch_event_subclass switch_event_subclass_t
 
typedef struct switch_event_node switch_event_node_t
 
typedef struct switch_loadable_module switch_loadable_module_t
 
typedef struct switch_frame switch_frame_t
 
typedef struct switch_rtcp_frame switch_rtcp_frame_t
 
typedef struct switch_channel switch_channel_t
 
typedef struct switch_sql_queue_manager switch_sql_queue_manager_t
 
typedef struct switch_file_handle switch_file_handle_t
 
typedef struct switch_caller_profile switch_caller_profile_t
 
typedef struct switch_caller_extension switch_caller_extension_t
 
typedef struct switch_caller_application switch_caller_application_t
 
typedef struct switch_state_handler_table switch_state_handler_table_t
 
typedef struct switch_timer switch_timer_t
 
typedef struct switch_codec switch_codec_t
 
typedef struct switch_core_thread_session switch_core_thread_session_t
 
typedef struct switch_codec_implementation switch_codec_implementation_t
 
typedef struct switch_buffer switch_buffer_t
 
typedef union switch_codec_settings switch_codec_settings_t
 
typedef struct switch_codec_fmtp switch_codec_fmtp_t
 
typedef struct switch_coredb_handle switch_coredb_handle_t
 
typedef struct switch_odbc_handle switch_odbc_handle_t
 
typedef struct switch_database_interface_handle switch_database_interface_handle_t
 
typedef struct switch_io_routines switch_io_routines_t
 
typedef struct switch_speech_handle switch_speech_handle_t
 
typedef struct switch_asr_handle switch_asr_handle_t
 
typedef struct switch_directory_handle switch_directory_handle_t
 
typedef struct switch_loadable_module_interface switch_loadable_module_interface_t
 
typedef struct switch_endpoint_interface switch_endpoint_interface_t
 
typedef struct switch_timer_interface switch_timer_interface_t
 
typedef struct switch_dialplan_interface switch_dialplan_interface_t
 
typedef struct switch_codec_interface switch_codec_interface_t
 
typedef struct switch_application_interface switch_application_interface_t
 
typedef struct switch_chat_application_interface switch_chat_application_interface_t
 
typedef struct switch_api_interface switch_api_interface_t
 
typedef struct switch_json_api_interface switch_json_api_interface_t
 
typedef struct switch_file_interface switch_file_interface_t
 
typedef struct switch_speech_interface switch_speech_interface_t
 
typedef struct switch_asr_interface switch_asr_interface_t
 
typedef struct switch_directory_interface switch_directory_interface_t
 
typedef struct switch_chat_interface switch_chat_interface_t
 
typedef struct switch_management_interface switch_management_interface_t
 
typedef struct switch_core_port_allocator switch_core_port_allocator_t
 
typedef struct switch_media_bug switch_media_bug_t
 
typedef struct switch_limit_interface switch_limit_interface_t
 
typedef struct switch_database_interface switch_database_interface_t
 
typedef void(* hashtable_destructor_t) (void *ptr)
 
typedef struct switch_console_callback_match_node switch_console_callback_match_node_t
 
typedef struct switch_console_callback_match switch_console_callback_match_t
 
typedef void(* switch_media_bug_exec_cb_t) (switch_media_bug_t *bug, void *user_data)
 
typedef switch_status_t(* switch_core_video_thread_callback_func_t) (switch_core_session_t *session, switch_frame_t *frame, void *user_data)
 
typedef switch_status_t(* switch_core_text_thread_callback_func_t) (switch_core_session_t *session, switch_frame_t *frame, void *user_data)
 
typedef void(* switch_cap_callback_t) (const char *var, const char *val, void *user_data)
 
typedef switch_status_t(* switch_console_complete_callback_t) (const char *, const char *, switch_console_callback_match_t **matches)
 
typedef switch_bool_t(* switch_media_bug_callback_t) (switch_media_bug_t *, void *, switch_abc_type_t)
 
typedef switch_bool_t(* switch_tone_detect_callback_t) (switch_core_session_t *, const char *, const char *)
 
typedef struct switch_xml_binding switch_xml_binding_t
 
typedef void(* switch_engine_function_t) (switch_core_session_t *session, void *user_data)
 
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)
 
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)
 
typedef switch_status_t(* switch_core_codec_video_encode_func_t) (switch_codec_t *codec, switch_frame_t *frame)
 
typedef switch_status_t(* switch_core_codec_video_decode_func_t) (switch_codec_t *codec, switch_frame_t *frame)
 
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)
 
typedef switch_status_t(* switch_core_codec_init_func_t) (switch_codec_t *, switch_codec_flag_t, const switch_codec_settings_t *codec_settings)
 
typedef switch_status_t(* switch_core_codec_fmtp_parse_func_t) (const char *fmtp, switch_codec_fmtp_t *codec_fmtp)
 
typedef switch_status_t(* switch_core_codec_destroy_func_t) (switch_codec_t *)
 
typedef switch_status_t(* switch_chat_application_function_t) (switch_event_t *, const char *)
 
typedef void(* switch_application_function_t) (switch_core_session_t *, const char *)
 
typedef int(* switch_core_recover_callback_t) (switch_core_session_t *session)
 
typedef void(* switch_event_callback_t) (switch_event_t *)
 
typedef switch_caller_extension_t *(* switch_dialplan_hunt_function_t) (switch_core_session_t *, void *, switch_caller_profile_t *)
 
typedef switch_bool_t(* switch_hash_delete_callback_t) (_In_ const void *key, _In_ const void *val, _In_opt_ void *pData)
 
typedef struct switch_scheduler_task switch_scheduler_task_t
 
typedef void(* switch_scheduler_func_t) (switch_scheduler_task_t *task)
 
typedef switch_status_t(* switch_state_handler_t) (switch_core_session_t *)
 
typedef struct switch_stream_handle switch_stream_handle_t
 
typedef uint8_t *(* switch_stream_handle_read_function_t) (switch_stream_handle_t *handle, int *len)
 
typedef switch_status_t(* switch_stream_handle_write_function_t) (switch_stream_handle_t *handle, const char *fmt,...)
 
typedef switch_status_t(* switch_stream_handle_raw_write_function_t) (switch_stream_handle_t *handle, uint8_t *data, switch_size_t datalen)
 
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)
 
typedef switch_status_t(* switch_json_api_function_t) (const cJSON *json, _In_opt_ switch_core_session_t *session, cJSON **json_reply)
 
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)
 
typedef switch_status_t(* switch_read_frame_callback_function_t) (switch_core_session_t *session, switch_frame_t *frame, void *user_data)
 
typedef struct switch_say_interface switch_say_interface_t
 
typedef struct switch_ivr_dmachine switch_ivr_dmachine_t
 
typedef struct switch_ivr_dmachine_match switch_ivr_dmachine_match_t
 
typedef switch_status_t(* switch_ivr_dmachine_callback_t) (switch_ivr_dmachine_match_t *match)
 
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)
 
typedef switch_status_t(* switch_say_string_callback_t) (switch_core_session_t *session, char *tosay, switch_say_args_t *say_args, char **rstr)
 
typedef struct switch_say_file_handle switch_say_file_handle_t
 
typedef switch_status_t(* switch_new_say_callback_t) (switch_say_file_handle_t *sh, char *tosay, switch_say_args_t *say_args)
 
typedef struct switch_xmlswitch_xml_t
 
typedef struct switch_core_time_duration switch_core_time_duration_t
 
typedef switch_xml_t(* switch_xml_open_root_function_t) (uint8_t reload, const char **err, void *user_data)
 
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)
 
typedef struct switch_hashtable switch_hash_t
 
typedef struct switch_hashtable switch_inthash_t
 
typedef struct switch_hashtable_iterator switch_hash_index_t
 
typedef struct switch_network_list switch_network_list_t
 
typedef switch_status_t switch_module_load_t SWITCH_MODULE_LOAD_ARGS
 
typedef switch_status_t switch_module_runtime_t SWITCH_MODULE_RUNTIME_ARGS
 
typedef switch_status_t switch_module_shutdown_t SWITCH_MODULE_SHUTDOWN_ARGS
 
typedef uint32_t switch_module_flag_t
 
typedef struct switch_loadable_module_function_table switch_loadable_module_function_table_t
 
typedef int(* switch_modulename_callback_func_t) (void *user_data, const char *module_name)
 
typedef struct switch_slin_data switch_slin_data_t
 
typedef struct switch_media_handle_s switch_media_handle_t
 
typedef uint32_t switch_event_channel_id_t
 
typedef void(* switch_event_channel_func_t) (const char *event_channel, cJSON *json, const char *key, switch_event_channel_id_t id, void *user_data)
 
typedef struct switch_live_array_s switch_live_array_t
 
typedef struct payload_map_s payload_map_t
 
typedef struct switch_waitlist_s switch_waitlist_t
 
typedef struct switch_jb_s switch_jb_t
 
typedef struct switch_img_txt_handle_s switch_img_txt_handle_t
 
typedef struct switch_frame_buffer_s switch_frame_buffer_t
 
typedef struct switch_rtp_text_factory_s switch_rtp_text_factory_t
 
typedef struct switch_agc_s switch_agc_t
 
typedef struct switch_chromakey_s switch_chromakey_t
 
typedef struct switch_mm_s switch_mm_t
 
typedef struct switch_crypto_key_material_s switch_crypto_key_material_t
 
typedef struct secure_settings_s switch_secure_settings_t
 
typedef struct switch_dial_handle_s switch_dial_handle_t
 
typedef struct switch_dial_leg_s switch_dial_leg_t
 
typedef struct switch_dial_leg_list_s switch_dial_leg_list_t
 
typedef struct switch_dial_handle_list_s switch_dial_handle_list_t
 

Enumerations

enum  switch_pvt_class_t { SWITCH_PVT_PRIMARY = 0, SWITCH_PVT_SECONDARY }
 
enum  switch_dtmf_source_t {
  SWITCH_DTMF_UNKNOWN, SWITCH_DTMF_INBAND_AUDIO, SWITCH_DTMF_RTP, SWITCH_DTMF_ENDPOINT,
  SWITCH_DTMF_APP
}
 DTMF sources. More...
 
enum  switch_digit_action_target_t { DIGIT_TARGET_SELF, DIGIT_TARGET_PEER, DIGIT_TARGET_BOTH }
 
enum  dtmf_flag_t { DTMF_FLAG_SKIP_PROCESS = (1 << 0), DTMF_FLAG_SENSITIVE = (1 << 1) }
 
enum  switch_call_direction_t { SWITCH_CALL_DIRECTION_INBOUND, SWITCH_CALL_DIRECTION_OUTBOUND }
 
enum  switch_bind_flag_enum_t {
  SBF_DIAL_ALEG = (1 << 0), SBF_EXEC_ALEG = (1 << 1), SBF_DIAL_BLEG = (1 << 2), SBF_EXEC_BLEG = (1 << 3),
  SBF_EXEC_OPPOSITE = (1 << 4), SBF_EXEC_SAME = (1 << 5), SBF_ONCE = (1 << 6), SBF_EXEC_INLINE = (1 << 7)
}
 
enum  switch_dtmf_direction_t { SWITCH_DTMF_RECV = 0, SWITCH_DTMF_SEND = 1 }
 
enum  switch_originate_flag_enum_t {
  SOF_NONE = 0, SOF_NOBLOCK = (1 << 0), SOF_FORKED_DIAL = (1 << 1), SOF_NO_EFFECTIVE_ANI = (1 << 2),
  SOF_NO_EFFECTIVE_ANIII = (1 << 3), SOF_NO_EFFECTIVE_CID_NUM = (1 << 4), SOF_NO_EFFECTIVE_CID_NAME = (1 << 5), SOF_NO_LIMITS = (1 << 6)
}
 
enum  switch_port_flag_enum_t {
  SPF_NONE = 0, SPF_ODD = (1 << 0), SPF_EVEN = (1 << 1), SPF_ROBUST_TCP = (1 << 2),
  SPF_ROBUST_UDP = (1 << 3)
}
 
enum  switch_eavesdrop_flag_enum_t {
  ED_NONE = 0, ED_MUX_READ = (1 << 0), ED_MUX_WRITE = (1 << 1), ED_DTMF = (1 << 2),
  ED_COPY_DISPLAY = (1 << 3), ED_BRIDGE_READ = (1 << 4), ED_BRIDGE_WRITE = (1 << 5), ED_TAP_READ = (1 << 6),
  ED_TAP_WRITE = (1 << 7), ED_STEREO = (1 << 8)
}
 
enum  switch_core_flag_enum_t {
  SCF_NONE = 0, SCF_USE_SQL = (1 << 0), SCF_NO_NEW_OUTBOUND_SESSIONS = (1 << 1), SCF_NO_NEW_INBOUND_SESSIONS = (1 << 2),
  SCF_NO_NEW_SESSIONS = (SCF_NO_NEW_OUTBOUND_SESSIONS | SCF_NO_NEW_INBOUND_SESSIONS), SCF_SHUTTING_DOWN = (1 << 3), SCF_VG = (1 << 4), SCF_RESTART = (1 << 5),
  SCF_SHUTDOWN_REQUESTED = (1 << 6), SCF_USE_AUTO_NAT = (1 << 7), SCF_EARLY_HANGUP = (1 << 8), SCF_CALIBRATE_CLOCK = (1 << 9),
  SCF_USE_HEAVY_TIMING = (1 << 10), SCF_USE_CLOCK_RT = (1 << 11), SCF_VERBOSE_EVENTS = (1 << 12), SCF_USE_WIN32_MONOTONIC = (1 << 13),
  SCF_AUTO_SCHEMAS = (1 << 14), SCF_MINIMAL = (1 << 15), SCF_USE_NAT_MAPPING = (1 << 16), SCF_CLEAR_SQL = (1 << 17),
  SCF_THREADED_SYSTEM_EXEC = (1 << 18), SCF_SYNC_CLOCK_REQUESTED = (1 << 19), SCF_CORE_NON_SQLITE_DB_REQ = (1 << 20), SCF_DEBUG_SQL = (1 << 21),
  SCF_API_EXPANSION = (1 << 22), SCF_SESSION_THREAD_POOL = (1 << 23), SCF_DIALPLAN_TIMESTAMPS = (1 << 24), SCF_CPF_SOFT_PREFIX = (1 << 25),
  SCF_CPF_SOFT_LOOKUP = (1 << 26), SCF_EVENT_CHANNEL_ENABLE_HIERARCHY_DELIVERY = (1 << 27), SCF_EVENT_CHANNEL_HIERARCHY_DELIVERY_ONCE = (1 << 28), SCF_EVENT_CHANNEL_LOG_UNDELIVERABLE_JSON = (1 << 29),
  SCF_LOG_DISABLE = (1 << 30)
}
 
enum  switch_module_interface_name_t {
  SWITCH_ENDPOINT_INTERFACE, SWITCH_TIMER_INTERFACE, SWITCH_DIALPLAN_INTERFACE, SWITCH_CODEC_INTERFACE,
  SWITCH_APPLICATION_INTERFACE, SWITCH_API_INTERFACE, SWITCH_FILE_INTERFACE, SWITCH_SPEECH_INTERFACE,
  SWITCH_DIRECTORY_INTERFACE, SWITCH_CHAT_INTERFACE, SWITCH_SAY_INTERFACE, SWITCH_ASR_INTERFACE,
  SWITCH_MANAGEMENT_INTERFACE, SWITCH_LIMIT_INTERFACE, SWITCH_CHAT_APPLICATION_INTERFACE, SWITCH_JSON_API_INTERFACE,
  SWITCH_DATABASE_INTERFACE
}
 
enum  switch_database_flag_enum_t { SWITCH_DATABASE_FLAG_ROW_SIZE_LIMIT = (1 << 0) }
 
enum  switch_unicast_flag_enum_t { SUF_NONE = 0, SUF_THREAD_RUNNING = (1 << 0), SUF_READY = (1 << 1), SUF_NATIVE = (1 << 2) }
 
enum  switch_bool_t { SWITCH_FALSE = 0, SWITCH_TRUE = 1 }
 
enum  switch_say_method_t {
  SSM_NA, SSM_PRONOUNCED, SSM_ITERATED, SSM_COUNTED,
  SSM_PRONOUNCED_YEAR
}
 
enum  switch_say_type_t {
  SST_NUMBER, SST_ITEMS, SST_PERSONS, SST_MESSAGES,
  SST_CURRENCY, SST_TIME_MEASUREMENT, SST_CURRENT_DATE, SST_CURRENT_TIME,
  SST_CURRENT_DATE_TIME, SST_TELEPHONE_NUMBER, SST_TELEPHONE_EXTENSION, SST_URL,
  SST_IP_ADDRESS, SST_EMAIL_ADDRESS, SST_POSTAL_ADDRESS, SST_ACCOUNT_NUMBER,
  SST_NAME_SPELLED, SST_NAME_PHONETIC, SST_SHORT_DATE_TIME
}
 
enum  switch_say_gender_t { SSG_MASCULINE, SSG_FEMININE, SSG_NEUTER, SSG_UTRUM }
 
enum  switch_management_action_t { SMA_NONE, SMA_GET, SMA_SET }
 
enum  switch_scheduler_flag_enum_t { SSHF_NONE = 0, SSHF_OWN_THREAD = (1 << 0), SSHF_FREE_ARG = (1 << 1), SSHF_NO_DEL = (1 << 2) }
 
enum  switch_media_flag_enum_t {
  SMF_NONE = 0, SMF_REBRIDGE = (1 << 0), SMF_ECHO_ALEG = (1 << 1), SMF_ECHO_BLEG = (1 << 2),
  SMF_FORCE = (1 << 3), SMF_LOOP = (1 << 4), SMF_HOLD_BLEG = (1 << 5), SMF_IMMEDIATE = (1 << 6),
  SMF_EXEC_INLINE = (1 << 7), SMF_PRIORITY = (1 << 8), SMF_REPLYONLY_A = (1 << 9), SMF_REPLYONLY_B = (1 << 10)
}
 
enum  switch_bitpack_mode_t { SWITCH_BITPACK_MODE_RFC3551, SWITCH_BITPACK_MODE_AAL2 }
 
enum  switch_abc_type_t {
  SWITCH_ABC_TYPE_INIT, SWITCH_ABC_TYPE_READ, SWITCH_ABC_TYPE_WRITE, SWITCH_ABC_TYPE_WRITE_REPLACE,
  SWITCH_ABC_TYPE_READ_REPLACE, SWITCH_ABC_TYPE_READ_PING, SWITCH_ABC_TYPE_TAP_NATIVE_READ, SWITCH_ABC_TYPE_TAP_NATIVE_WRITE,
  SWITCH_ABC_TYPE_CLOSE, SWITCH_ABC_TYPE_READ_VIDEO_PING, SWITCH_ABC_TYPE_WRITE_VIDEO_PING, SWITCH_ABC_TYPE_STREAM_VIDEO_PING,
  SWITCH_ABC_TYPE_VIDEO_PATCH, SWITCH_ABC_TYPE_READ_TEXT
}
 
enum  switch_rw_t { SWITCH_RW_READ, SWITCH_RW_WRITE }
 
enum  switch_caller_profile_flag_enum_t {
  SWITCH_CPF_NONE = 0, SWITCH_CPF_SCREEN = (1 << 0), SWITCH_CPF_HIDE_NAME = (1 << 1), SWITCH_CPF_HIDE_NUMBER = (1 << 2),
  SWITCH_CPF_SOFT_PREFIX = (1 << 3), SWITCH_CPF_SOFT_LOOKUP = (1 << 4)
}
 
enum  switch_audio_col_t {
  SWITCH_AUDIO_COL_STR_TITLE = 0x01, SWITCH_AUDIO_COL_STR_COPYRIGHT = 0x02, SWITCH_AUDIO_COL_STR_SOFTWARE = 0x03, SWITCH_AUDIO_COL_STR_ARTIST = 0x04,
  SWITCH_AUDIO_COL_STR_COMMENT = 0x05, SWITCH_AUDIO_COL_STR_DATE = 0x06, SWITCH_AUDIO_COL_STR_ALBUM = 0x07, SWITCH_AUDIO_COL_STR_LICENSE = 0x08,
  SWITCH_AUDIO_COL_STR_TRACKNUMBER = 0x09, SWITCH_AUDIO_COL_STR_GENRE = 0x10, SWITCH_AUDIO_COL_STR_FILE_SIZE = 0xF0, SWITCH_AUDIO_COL_STR_FILE_TRIMMED = 0xF1,
  SWITCH_AUDIO_COL_STR_FILE_TRIMMED_MS = 0xF2
}
 
enum  switch_xml_section_enum_t {
  SWITCH_XML_SECTION_RESULT = 0, SWITCH_XML_SECTION_CONFIG = (1 << 0), SWITCH_XML_SECTION_DIRECTORY = (1 << 1), SWITCH_XML_SECTION_DIALPLAN = (1 << 2),
  SWITCH_XML_SECTION_LANGUAGES = (1 << 3), SWITCH_XML_SECTION_CHATPLAN = (1 << 4), SWITCH_XML_SECTION_CHANNELS = (1 << 5), SWITCH_XML_SECTION_MAX = (1 << 5)
}
 
enum  switch_vad_flag_enum_t { SWITCH_VAD_FLAG_TALKING = (1 << 0), SWITCH_VAD_FLAG_EVENTS_TALK = (1 << 1), SWITCH_VAD_FLAG_EVENTS_NOTALK = (1 << 2), SWITCH_VAD_FLAG_CNG = (1 << 3) }
 
enum  switch_vad_state_t {
  SWITCH_VAD_STATE_NONE, SWITCH_VAD_STATE_START_TALKING, SWITCH_VAD_STATE_TALKING, SWITCH_VAD_STATE_STOP_TALKING,
  SWITCH_VAD_STATE_ERROR
}
 
enum  switch_rtp_flush_t { SWITCH_RTP_FLUSH_ONCE, SWITCH_RTP_FLUSH_STICK, SWITCH_RTP_FLUSH_UNSTICK }
 
enum  switch_rtp_flag_t {
  SWITCH_RTP_FLAG_NOBLOCK = 0, SWITCH_RTP_FLAG_DTMF_ON, SWITCH_RTP_FLAG_IO, SWITCH_RTP_FLAG_USE_TIMER,
  SWITCH_RTP_FLAG_RTCP_PASSTHRU, SWITCH_RTP_FLAG_SECURE_SEND, SWITCH_RTP_FLAG_SECURE_RECV, SWITCH_RTP_FLAG_AUTOADJ,
  SWITCH_RTP_FLAG_RTCP_AUTOADJ, SWITCH_RTP_FLAG_RAW_WRITE, SWITCH_RTP_FLAG_GOOGLEHACK, SWITCH_RTP_FLAG_VAD,
  SWITCH_RTP_FLAG_BREAK, SWITCH_RTP_FLAG_UDPTL, SWITCH_RTP_FLAG_DATAWAIT, SWITCH_RTP_FLAG_BYTESWAP,
  SWITCH_RTP_FLAG_PASS_RFC2833, SWITCH_RTP_FLAG_AUTO_CNG, SWITCH_RTP_FLAG_SECURE_SEND_RESET, SWITCH_RTP_FLAG_SECURE_RECV_RESET,
  SWITCH_RTP_FLAG_PROXY_MEDIA, SWITCH_RTP_FLAG_SHUTDOWN, SWITCH_RTP_FLAG_FLUSH, SWITCH_RTP_FLAG_AUTOFLUSH,
  SWITCH_RTP_FLAG_STICKY_FLUSH, SWITCH_RTP_FLAG_DEBUG_RTP_READ, SWITCH_RTP_FLAG_DEBUG_RTP_WRITE, SWITCH_RTP_FLAG_ESTIMATORS,
  SWITCH_RTP_FLAG_ADJ_BITRATE_CAP, SWITCH_RTP_FLAG_VIDEO, SWITCH_RTP_FLAG_ENABLE_RTCP, SWITCH_RTP_FLAG_RTCP_MUX,
  SWITCH_RTP_FLAG_KILL_JB, SWITCH_RTP_FLAG_VIDEO_BREAK, SWITCH_RTP_FLAG_PAUSE, SWITCH_RTP_FLAG_FIR,
  SWITCH_RTP_FLAG_PLI, SWITCH_RTP_FLAG_RESET, SWITCH_RTP_FLAG_MUTE, SWITCH_RTP_FLAG_NACK,
  SWITCH_RTP_FLAG_TMMBR, SWITCH_RTP_FLAG_DETECT_SSRC, SWITCH_RTP_FLAG_TEXT, SWITCH_RTP_FLAG_OLD_FIR,
  SWITCH_RTP_FLAG_PASSTHRU, SWITCH_RTP_FLAG_SECURE_SEND_MKI, SWITCH_RTP_FLAG_SECURE_RECV_MKI, SWITCH_RTP_FLAG_SRTP_HANGUP_ON_ERROR,
  SWITCH_RTP_FLAG_AUDIO_FIRE_SEND_RTCP_EVENT, SWITCH_RTP_FLAG_VIDEO_FIRE_SEND_RTCP_EVENT, SWITCH_RTP_FLAG_INVALID
}
 RTP Related Flags. More...
 
enum  switch_rtp_bug_flag_t {
  RTP_BUG_NONE = 0, RTP_BUG_CISCO_SKIP_MARK_BIT_2833 = (1 << 0), RTP_BUG_SONUS_SEND_INVALID_TIMESTAMP_2833 = (1 << 1), RTP_BUG_IGNORE_MARK_BIT = (1 << 2),
  RTP_BUG_SEND_LINEAR_TIMESTAMPS = (1 << 3), RTP_BUG_START_SEQ_AT_ZERO = (1 << 4), RTP_BUG_NEVER_SEND_MARKER = (1 << 5), RTP_BUG_IGNORE_DTMF_DURATION = (1 << 6),
  RTP_BUG_ACCEPT_ANY_PACKETS = (1 << 7), RTP_BUG_GEN_ONE_GEN_ALL = (1 << 8), RTP_BUG_CHANGE_SSRC_ON_MARKER = (1 << 9), RTP_BUG_FLUSH_JB_ON_DTMF = (1 << 10),
  RTP_BUG_ACCEPT_ANY_PAYLOAD = (1 << 11), RTP_BUG_ALWAYS_AUTO_ADJUST = (1 << 12)
}
 
enum  switch_priority_t { SWITCH_PRIORITY_NORMAL, SWITCH_PRIORITY_LOW, SWITCH_PRIORITY_HIGH }
 Priority Indication. More...
 
enum  switch_ivr_option_enum_t { SWITCH_IVR_OPTION_NONE = 0, SWITCH_IVR_OPTION_ASYNC = (1 << 0), SWITCH_IVR_OPTION_FILE = (1 << 1) }
 
enum  switch_core_session_message_types_t {
  SWITCH_MESSAGE_REDIRECT_AUDIO, SWITCH_MESSAGE_TRANSMIT_TEXT, SWITCH_MESSAGE_INDICATE_ANSWER, SWITCH_MESSAGE_INDICATE_ACKNOWLEDGE_CALL,
  SWITCH_MESSAGE_INDICATE_PROGRESS, SWITCH_MESSAGE_INDICATE_BRIDGE, SWITCH_MESSAGE_INDICATE_UNBRIDGE, SWITCH_MESSAGE_INDICATE_TRANSFER,
  SWITCH_MESSAGE_INDICATE_RINGING, SWITCH_MESSAGE_INDICATE_ALERTING, SWITCH_MESSAGE_INDICATE_MEDIA, SWITCH_MESSAGE_INDICATE_3P_MEDIA,
  SWITCH_MESSAGE_INDICATE_NOMEDIA, SWITCH_MESSAGE_INDICATE_3P_NOMEDIA, SWITCH_MESSAGE_INDICATE_HOLD, SWITCH_MESSAGE_INDICATE_UNHOLD,
  SWITCH_MESSAGE_INDICATE_REDIRECT, SWITCH_MESSAGE_INDICATE_RESPOND, SWITCH_MESSAGE_INDICATE_BROADCAST, SWITCH_MESSAGE_INDICATE_MEDIA_REDIRECT,
  SWITCH_MESSAGE_INDICATE_DEFLECT, SWITCH_MESSAGE_INDICATE_VIDEO_REFRESH_REQ, SWITCH_MESSAGE_INDICATE_DISPLAY, SWITCH_MESSAGE_INDICATE_MEDIA_PARAMS,
  SWITCH_MESSAGE_INDICATE_TRANSCODING_NECESSARY, SWITCH_MESSAGE_INDICATE_AUDIO_SYNC, SWITCH_MESSAGE_INDICATE_VIDEO_SYNC, SWITCH_MESSAGE_INDICATE_REQUEST_IMAGE_MEDIA,
  SWITCH_MESSAGE_INDICATE_UUID_CHANGE, SWITCH_MESSAGE_INDICATE_SIMPLIFY, SWITCH_MESSAGE_INDICATE_DEBUG_MEDIA, SWITCH_MESSAGE_INDICATE_PROXY_MEDIA,
  SWITCH_MESSAGE_INDICATE_APPLICATION_EXEC, SWITCH_MESSAGE_INDICATE_APPLICATION_EXEC_COMPLETE, SWITCH_MESSAGE_INDICATE_PHONE_EVENT, SWITCH_MESSAGE_INDICATE_T38_DESCRIPTION,
  SWITCH_MESSAGE_INDICATE_UDPTL_MODE, SWITCH_MESSAGE_INDICATE_CLEAR_PROGRESS, SWITCH_MESSAGE_INDICATE_JITTER_BUFFER, SWITCH_MESSAGE_INDICATE_RECOVERY_REFRESH,
  SWITCH_MESSAGE_INDICATE_SIGNAL_DATA, SWITCH_MESSAGE_INDICATE_MESSAGE, SWITCH_MESSAGE_INDICATE_INFO, SWITCH_MESSAGE_INDICATE_AUDIO_DATA,
  SWITCH_MESSAGE_INDICATE_BLIND_TRANSFER_RESPONSE, SWITCH_MESSAGE_INDICATE_STUN_ERROR, SWITCH_MESSAGE_INDICATE_MEDIA_RENEG, SWITCH_MESSAGE_INDICATE_KEEPALIVE,
  SWITCH_MESSAGE_INDICATE_HARD_MUTE, SWITCH_MESSAGE_INDICATE_BITRATE_REQ, SWITCH_MESSAGE_INDICATE_BITRATE_ACK, SWITCH_MESSAGE_INDICATE_CODEC_DEBUG_REQ,
  SWITCH_MESSAGE_INDICATE_CODEC_SPECIFIC_REQ, SWITCH_MESSAGE_REFER_EVENT, SWITCH_MESSAGE_ANSWER_EVENT, SWITCH_MESSAGE_PROGRESS_EVENT,
  SWITCH_MESSAGE_RING_EVENT, SWITCH_MESSAGE_RESAMPLE_EVENT, SWITCH_MESSAGE_HEARTBEAT_EVENT, SWITCH_MESSAGE_INDICATE_SESSION_ID,
  SWITCH_MESSAGE_INDICATE_PROMPT, SWITCH_MESSAGE_INVALID
}
 Possible types of messages for inter-session communication. More...
 
enum  switch_stack_t { SWITCH_STACK_BOTTOM = (1 << 0), SWITCH_STACK_TOP = (1 << 1), SWITCH_STACK_UNSHIFT = (1 << 2), SWITCH_STACK_PUSH = (1 << 3) }
 Expression of how to stack a list. More...
 
enum  switch_status_t {
  SWITCH_STATUS_SUCCESS, SWITCH_STATUS_FALSE, SWITCH_STATUS_TIMEOUT, SWITCH_STATUS_RESTART,
  SWITCH_STATUS_INTR, SWITCH_STATUS_NOTIMPL, SWITCH_STATUS_MEMERR, SWITCH_STATUS_NOOP,
  SWITCH_STATUS_RESAMPLE, SWITCH_STATUS_GENERR, SWITCH_STATUS_INUSE, SWITCH_STATUS_BREAK,
  SWITCH_STATUS_SOCKERR, SWITCH_STATUS_MORE_DATA, SWITCH_STATUS_NOTFOUND, SWITCH_STATUS_UNLOAD,
  SWITCH_STATUS_NOUNLOAD, SWITCH_STATUS_IGNORE, SWITCH_STATUS_TOO_SMALL, SWITCH_STATUS_FOUND,
  SWITCH_STATUS_CONTINUE, SWITCH_STATUS_TERM, SWITCH_STATUS_NOT_INITALIZED, SWITCH_STATUS_TOO_LATE,
  SWITCH_STATUS_XBREAK = 35, SWITCH_STATUS_WINBREAK = 730035
}
 Common return values. More...
 
enum  switch_log_level_t {
  SWITCH_LOG_DEBUG10 = 110, SWITCH_LOG_DEBUG9 = 109, SWITCH_LOG_DEBUG8 = 108, SWITCH_LOG_DEBUG7 = 107,
  SWITCH_LOG_DEBUG6 = 106, SWITCH_LOG_DEBUG5 = 105, SWITCH_LOG_DEBUG4 = 104, SWITCH_LOG_DEBUG3 = 103,
  SWITCH_LOG_DEBUG2 = 102, SWITCH_LOG_DEBUG1 = 101, SWITCH_LOG_DEBUG = 7, SWITCH_LOG_INFO = 6,
  SWITCH_LOG_NOTICE = 5, SWITCH_LOG_WARNING = 4, SWITCH_LOG_ERROR = 3, SWITCH_LOG_CRIT = 2,
  SWITCH_LOG_ALERT = 1, SWITCH_LOG_CONSOLE = 0, SWITCH_LOG_DISABLE = -1, SWITCH_LOG_INVALID = 64,
  SWITCH_LOG_UNINIT = 1000
}
 Log Level Enumeration. More...
 
enum  switch_text_channel_t { SWITCH_CHANNEL_ID_LOG, SWITCH_CHANNEL_ID_LOG_CLEAN, SWITCH_CHANNEL_ID_EVENT, SWITCH_CHANNEL_ID_SESSION }
 A target to write log/debug info to. More...
 
enum  switch_core_session_message_flag_enum_t { SCSMF_DYNAMIC = (1 << 0), SCSMF_FREE_STRING_REPLY = (1 << 1), SCSMF_FREE_POINTER_REPLY = (1 << 2) }
 
enum  switch_channel_callstate_t {
  CCS_DOWN, CCS_DIALING, CCS_RINGING, CCS_EARLY,
  CCS_ACTIVE, CCS_HELD, CCS_RING_WAIT, CCS_HANGUP,
  CCS_UNHELD
}
 
enum  switch_device_state_t {
  SDS_DOWN, SDS_RINGING, SDS_ACTIVE, SDS_ACTIVE_MULTI,
  SDS_HELD, SDS_UNHELD, SDS_HANGUP
}
 
enum  switch_channel_state_t {
  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
}
 Channel States (these are the defaults, CS_SOFT_EXECUTE, CS_EXCHANGE_MEDIA, and CS_CONSUME_MEDIA are often overridden by specific apps) More...
 
enum  switch_ring_ready_t { SWITCH_RING_READY_NONE, SWITCH_RING_READY_RINGING, SWITCH_RING_READY_QUEUED }
 
enum  switch_channel_cap_t {
  CC_MEDIA_ACK = 1, CC_BYPASS_MEDIA, CC_PROXY_MEDIA, CC_JITTERBUFFER,
  CC_FS_RTP, CC_QUEUEABLE_DTMF_DELAY, CC_IO_OVERRIDE, CC_RTP_RTT,
  CC_MSRP, CC_MUTE_VIA_MEDIA_STREAM, CC_FLAG_MAX
}
 
enum  switch_channel_flag_t {
  CF_ANSWERED = 1, CF_OUTBOUND, CF_EARLY_MEDIA, CF_BRIDGE_ORIGINATOR,
  CF_UUID_BRIDGE_ORIGINATOR, CF_TRANSFER, CF_ACCEPT_CNG, CF_REDIRECT,
  CF_BRIDGED, CF_HOLD, CF_HOLD_BLEG, CF_SERVICE,
  CF_TAGGED, CF_WINNER, CF_REUSE_CALLER_PROFILE, CF_CONTROLLED,
  CF_PROXY_MODE, CF_PROXY_OFF, CF_SUSPEND, CF_EVENT_PARSE,
  CF_GEN_RINGBACK, CF_RING_READY, CF_BREAK, CF_BROADCAST,
  CF_UNICAST, CF_VIDEO, CF_EVENT_LOCK, CF_EVENT_LOCK_PRI,
  CF_RESET, CF_ORIGINATING, CF_STOP_BROADCAST, CF_PROXY_MEDIA,
  CF_INNER_BRIDGE, CF_REQ_MEDIA, CF_VERBOSE_EVENTS, CF_PAUSE_BUGS,
  CF_DIVERT_EVENTS, CF_BLOCK_STATE, CF_FS_RTP, CF_REPORTING,
  CF_PARK, CF_TIMESTAMP_SET, CF_ORIGINATOR, CF_XFER_ZOMBIE,
  CF_MEDIA_ACK, CF_THREAD_SLEEPING, CF_DISABLE_RINGBACK, CF_NOT_READY,
  CF_SIGNAL_BRIDGE_TTL, CF_MEDIA_BRIDGE_TTL, CF_BYPASS_MEDIA_AFTER_BRIDGE, CF_LEG_HOLDING,
  CF_BROADCAST_DROP_MEDIA, CF_EARLY_HANGUP, CF_MEDIA_SET, CF_CONSUME_ON_ORIGINATE,
  CF_PASSTHRU_PTIME_MISMATCH, CF_BRIDGE_NOWRITE, CF_RECOVERED, CF_JITTERBUFFER,
  CF_JITTERBUFFER_PLC, CF_DIALPLAN, CF_BLEG, CF_BLOCK_BROADCAST_UNTIL_MEDIA,
  CF_CNG_PLC, CF_ATTENDED_TRANSFER, CF_LAZY_ATTENDED_TRANSFER, CF_SIGNAL_DATA,
  CF_SIMPLIFY, CF_ZOMBIE_EXEC, CF_INTERCEPT, CF_INTERCEPTED,
  CF_VIDEO_REFRESH_REQ, CF_MANUAL_VID_REFRESH, CF_MANUAL_MEDIA_PARAMS, CF_SERVICE_AUDIO,
  CF_SERVICE_VIDEO, CF_CHANNEL_SWAP, CF_DEVICE_LEG, CF_FINAL_DEVICE_LEG,
  CF_PICKUP, CF_CONFIRM_BLIND_TRANSFER, CF_NO_PRESENCE, CF_CONFERENCE,
  CF_CONFERENCE_ADV, CF_RECOVERING, CF_RECOVERING_BRIDGE, CF_TRACKED,
  CF_TRACKABLE, CF_NO_CDR, CF_EARLY_OK, CF_MEDIA_TRANS,
  CF_HOLD_ON_BRIDGE, CF_SECURE, CF_LIBERAL_DTMF, CF_SLA_BARGE,
  CF_SLA_BARGING, CF_PROTO_HOLD, CF_HOLD_LOCK, CF_VIDEO_POSSIBLE,
  CF_NOTIMER_DURING_BRIDGE, CF_PASS_RFC2833, CF_T38_PASSTHRU, CF_DROP_DTMF,
  CF_REINVITE, CF_NOSDP_REINVITE, CF_AUTOFLUSH_DURING_BRIDGE, CF_RTP_NOTIMER_DURING_BRIDGE,
  CF_AVPF, CF_AVPF_MOZ, CF_ICE, CF_DTLS,
  CF_VERBOSE_SDP, CF_DTLS_OK, CF_3PCC, CF_VIDEO_PASSIVE,
  CF_NOVIDEO, CF_VIDEO_BITRATE_UNMANAGABLE, CF_VIDEO_ECHO, CF_VIDEO_BLANK,
  CF_VIDEO_WRITING, CF_SLA_INTERCEPT, CF_VIDEO_BREAK, CF_AUDIO_PAUSE_READ,
  CF_AUDIO_PAUSE_WRITE, CF_VIDEO_PAUSE_READ, CF_VIDEO_PAUSE_WRITE, CF_BYPASS_MEDIA_AFTER_HOLD,
  CF_HANGUP_HELD, CF_CONFERENCE_RESET_MEDIA, CF_VIDEO_DECODED_READ, CF_VIDEO_DEBUG_READ,
  CF_VIDEO_DEBUG_WRITE, CF_NO_RECOVER, CF_VIDEO_READY, CF_VIDEO_MIRROR_INPUT,
  CF_VIDEO_READ_FILE_ATTACHED, CF_VIDEO_WRITE_FILE_ATTACHED, CF_3P_MEDIA_REQUESTED, CF_3P_NOMEDIA_REQUESTED,
  CF_3P_NOMEDIA_REQUESTED_BLEG, CF_IMAGE_SDP, CF_VIDEO_SDP_RECVD, CF_TEXT_SDP_RECVD,
  CF_HAS_TEXT, CF_TEXT_POSSIBLE, CF_TEXT_PASSIVE, CF_TEXT_ECHO,
  CF_TEXT_ACTIVE, CF_TEXT_IDLE, CF_TEXT_LINE_BASED, CF_QUEUE_TEXT_EVENTS,
  CF_FIRE_TEXT_EVENTS, CF_MSRP, CF_MSRPS, CF_WANT_MSRP,
  CF_WANT_MSRPS, CF_RTT, CF_WANT_RTT, CF_AUDIO,
  CF_AWAITING_STREAM_CHANGE, CF_PROCESSING_STREAM_CHANGE, CF_STREAM_CHANGED, CF_ARRANGED_BRIDGE,
  CF_STATE_REPEAT, CF_WANT_DTLSv1_2, CF_RFC7329_COMPAT, CF_REATTACHED,
  CF_VIDEO_READ_TAPPED, CF_VIDEO_WRITE_TAPPED, CF_DEVICES_CHANGED, CF_AUDIO_VIDEO_BUNDLE,
  CF_FLAG_MAX
}
 Channel Flags. More...
 
enum  switch_channel_app_flag_t {
  CF_APP_TAGGED = (1 << 0), CF_APP_T38 = (1 << 1), CF_APP_T38_REQ = (1 << 2), CF_APP_T38_FAIL = (1 << 3),
  CF_APP_T38_NEGOTIATED = (1 << 4), CF_APP_T38_POSSIBLE = (1 << 5)
}
 
enum  switch_frame_flag_enum_t {
  SFF_NONE = 0, SFF_CNG = (1 << 0), SFF_RAW_RTP = (1 << 1), SFF_RTP_HEADER = (1 << 2),
  SFF_PLC = (1 << 3), SFF_RFC2833 = (1 << 4), SFF_PROXY_PACKET = (1 << 5), SFF_DYNAMIC = (1 << 6),
  SFF_UDPTL_PACKET = (1 << 7), SFF_NOT_AUDIO = (1 << 8), SFF_RTCP = (1 << 9), SFF_MARKER = (1 << 10),
  SFF_WAIT_KEY_FRAME = (1 << 11), SFF_RAW_RTP_PARSE_FRAME = (1 << 12), SFF_PICTURE_RESET = (1 << 13), SFF_SAME_IMAGE = (1 << 14),
  SFF_USE_VIDEO_TIMESTAMP = (1 << 15), SFF_ENCODED = (1 << 16), SFF_TEXT_LINE_BREAK = (1 << 17), SFF_IS_KEYFRAME = (1 << 18),
  SFF_EXTERNAL = (1 << 19)
}
 
enum  switch_application_flag_enum_t {
  SAF_NONE = 0, SAF_SUPPORT_NOMEDIA = (1 << 0), SAF_ROUTING_EXEC = (1 << 1), SAF_MEDIA_TAP = (1 << 2),
  SAF_ZOMBIE_EXEC = (1 << 3), SAF_NO_LOOPBACK = (1 << 4), SAF_SUPPORT_TEXT_ONLY = (1 << 5)
}
 
enum  switch_chat_application_flag_enum_t { SCAF_NONE = 0 }
 
enum  switch_signal_t { SWITCH_SIG_NONE, SWITCH_SIG_KILL, SWITCH_SIG_XFER, SWITCH_SIG_BREAK }
 Signals to send to channels. More...
 
enum  switch_codec_flag_enum_t {
  SWITCH_CODEC_FLAG_ENCODE = (1 << 0), SWITCH_CODEC_FLAG_DECODE = (1 << 1), SWITCH_CODEC_FLAG_SILENCE_START = (1 << 2), SWITCH_CODEC_FLAG_SILENCE_STOP = (1 << 3),
  SWITCH_CODEC_FLAG_SILENCE = (1 << 4), SWITCH_CODEC_FLAG_FREE_POOL = (1 << 5), SWITCH_CODEC_FLAG_AAL2 = (1 << 6), SWITCH_CODEC_FLAG_PASSTHROUGH = (1 << 7),
  SWITCH_CODEC_FLAG_READY = (1 << 8), SWITCH_CODEC_FLAG_HAS_ADJ_BITRATE = (1 << 14), SWITCH_CODEC_FLAG_HAS_PLC = (1 << 15), SWITCH_CODEC_FLAG_VIDEO_PATCHING = (1 << 16)
}
 
enum  switch_speech_flag_enum_t {
  SWITCH_SPEECH_FLAG_NONE = 0, SWITCH_SPEECH_FLAG_HASTEXT = (1 << 0), SWITCH_SPEECH_FLAG_PEEK = (1 << 1), SWITCH_SPEECH_FLAG_FREE_POOL = (1 << 2),
  SWITCH_SPEECH_FLAG_BLOCKING = (1 << 3), SWITCH_SPEECH_FLAG_PAUSE = (1 << 4), SWITCH_SPEECH_FLAG_OPEN = (1 << 5), SWITCH_SPEECH_FLAG_DONE = (1 << 6)
}
 
enum  switch_asr_flag_enum_t {
  SWITCH_ASR_FLAG_NONE = 0, SWITCH_ASR_FLAG_DATA = (1 << 0), SWITCH_ASR_FLAG_FREE_POOL = (1 << 1), SWITCH_ASR_FLAG_CLOSED = (1 << 2),
  SWITCH_ASR_FLAG_FIRE_EVENTS = (1 << 3), SWITCH_ASR_FLAG_AUTO_RESUME = (1 << 4)
}
 
enum  switch_directory_flag_enum_t { SWITCH_DIRECTORY_FLAG_FREE_POOL = (1 << 0) }
 
enum  switch_codec_type_t { SWITCH_CODEC_TYPE_AUDIO, SWITCH_CODEC_TYPE_VIDEO, SWITCH_CODEC_TYPE_T38, SWITCH_CODEC_TYPE_APP }
 Codec types. More...
 
enum  switch_media_type_t { SWITCH_MEDIA_TYPE_AUDIO, SWITCH_MEDIA_TYPE_VIDEO, SWITCH_MEDIA_TYPE_TEXT }
 
enum  switch_timer_flag_enum_t { SWITCH_TIMER_FLAG_FREE_POOL = (1 << 0) }
 
enum  switch_media_bug_flag_enum_t {
  SMBF_BOTH = 0, SMBF_READ_STREAM = (1 << 0), SMBF_WRITE_STREAM = (1 << 1), SMBF_WRITE_REPLACE = (1 << 2),
  SMBF_READ_REPLACE = (1 << 3), SMBF_READ_PING = (1 << 4), SMBF_STEREO = (1 << 5), SMBF_ANSWER_REQ = (1 << 6),
  SMBF_BRIDGE_REQ = (1 << 7), SMBF_THREAD_LOCK = (1 << 8), SMBF_PRUNE = (1 << 9), SMBF_NO_PAUSE = (1 << 10),
  SMBF_STEREO_SWAP = (1 << 11), SMBF_LOCK = (1 << 12), SMBF_TAP_NATIVE_READ = (1 << 13), SMBF_TAP_NATIVE_WRITE = (1 << 14),
  SMBF_ONE_ONLY = (1 << 15), SMBF_MASK = (1 << 16), SMBF_READ_VIDEO_PING = (1 << 17), SMBF_WRITE_VIDEO_PING = (1 << 18),
  SMBF_READ_VIDEO_STREAM = (1 << 19), SMBF_WRITE_VIDEO_STREAM = (1 << 20), SMBF_VIDEO_PATCH = (1 << 21), SMBF_SPY_VIDEO_STREAM = (1 << 22),
  SMBF_SPY_VIDEO_STREAM_BLEG = (1 << 23), SMBF_READ_VIDEO_PATCH = (1 << 24), SMBF_READ_TEXT_STREAM = (1 << 25), SMBF_FIRST = (1 << 26),
  SMBF_PAUSE = (1 << 27)
}
 
enum  switch_file_flag_enum_t {
  SWITCH_FILE_FLAG_READ = (1 << 0), SWITCH_FILE_FLAG_WRITE = (1 << 1), SWITCH_FILE_FLAG_FREE_POOL = (1 << 2), SWITCH_FILE_DATA_SHORT = (1 << 3),
  SWITCH_FILE_DATA_INT = (1 << 4), SWITCH_FILE_DATA_FLOAT = (1 << 5), SWITCH_FILE_DATA_DOUBLE = (1 << 6), SWITCH_FILE_DATA_RAW = (1 << 7),
  SWITCH_FILE_PAUSE = (1 << 8), SWITCH_FILE_NATIVE = (1 << 9), SWITCH_FILE_SEEK = (1 << 10), SWITCH_FILE_OPEN = (1 << 11),
  SWITCH_FILE_CALLBACK = (1 << 12), SWITCH_FILE_DONE = (1 << 13), SWITCH_FILE_BUFFER_DONE = (1 << 14), SWITCH_FILE_WRITE_APPEND = (1 << 15),
  SWITCH_FILE_WRITE_OVER = (1 << 16), SWITCH_FILE_NOMUX = (1 << 17), SWITCH_FILE_BREAK_ON_CHANGE = (1 << 18), SWITCH_FILE_FLAG_VIDEO = (1 << 19),
  SWITCH_FILE_FLAG_VIDEO_EOF = (1 << 20), SWITCH_FILE_PRE_CLOSED = (1 << 21)
}
 
enum  switch_io_flag_enum_t {
  SWITCH_IO_FLAG_NONE = 0, SWITCH_IO_FLAG_NOBLOCK = (1 << 0), SWITCH_IO_FLAG_SINGLE_READ = (1 << 1), SWITCH_IO_FLAG_FORCE = (1 << 2),
  SWITCH_IO_FLAG_QUEUED = (1 << 3)
}
 
enum  switch_event_types_t {
  SWITCH_EVENT_CUSTOM, SWITCH_EVENT_CLONE, SWITCH_EVENT_CHANNEL_CREATE, SWITCH_EVENT_CHANNEL_DESTROY,
  SWITCH_EVENT_CHANNEL_STATE, SWITCH_EVENT_CHANNEL_CALLSTATE, SWITCH_EVENT_CHANNEL_ANSWER, SWITCH_EVENT_CHANNEL_HANGUP,
  SWITCH_EVENT_CHANNEL_HANGUP_COMPLETE, SWITCH_EVENT_CHANNEL_EXECUTE, SWITCH_EVENT_CHANNEL_EXECUTE_COMPLETE, SWITCH_EVENT_CHANNEL_HOLD,
  SWITCH_EVENT_CHANNEL_UNHOLD, SWITCH_EVENT_CHANNEL_BRIDGE, SWITCH_EVENT_CHANNEL_UNBRIDGE, SWITCH_EVENT_CHANNEL_PROGRESS,
  SWITCH_EVENT_CHANNEL_PROGRESS_MEDIA, SWITCH_EVENT_CHANNEL_OUTGOING, SWITCH_EVENT_CHANNEL_PARK, SWITCH_EVENT_CHANNEL_UNPARK,
  SWITCH_EVENT_CHANNEL_APPLICATION, SWITCH_EVENT_CHANNEL_ORIGINATE, SWITCH_EVENT_CHANNEL_UUID, SWITCH_EVENT_API,
  SWITCH_EVENT_LOG, SWITCH_EVENT_INBOUND_CHAN, SWITCH_EVENT_OUTBOUND_CHAN, SWITCH_EVENT_STARTUP,
  SWITCH_EVENT_SHUTDOWN, SWITCH_EVENT_PUBLISH, SWITCH_EVENT_UNPUBLISH, SWITCH_EVENT_TALK,
  SWITCH_EVENT_NOTALK, SWITCH_EVENT_SESSION_CRASH, SWITCH_EVENT_MODULE_LOAD, SWITCH_EVENT_MODULE_UNLOAD,
  SWITCH_EVENT_DTMF, SWITCH_EVENT_MESSAGE, SWITCH_EVENT_PRESENCE_IN, SWITCH_EVENT_NOTIFY_IN,
  SWITCH_EVENT_PRESENCE_OUT, SWITCH_EVENT_PRESENCE_PROBE, SWITCH_EVENT_MESSAGE_WAITING, SWITCH_EVENT_MESSAGE_QUERY,
  SWITCH_EVENT_ROSTER, SWITCH_EVENT_CODEC, SWITCH_EVENT_BACKGROUND_JOB, SWITCH_EVENT_DETECTED_SPEECH,
  SWITCH_EVENT_DETECTED_TONE, SWITCH_EVENT_PRIVATE_COMMAND, SWITCH_EVENT_HEARTBEAT, SWITCH_EVENT_TRAP,
  SWITCH_EVENT_ADD_SCHEDULE, SWITCH_EVENT_DEL_SCHEDULE, SWITCH_EVENT_EXE_SCHEDULE, SWITCH_EVENT_RE_SCHEDULE,
  SWITCH_EVENT_RELOADXML, SWITCH_EVENT_NOTIFY, SWITCH_EVENT_PHONE_FEATURE, SWITCH_EVENT_PHONE_FEATURE_SUBSCRIBE,
  SWITCH_EVENT_SEND_MESSAGE, SWITCH_EVENT_RECV_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_SEND_RTCP_MESSAGE, SWITCH_EVENT_CALL_SECURE, SWITCH_EVENT_NAT, SWITCH_EVENT_RECORD_START,
  SWITCH_EVENT_RECORD_STOP, SWITCH_EVENT_PLAYBACK_START, SWITCH_EVENT_PLAYBACK_STOP, SWITCH_EVENT_CALL_UPDATE,
  SWITCH_EVENT_FAILURE, 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_TEXT, SWITCH_EVENT_SHUTDOWN_REQUESTED,
  SWITCH_EVENT_ALL
}
 Built-in Events. More...
 
enum  switch_input_type_t { SWITCH_INPUT_TYPE_DTMF, SWITCH_INPUT_TYPE_EVENT }
 
enum  switch_call_cause_t {
  SWITCH_CAUSE_NONE = 0, SWITCH_CAUSE_UNALLOCATED_NUMBER = 1, SWITCH_CAUSE_NO_ROUTE_TRANSIT_NET = 2, SWITCH_CAUSE_NO_ROUTE_DESTINATION = 3,
  SWITCH_CAUSE_CHANNEL_UNACCEPTABLE = 6, SWITCH_CAUSE_CALL_AWARDED_DELIVERED = 7, SWITCH_CAUSE_NORMAL_CLEARING = 16, SWITCH_CAUSE_USER_BUSY = 17,
  SWITCH_CAUSE_NO_USER_RESPONSE = 18, SWITCH_CAUSE_NO_ANSWER = 19, SWITCH_CAUSE_SUBSCRIBER_ABSENT = 20, SWITCH_CAUSE_CALL_REJECTED = 21,
  SWITCH_CAUSE_NUMBER_CHANGED = 22, SWITCH_CAUSE_REDIRECTION_TO_NEW_DESTINATION = 23, SWITCH_CAUSE_EXCHANGE_ROUTING_ERROR = 25, SWITCH_CAUSE_DESTINATION_OUT_OF_ORDER = 27,
  SWITCH_CAUSE_INVALID_NUMBER_FORMAT = 28, SWITCH_CAUSE_FACILITY_REJECTED = 29, SWITCH_CAUSE_RESPONSE_TO_STATUS_ENQUIRY = 30, SWITCH_CAUSE_NORMAL_UNSPECIFIED = 31,
  SWITCH_CAUSE_NORMAL_CIRCUIT_CONGESTION = 34, SWITCH_CAUSE_NETWORK_OUT_OF_ORDER = 38, SWITCH_CAUSE_NORMAL_TEMPORARY_FAILURE = 41, SWITCH_CAUSE_SWITCH_CONGESTION = 42,
  SWITCH_CAUSE_ACCESS_INFO_DISCARDED = 43, SWITCH_CAUSE_REQUESTED_CHAN_UNAVAIL = 44, SWITCH_CAUSE_PRE_EMPTED = 45, SWITCH_CAUSE_FACILITY_NOT_SUBSCRIBED = 50,
  SWITCH_CAUSE_OUTGOING_CALL_BARRED = 52, SWITCH_CAUSE_INCOMING_CALL_BARRED = 54, SWITCH_CAUSE_BEARERCAPABILITY_NOTAUTH = 57, SWITCH_CAUSE_BEARERCAPABILITY_NOTAVAIL = 58,
  SWITCH_CAUSE_SERVICE_UNAVAILABLE = 63, SWITCH_CAUSE_BEARERCAPABILITY_NOTIMPL = 65, SWITCH_CAUSE_CHAN_NOT_IMPLEMENTED = 66, SWITCH_CAUSE_FACILITY_NOT_IMPLEMENTED = 69,
  SWITCH_CAUSE_SERVICE_NOT_IMPLEMENTED = 79, SWITCH_CAUSE_INVALID_CALL_REFERENCE = 81, SWITCH_CAUSE_INCOMPATIBLE_DESTINATION = 88, SWITCH_CAUSE_INVALID_MSG_UNSPECIFIED = 95,
  SWITCH_CAUSE_MANDATORY_IE_MISSING = 96, SWITCH_CAUSE_MESSAGE_TYPE_NONEXIST = 97, SWITCH_CAUSE_WRONG_MESSAGE = 98, SWITCH_CAUSE_IE_NONEXIST = 99,
  SWITCH_CAUSE_INVALID_IE_CONTENTS = 100, SWITCH_CAUSE_WRONG_CALL_STATE = 101, SWITCH_CAUSE_RECOVERY_ON_TIMER_EXPIRE = 102, SWITCH_CAUSE_MANDATORY_IE_LENGTH_ERROR = 103,
  SWITCH_CAUSE_PROTOCOL_ERROR = 111, SWITCH_CAUSE_INTERWORKING = 127, SWITCH_CAUSE_SUCCESS = 142, SWITCH_CAUSE_ORIGINATOR_CANCEL = 487,
  SWITCH_CAUSE_CRASH = 700, SWITCH_CAUSE_SYSTEM_SHUTDOWN = 701, SWITCH_CAUSE_LOSE_RACE = 702, SWITCH_CAUSE_MANAGER_REQUEST = 703,
  SWITCH_CAUSE_BLIND_TRANSFER = 800, SWITCH_CAUSE_ATTENDED_TRANSFER = 801, SWITCH_CAUSE_ALLOTTED_TIMEOUT = 802, SWITCH_CAUSE_USER_CHALLENGE = 803,
  SWITCH_CAUSE_MEDIA_TIMEOUT = 804, SWITCH_CAUSE_PICKED_OFF = 805, SWITCH_CAUSE_USER_NOT_REGISTERED = 806, SWITCH_CAUSE_PROGRESS_TIMEOUT = 807,
  SWITCH_CAUSE_INVALID_GATEWAY = 808, SWITCH_CAUSE_GATEWAY_DOWN = 809, SWITCH_CAUSE_INVALID_URL = 810, SWITCH_CAUSE_INVALID_PROFILE = 811,
  SWITCH_CAUSE_NO_PICKUP = 812, SWITCH_CAUSE_SRTP_READ_ERROR = 813, SWITCH_CAUSE_BOWOUT = 814, SWITCH_CAUSE_BUSY_EVERYWHERE = 815,
  SWITCH_CAUSE_DECLINE = 816, SWITCH_CAUSE_DOES_NOT_EXIST_ANYWHERE = 817, SWITCH_CAUSE_NOT_ACCEPTABLE = 818, SWITCH_CAUSE_UNWANTED = 819,
  SWITCH_CAUSE_NO_IDENTITY = 820, SWITCH_CAUSE_BAD_IDENTITY_INFO = 821, SWITCH_CAUSE_UNSUPPORTED_CERTIFICATE = 822, SWITCH_CAUSE_INVALID_IDENTITY = 823,
  SWITCH_CAUSE_STALE_DATE = 824, SWITCH_CAUSE_REJECT_ALL = 825
}
 
enum  switch_session_ctl_t {
  SCSC_PAUSE_INBOUND, SCSC_PAUSE_OUTBOUND, SCSC_PAUSE_ALL, SCSC_HUPALL,
  SCSC_SHUTDOWN, SCSC_CHECK_RUNNING, SCSC_LOGLEVEL, SCSC_SPS,
  SCSC_LAST_SPS, SCSC_RECLAIM, SCSC_MAX_SESSIONS, SCSC_SYNC_CLOCK,
  SCSC_MAX_DTMF_DURATION, SCSC_MIN_DTMF_DURATION, SCSC_DEFAULT_DTMF_DURATION, SCSC_SHUTDOWN_ELEGANT,
  SCSC_SHUTDOWN_ASAP, SCSC_CANCEL_SHUTDOWN, SCSC_SEND_SIGHUP, SCSC_DEBUG_LEVEL,
  SCSC_FLUSH_DB_HANDLES, SCSC_SHUTDOWN_NOW, SCSC_REINCARNATE_NOW, SCSC_CALIBRATE_CLOCK,
  SCSC_SAVE_HISTORY, SCSC_CRASH, SCSC_MIN_IDLE_CPU, SCSC_VERBOSE_EVENTS,
  SCSC_SHUTDOWN_CHECK, SCSC_PAUSE_INBOUND_CHECK, SCSC_PAUSE_OUTBOUND_CHECK, SCSC_PAUSE_CHECK,
  SCSC_READY_CHECK, SCSC_THREADED_SYSTEM_EXEC, SCSC_SYNC_CLOCK_WHEN_IDLE, SCSC_DEBUG_SQL,
  SCSC_SQL, SCSC_API_EXPANSION, SCSC_RECOVER, SCSC_SPS_PEAK,
  SCSC_SPS_PEAK_FIVEMIN, SCSC_SESSIONS_PEAK, SCSC_SESSIONS_PEAK_FIVEMIN, SCSC_MDNS_RESOLVE,
  SCSC_SHUTDOWN_CAUSE
}
 
enum  switch_state_handler_flag_t { SSH_FLAG_STICKY = (1 << 0), SSH_FLAG_PRE_EXEC = (1 << 1) }
 
enum  switch_codec_control_command_t {
  SCC_VIDEO_GEN_KEYFRAME = 0, SCC_VIDEO_BANDWIDTH, SCC_VIDEO_RESET, SCC_AUDIO_PACKET_LOSS,
  SCC_AUDIO_ADJUST_BITRATE, SCC_AUDIO_VAD, SCC_DEBUG, SCC_CODEC_SPECIFIC
}
 
enum  switch_codec_control_type_t { SCCT_NONE = 0, SCCT_STRING, SCCT_INT }
 
enum  switch_io_type_t { SWITCH_IO_READ, SWITCH_IO_WRITE }
 
enum  dm_match_type_t { DM_MATCH_POSITIVE, DM_MATCH_NEGATIVE }
 
enum  switch_thread_priority_t { SWITCH_PRI_LOW = 1, SWITCH_PRI_NORMAL = 10, SWITCH_PRI_IMPORTANT = 50, SWITCH_PRI_REALTIME = 99 }
 
enum  switch_module_flag_enum_t { SMODF_NONE = 0, SMODF_GLOBAL_SYMBOLS = (1 << 0) }
 
enum  switch_sdp_type_t { SDP_TYPE_REQUEST, SDP_TYPE_RESPONSE }
 
enum  switch_rtp_crypto_key_type_t {
  AEAD_AES_256_GCM_8, AEAD_AES_256_GCM, AEAD_AES_128_GCM_8, AEAD_AES_128_GCM,
  AES_CM_256_HMAC_SHA1_80, AES_CM_192_HMAC_SHA1_80, AES_CM_128_HMAC_SHA1_80, AES_CM_256_HMAC_SHA1_32,
  AES_CM_192_HMAC_SHA1_32, AES_CM_128_HMAC_SHA1_32, AES_CM_128_NULL_AUTH, CRYPTO_INVALID
}
 
enum  switch_rtp_crypto_key_param_method_type_t { CRYPTO_KEY_PARAM_METHOD_INLINE, CRYPTO_KEY_PARAM_METHOD_INVALID }
 
enum  switch_media_flow_t {
  SWITCH_MEDIA_FLOW_SENDRECV = 0, SWITCH_MEDIA_FLOW_SENDONLY, SWITCH_MEDIA_FLOW_RECVONLY, SWITCH_MEDIA_FLOW_INACTIVE,
  SWITCH_MEDIA_FLOW_DISABLED
}
 
enum  switch_core_media_ice_type_t { ICE_GOOGLE_JINGLE = (1 << 0), ICE_VANILLA = (1 << 1), ICE_CONTROLLED = (1 << 2), ICE_LITE = (1 << 3) }
 
enum  switch_poll_t {
  SWITCH_POLL_READ = (1 << 0), SWITCH_POLL_WRITE = (1 << 1), SWITCH_POLL_ERROR = (1 << 2), SWITCH_POLL_HUP = (1 << 3),
  SWITCH_POLL_RDNORM = (1 << 4), SWITCH_POLL_RDBAND = (1 << 5), SWITCH_POLL_PRI = (1 << 6), SWITCH_POLL_INVALID = (1 << 7)
}
 
enum  switch_video_read_flag_t { SVR_BLOCK = (1 << 0), SVR_FLUSH = (1 << 1), SVR_CHECK = (1 << 2) }
 
enum  switch_vid_spy_fmt_t { SPY_LOWER_RIGHT_SMALL, SPY_LOWER_RIGHT_LARGE, SPY_DUAL_CROP }
 
enum  switch_file_command_t { SCFC_FLUSH_AUDIO, SCFC_PAUSE_READ, SCFC_PAUSE_WRITE, SCFC_RESUME_WRITE }
 
enum  switch_video_encode_speed_t { SWITCH_VIDEO_ENCODE_SPEED_DEFAULT = 0, SWITCH_VIDEO_ENCODE_SPEED_FAST = 0, SWITCH_VIDEO_ENCODE_SPEED_MEDIUM, SWITCH_VIDEO_ENCODE_SPEED_SLOW }
 
enum  switch_video_profile_t { SWITCH_VIDEO_PROFILE_BASELINE, SWITCH_VIDEO_PROFILE_MAIN, SWITCH_VIDEO_PROFILE_HIGH }
 

Functions

static switch_core_session_tswitch_core_session_type_check (switch_core_session_t *session)
 
static const char * switch_const_char_type_check (const char *str)
 

Variables

switch_directories SWITCH_GLOBAL_dirs
 
switch_filenames SWITCH_GLOBAL_filenames
 

Detailed Description

Data Types.

Definition in file switch_types.h.

Macro Definition Documentation

◆ arg_recursion_check_start

#define arg_recursion_check_start (   _args)

◆ arg_recursion_check_stop

#define arg_recursion_check_stop (   _args)    if (_args) _args->loops--

◆ DMACHINE_MAX_DIGIT_LEN

#define DMACHINE_MAX_DIGIT_LEN   512

Definition at line 2503 of file switch_types.h.

Referenced by switch_ivr_dmachine_bind().

◆ IPDV_THRESHOLD

#define IPDV_THRESHOLD   1.0

Definition at line 250 of file switch_types.h.

Referenced by check_jitter().

◆ JITTER_VARIANCE_THRESHOLD

#define JITTER_VARIANCE_THRESHOLD   400.0

Definition at line 248 of file switch_types.h.

◆ LOST_BURST_ANALYZE

#define LOST_BURST_ANALYZE   500

Definition at line 252 of file switch_types.h.

Referenced by burstr_calculate().

◆ LOST_BURST_CAPTURE

#define LOST_BURST_CAPTURE   1024

Definition at line 254 of file switch_types.h.

Referenced by check_jitter().

◆ MAX_ARG_RECURSION

#define MAX_ARG_RECURSION   25

Definition at line 2524 of file switch_types.h.

◆ MAX_FMTP_LEN

#define MAX_FMTP_LEN   256

◆ SWITCH_ACCEPTABLE_INTERVAL

#define SWITCH_ACCEPTABLE_INTERVAL (   _i)    (_i && _i <= SWITCH_MAX_INTERVAL && (_i % 10) == 0)

Definition at line 596 of file switch_types.h.

◆ SWITCH_ADVERTISED_MEDIA_IP_VARIABLE

#define SWITCH_ADVERTISED_MEDIA_IP_VARIABLE   "advertised_media_ip"

◆ SWITCH_API_BRIDGE_END_VARIABLE

#define SWITCH_API_BRIDGE_END_VARIABLE   "api_after_bridge"

Definition at line 174 of file switch_types.h.

Referenced by audio_bridge_thread().

◆ SWITCH_API_BRIDGE_START_VARIABLE

#define SWITCH_API_BRIDGE_START_VARIABLE   "api_before_bridge"

Definition at line 175 of file switch_types.h.

Referenced by audio_bridge_thread().

◆ SWITCH_API_HANGUP_HOOK_VARIABLE

#define SWITCH_API_HANGUP_HOOK_VARIABLE   "api_hangup_hook"

Definition at line 176 of file switch_types.h.

Referenced by switch_core_session_hangup_state().

◆ SWITCH_API_REPORTING_HOOK_VARIABLE

#define SWITCH_API_REPORTING_HOOK_VARIABLE   "api_reporting_hook"

Definition at line 177 of file switch_types.h.

Referenced by switch_core_session_reporting_state().

◆ SWITCH_API_VERSION

#define SWITCH_API_VERSION   5

Definition at line 2590 of file switch_types.h.

Referenced by switch_loadable_module_load_file().

◆ SWITCH_ATT_XFER_RESULT_VARIABLE

#define SWITCH_ATT_XFER_RESULT_VARIABLE   "att_xfer_result"

Definition at line 139 of file switch_types.h.

◆ SWITCH_AUDIO_SPOOL_PATH_VARIABLE

#define SWITCH_AUDIO_SPOOL_PATH_VARIABLE   "audio_spool_path"

Definition at line 128 of file switch_types.h.

Referenced by switch_core_perform_file_open().

◆ SWITCH_B_SDP_VARIABLE

#define SWITCH_B_SDP_VARIABLE   "switch_m_sdp"

◆ SWITCH_BITS_PER_BYTE

#define SWITCH_BITS_PER_BYTE   8

Definition at line 235 of file switch_types.h.

Referenced by DoxyDefine(), if(), pack_check_over(), and while().

◆ SWITCH_BLANK_STRING

#define SWITCH_BLANK_STRING   ""

◆ SWITCH_BRIDGE_CHANNEL_VARIABLE

#define SWITCH_BRIDGE_CHANNEL_VARIABLE   "bridge_channel"

Definition at line 182 of file switch_types.h.

Referenced by switch_ivr_multi_threaded_bridge(), and switch_ivr_uuid_bridge().

◆ SWITCH_BRIDGE_EXPORT_VARS_VARIABLE

#define SWITCH_BRIDGE_EXPORT_VARS_VARIABLE   "bridge_export_vars"

Definition at line 196 of file switch_types.h.

Referenced by check_bridge_export().

◆ SWITCH_BRIDGE_HANGUP_CAUSE_VARIABLE

#define SWITCH_BRIDGE_HANGUP_CAUSE_VARIABLE   "bridge_hangup_cause"

Definition at line 129 of file switch_types.h.

Referenced by switch_ivr_multi_threaded_bridge().

◆ SWITCH_BRIDGE_UUID_VARIABLE

#define SWITCH_BRIDGE_UUID_VARIABLE   "bridge_uuid"

◆ SWITCH_BRIDGE_VARIABLE

#define SWITCH_BRIDGE_VARIABLE   "bridge_to"

◆ SWITCH_BYPASS_MEDIA_AFTER_BRIDGE_VARIABLE

#define SWITCH_BYPASS_MEDIA_AFTER_BRIDGE_VARIABLE   "bypass_media_after_bridge"

◆ SWITCH_BYPASS_MEDIA_VARIABLE

#define SWITCH_BYPASS_MEDIA_VARIABLE   "bypass_media"

Definition at line 190 of file switch_types.h.

Referenced by switch_ivr_originate().

◆ SWITCH_BYTES_PER_SAMPLE

#define SWITCH_BYTES_PER_SAMPLE   2 /* slin is 2 bytes per sample */

Definition at line 589 of file switch_types.h.

◆ SWITCH_CACHE_SPEECH_HANDLES_OBJ_NAME

#define SWITCH_CACHE_SPEECH_HANDLES_OBJ_NAME   "__cache_speech_handles_obj__"

Definition at line 189 of file switch_types.h.

Referenced by switch_ivr_clear_speech_cache(), and switch_ivr_speak_text().

◆ SWITCH_CACHE_SPEECH_HANDLES_VARIABLE

#define SWITCH_CACHE_SPEECH_HANDLES_VARIABLE   "cache_speech_handles"

Definition at line 188 of file switch_types.h.

Referenced by switch_ivr_speak_text().

◆ SWITCH_CALL_TIMEOUT_VARIABLE

#define SWITCH_CALL_TIMEOUT_VARIABLE   "call_timeout"

Definition at line 171 of file switch_types.h.

Referenced by switch_ivr_originate(), and switch_ivr_wait_for_answer().

◆ SWITCH_CHANNEL_API_ON_ANSWER_VARIABLE

#define SWITCH_CHANNEL_API_ON_ANSWER_VARIABLE   "api_on_answer"

Definition at line 162 of file switch_types.h.

Referenced by switch_channel_perform_mark_answered().

◆ SWITCH_CHANNEL_API_ON_MEDIA_VARIABLE

#define SWITCH_CHANNEL_API_ON_MEDIA_VARIABLE   "api_on_media"

◆ SWITCH_CHANNEL_API_ON_ORIGINATE_VARIABLE

#define SWITCH_CHANNEL_API_ON_ORIGINATE_VARIABLE   "api_on_originate"

Definition at line 167 of file switch_types.h.

Referenced by switch_ivr_originate().

◆ SWITCH_CHANNEL_API_ON_POST_ORIGINATE_VARIABLE

#define SWITCH_CHANNEL_API_ON_POST_ORIGINATE_VARIABLE   "api_on_post_originate"

Definition at line 168 of file switch_types.h.

Referenced by switch_ivr_originate().

◆ SWITCH_CHANNEL_API_ON_PRE_ANSWER_VARIABLE

#define SWITCH_CHANNEL_API_ON_PRE_ANSWER_VARIABLE   "api_on_pre_answer"

Definition at line 163 of file switch_types.h.

Referenced by switch_channel_perform_mark_pre_answered().

◆ SWITCH_CHANNEL_API_ON_PRE_ORIGINATE_VARIABLE

#define SWITCH_CHANNEL_API_ON_PRE_ORIGINATE_VARIABLE   "api_on_pre_originate"

Definition at line 169 of file switch_types.h.

Referenced by switch_ivr_originate().

◆ SWITCH_CHANNEL_API_ON_RING_VARIABLE

#define SWITCH_CHANNEL_API_ON_RING_VARIABLE   "api_on_ring"

Definition at line 165 of file switch_types.h.

Referenced by switch_channel_perform_mark_ring_ready_value().

◆ SWITCH_CHANNEL_API_ON_TONE_DETECT_VARIABLE

#define SWITCH_CHANNEL_API_ON_TONE_DETECT_VARIABLE   "api_on_tone_detect"

Definition at line 166 of file switch_types.h.

Referenced by tone_on_dtmf().

◆ SWITCH_CHANNEL_CHANNEL_LOG

#define SWITCH_CHANNEL_CHANNEL_LOG (   x)    SWITCH_CHANNEL_ID_SESSION, __FILE__, __SWITCH_FUNC__, __LINE__, (const char*)switch_channel_get_session(x)

◆ SWITCH_CHANNEL_EVENT

#define SWITCH_CHANNEL_EVENT   SWITCH_CHANNEL_ID_EVENT, __FILE__, __SWITCH_FUNC__, __LINE__, NULL

Definition at line 1333 of file switch_types.h.

◆ SWITCH_CHANNEL_EXECUTE_ON_ANSWER_VARIABLE

#define SWITCH_CHANNEL_EXECUTE_ON_ANSWER_VARIABLE   "execute_on_answer"

Definition at line 150 of file switch_types.h.

Referenced by switch_channel_perform_mark_answered().

◆ SWITCH_CHANNEL_EXECUTE_ON_MEDIA_VARIABLE

#define SWITCH_CHANNEL_EXECUTE_ON_MEDIA_VARIABLE   "execute_on_media"

◆ SWITCH_CHANNEL_EXECUTE_ON_ORIGINATE_VARIABLE

#define SWITCH_CHANNEL_EXECUTE_ON_ORIGINATE_VARIABLE   "execute_on_originate"

Definition at line 155 of file switch_types.h.

Referenced by switch_ivr_originate().

◆ SWITCH_CHANNEL_EXECUTE_ON_POST_BRIDGE_VARIABLE

#define SWITCH_CHANNEL_EXECUTE_ON_POST_BRIDGE_VARIABLE   "execute_on_post_bridge"

Definition at line 160 of file switch_types.h.

Referenced by audio_bridge_thread().

◆ SWITCH_CHANNEL_EXECUTE_ON_POST_ORIGINATE_VARIABLE

#define SWITCH_CHANNEL_EXECUTE_ON_POST_ORIGINATE_VARIABLE   "execute_on_post_originate"

Definition at line 156 of file switch_types.h.

Referenced by switch_ivr_originate().

◆ SWITCH_CHANNEL_EXECUTE_ON_PRE_ANSWER_VARIABLE

#define SWITCH_CHANNEL_EXECUTE_ON_PRE_ANSWER_VARIABLE   "execute_on_pre_answer"

Definition at line 151 of file switch_types.h.

Referenced by switch_channel_perform_mark_pre_answered().

◆ SWITCH_CHANNEL_EXECUTE_ON_PRE_BRIDGE_VARIABLE

#define SWITCH_CHANNEL_EXECUTE_ON_PRE_BRIDGE_VARIABLE   "execute_on_pre_bridge"

Definition at line 159 of file switch_types.h.

Referenced by audio_bridge_thread().

◆ SWITCH_CHANNEL_EXECUTE_ON_PRE_ORIGINATE_VARIABLE

#define SWITCH_CHANNEL_EXECUTE_ON_PRE_ORIGINATE_VARIABLE   "execute_on_pre_originate"

Definition at line 157 of file switch_types.h.

Referenced by switch_ivr_originate().

◆ SWITCH_CHANNEL_EXECUTE_ON_RING_VARIABLE

#define SWITCH_CHANNEL_EXECUTE_ON_RING_VARIABLE   "execute_on_ring"

Definition at line 153 of file switch_types.h.

Referenced by switch_channel_perform_mark_ring_ready_value().

◆ SWITCH_CHANNEL_EXECUTE_ON_TONE_DETECT_VARIABLE

#define SWITCH_CHANNEL_EXECUTE_ON_TONE_DETECT_VARIABLE   "execute_on_tone_detect"

Definition at line 154 of file switch_types.h.

Referenced by tone_detect_callback(), and tone_on_dtmf().

◆ SWITCH_CHANNEL_LOG

#define SWITCH_CHANNEL_LOG   SWITCH_CHANNEL_ID_LOG, __FILE__, __SWITCH_FUNC__, __LINE__, NULL

Definition at line 1330 of file switch_types.h.

Referenced by _switch_cache_db_get_db_handle(), Event::addBody(), Event::addHeader(), asr_set_json_text_params(), EventConsumer::bind(), IVRMenu::bindAction(), chat_thread_run(), check_channel_status(), check_jitter(), check_queue(), console_log(), console_xml_config(), core_event_handler(), Event::delHeader(), CoreSession::detectSpeech(), do_chat_send(), do_flush(), do_shutdown(), do_trans(), dtls_bio_filter_ctrl(), dtls_bio_filter_write(), dump_buffer(), ecd_deliver(), Event::Event(), event_handler(), exec_cb(), Event::fire(), free_header(), 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_config(), load_configuration(), log_thread(), Event::merge(), msock_init(), msrp_init_ssl(), msrp_listener(), msrp_parse_buffer(), msrp_parse_headers(), msrp_report(), msrp_socket_recv(), msrp_worker(), next_cpu(), CoreSession::originate(), play_and_detect_input_callback(), pool_thread(), preprocess(), preprocess_exec(), preprocess_exec_set(), preprocess_glob(), preprocess_stun_set(), read_rtp_packet(), recover_callback(), rtp_common_write(), Event::setPriority(), sql_close(), sql_in_thread(), switch_agc_feed(), switch_cache_db_database_interface_flush_handles(), 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_ex(), switch_channel_invert_cid(), switch_chromakey_add_color(), 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_check_dtls_pem(), 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_open_in_memory(), 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_gen_certs(), switch_core_init(), switch_core_init_and_modload(), switch_core_launch_thread(), switch_core_media_add_crypto(), switch_core_media_add_payload_map(), switch_core_media_ext_address_lookup(), switch_core_media_gen_local_sdp(), switch_core_media_negotiate_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_curl_process_mime(), switch_dial_handle_list_create_json_obj(), switch_digest(), 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_dispatch_thread(), 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_fulldate_cmp(), switch_html_strip(), switch_img_data_url(), switch_img_data_url_png(), switch_img_find_position(), switch_img_from_raw(), switch_img_mirror(), 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_destroy(), switch_img_txt_handle_render(), switch_img_write_png(), switch_img_write_to_file(), 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_get_management_interface(), 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_msrp_destroy(), switch_msrp_init(), switch_msrp_session_destroy(), switch_msrp_start_client(), 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_callback_exec_detailed(), switch_odbc_handle_connect(), switch_odbc_handle_disconnect(), switch_odbc_handle_exec(), switch_packetizer_feed(), switch_packetizer_feed_extradata(), switch_packetizer_read(), switch_parse_codec_buf(), switch_regex_match_partial(), switch_regex_perform(), switch_rtp_init(), switch_rtp_shutdown(), switch_scheduler_add_task_ex(), 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_STANDARD_APP(), switch_stream_spawn(), switch_stun_ip_lookup(), switch_system_fork(), switch_system_thread(), switch_thread_join(), switch_time_calibrate_clock(), switch_time_sync(), switch_user_sql_thread(), switch_vad_process(), switch_vad_reset(), switch_vad_set_mode(), switch_vad_set_param(), 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_language_ex(), 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(), text_helper_thread(), thread_launch_failure(), timer_destroy(), timer_generic_sync(), timer_init(), video_helper_thread(), and xswitch_http_request().

◆ SWITCH_CHANNEL_LOG_CLEAN

#define SWITCH_CHANNEL_LOG_CLEAN   SWITCH_CHANNEL_ID_LOG_CLEAN, __FILE__, __SWITCH_FUNC__, __LINE__, NULL

◆ SWITCH_CHANNEL_NAME_VARIABLE

#define SWITCH_CHANNEL_NAME_VARIABLE   "channel_name"

Definition at line 183 of file switch_types.h.

Referenced by switch_channel_set_name().

◆ SWITCH_CHANNEL_SESSION_LOG

#define SWITCH_CHANNEL_SESSION_LOG (   x)    SWITCH_CHANNEL_ID_SESSION, __FILE__, __SWITCH_FUNC__, __LINE__, (const char*)switch_core_session_type_check(x)

Definition at line 1334 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(), check_timeout(), 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(), 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(), CoreSession::playAndDetectSpeech(), process_rtcp_packet(), process_rtcp_report(), read_bundle_rtp_packet(), read_displace_callback(), read_rtcp_packet(), read_rtp_packet(), record_callback(), record_helper_destroy(), recording_thread(), recover_callback(), rtcp_generate_report_block(), rtcp_generate_sender_info(), rtcp_stats(), rtcp_stats_init(), rtp_common_read(), rtp_common_write(), rtp_write_ready(), 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_export_variable_var_check(), switch_channel_flip_cid(), switch_channel_handle_cause(), switch_channel_perform_answer(), switch_channel_process_export(), switch_collect_input_callback(), switch_core_media_activate_rtp(), switch_core_media_add_crypto(), 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_build_crypto(), switch_core_media_choose_port(), switch_core_media_choose_ports(), switch_core_media_merge_sdp_codec_string(), 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_external_id(), 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_audio_write_thread(), switch_core_session_start_text_thread(), 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_text_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_capture_text(), switch_ivr_collect_digits_count(), switch_ivr_deactivate_unicast(), switch_ivr_delay_echo(), switch_ivr_detect_audio(), switch_ivr_detect_silence(), 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_orig_and_bridge(), switch_ivr_enterprise_originate(), switch_ivr_hold(), 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_orig_and_bridge(), switch_ivr_originate(), switch_ivr_park(), switch_ivr_parse_all_events(), switch_ivr_parse_event(), switch_ivr_phrase_macro_event(), switch_ivr_play_and_collect_input(), 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_event(), switch_ivr_record_session_event(), switch_ivr_say(), switch_ivr_say_string(), switch_ivr_session_transfer(), switch_ivr_set_user_extended(), 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_unhold(), switch_ivr_uuid_bridge(), switch_ivr_wait_for_answer(), switch_ivr_wait_for_silence(), switch_jb_set_session(), 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_ice_dest(), switch_rtp_change_interval(), switch_rtp_create(), switch_rtp_dequeue_dtmf(), switch_rtp_destroy(), switch_rtp_enable_vad(), switch_rtp_pause_jitter_buffer(), switch_rtp_set_max_missed_packets(), switch_rtp_set_media_timeout(), switch_rtp_set_video_buffer_size(), switch_rtp_write_frame(), switch_rtp_write_raw(), switch_send_rtcp_event(), SWITCH_STANDARD_APP(), SWITCH_STANDARD_SCHED_FUNC(), text_bridge_thread(), tone_detect_callback(), CoreSession::transfer(), transfer_after_bridge(), uuid_bridge_on_reset(), and uuid_bridge_on_soft_execute().

◆ SWITCH_CHANNEL_SESSION_LOG_CLEAN

#define SWITCH_CHANNEL_SESSION_LOG_CLEAN (   x)    SWITCH_CHANNEL_ID_LOG_CLEAN, __FILE__, __SWITCH_FUNC__, __LINE__, switch_core_session_get_uuid((x))

◆ SWITCH_CHANNEL_UUID_LOG

#define SWITCH_CHANNEL_UUID_LOG (   x)    SWITCH_CHANNEL_ID_LOG, __FILE__, __SWITCH_FUNC__, __LINE__, switch_const_char_type_check(x)

Definition at line 1336 of file switch_types.h.

◆ SWITCH_CONTINUE_ON_FAILURE_VARIABLE

#define SWITCH_CONTINUE_ON_FAILURE_VARIABLE   "continue_on_fail"

Definition at line 185 of file switch_types.h.

◆ SWITCH_COPY_JSON_CDR_VARIABLE

#define SWITCH_COPY_JSON_CDR_VARIABLE   "copy_json_cdr"

Definition at line 141 of file switch_types.h.

Referenced by switch_ivr_multi_threaded_bridge().

◆ SWITCH_COPY_XML_CDR_VARIABLE

#define SWITCH_COPY_XML_CDR_VARIABLE   "copy_xml_cdr"

Definition at line 140 of file switch_types.h.

Referenced by switch_ivr_multi_threaded_bridge().

◆ SWITCH_CORE_QUEUE_LEN

#define SWITCH_CORE_QUEUE_LEN   100000

◆ SWITCH_CORE_SESSION_MAX_PRIVATES

#define SWITCH_CORE_SESSION_MAX_PRIVATES   2

◆ SWITCH_CRYPTO_MKI_INDEX

#define SWITCH_CRYPTO_MKI_INDEX   0

◆ SWITCH_CRYPTO_MKI_MAX

#define SWITCH_CRYPTO_MKI_MAX   20

Definition at line 2880 of file switch_types.h.

Referenced by switch_core_media_add_crypto().

◆ SWITCH_CURRENT_APPLICATION_DATA_VARIABLE

#define SWITCH_CURRENT_APPLICATION_DATA_VARIABLE   "current_application_data"

Definition at line 133 of file switch_types.h.

Referenced by switch_core_session_exec().

◆ SWITCH_CURRENT_APPLICATION_RESPONSE_VARIABLE

#define SWITCH_CURRENT_APPLICATION_RESPONSE_VARIABLE   "current_application_response"

Definition at line 134 of file switch_types.h.

Referenced by switch_core_session_exec().

◆ SWITCH_CURRENT_APPLICATION_VARIABLE [1/2]

#define SWITCH_CURRENT_APPLICATION_VARIABLE   "current_application"

Definition at line 142 of file switch_types.h.

Referenced by switch_core_session_exec(), and switch_loadable_module_unprocess().

◆ SWITCH_CURRENT_APPLICATION_VARIABLE [2/2]

#define SWITCH_CURRENT_APPLICATION_VARIABLE   "current_application"

Definition at line 142 of file switch_types.h.

◆ SWITCH_DEFAULT_CLID_NAME

#define SWITCH_DEFAULT_CLID_NAME   ""

Definition at line 114 of file switch_types.h.

Referenced by switch_caller_profile_new(), and switch_ivr_originate().

◆ SWITCH_DEFAULT_CLID_NUMBER

#define SWITCH_DEFAULT_CLID_NUMBER   "0000000000"

Definition at line 115 of file switch_types.h.

Referenced by switch_caller_profile_new(), and switch_ivr_originate().

◆ SWITCH_DEFAULT_DIR_PERMS

Definition at line 120 of file switch_types.h.

Referenced by main(), switch_core_init(), and switch_ivr_record_session_event().

◆ SWITCH_DEFAULT_DTMF_DURATION

#define SWITCH_DEFAULT_DTMF_DURATION   2000

Definition at line 116 of file switch_types.h.

Referenced by DTMF::DTMF(), and switch_core_init().

◆ SWITCH_DEFAULT_FILE_BUFFER_LEN

#define SWITCH_DEFAULT_FILE_BUFFER_LEN   65536

◆ SWITCH_DEFAULT_TIMEOUT

#define SWITCH_DEFAULT_TIMEOUT   60

◆ SWITCH_DEFAULT_VIDEO_SIZE

#define SWITCH_DEFAULT_VIDEO_SIZE   1200

Definition at line 240 of file switch_types.h.

Referenced by switch_core_session_write_video_frame().

◆ SWITCH_DISABLE_APP_LOG_VARIABLE

#define SWITCH_DISABLE_APP_LOG_VARIABLE   "disable_app_log"

Definition at line 232 of file switch_types.h.

Referenced by switch_core_session_exec().

◆ SWITCH_DTMF_LOG_LEN

#define SWITCH_DTMF_LOG_LEN   1000

Definition at line 237 of file switch_types.h.

Referenced by switch_channel_alloc(), and switch_channel_set_timestamps().

◆ SWITCH_ENABLE_HEARTBEAT_EVENTS_VARIABLE

#define SWITCH_ENABLE_HEARTBEAT_EVENTS_VARIABLE   "enable_heartbeat_events"

Definition at line 136 of file switch_types.h.

Referenced by switch_channel_perform_mark_answered().

◆ SWITCH_ENDPOINT_DISPOSITION_VARIABLE

#define SWITCH_ENDPOINT_DISPOSITION_VARIABLE   "endpoint_disposition"

◆ SWITCH_ENT_ORIGINATE_DELIM

#define SWITCH_ENT_ORIGINATE_DELIM   ":_:"

Definition at line 47 of file switch_types.h.

Referenced by switch_ivr_enterprise_originate(), and switch_ivr_originate().

◆ SWITCH_EXEC_AFTER_BRIDGE_APP_VARIABLE

#define SWITCH_EXEC_AFTER_BRIDGE_APP_VARIABLE   "exec_after_bridge_app"

Definition at line 224 of file switch_types.h.

Referenced by audio_bridge_thread().

◆ SWITCH_EXEC_AFTER_BRIDGE_ARG_VARIABLE

#define SWITCH_EXEC_AFTER_BRIDGE_ARG_VARIABLE   "exec_after_bridge_arg"

Definition at line 225 of file switch_types.h.

Referenced by audio_bridge_thread().

◆ SWITCH_EXPORT_VARS_VARIABLE

#define SWITCH_EXPORT_VARS_VARIABLE   "export_vars"

Definition at line 195 of file switch_types.h.

Referenced by switch_ivr_enterprise_originate(), and switch_ivr_originate().

◆ SWITCH_FORCE_PROCESS_CDR_VARIABLE

#define SWITCH_FORCE_PROCESS_CDR_VARIABLE   "force_process_cdr"

Definition at line 181 of file switch_types.h.

◆ SWITCH_HANGUP_AFTER_BRIDGE_VARIABLE

#define SWITCH_HANGUP_AFTER_BRIDGE_VARIABLE   "hangup_after_bridge"

◆ SWITCH_HASH_DELETE_FUNC

#define SWITCH_HASH_DELETE_FUNC (   name)    static switch_bool_t name (const void *key, const void *val, void *pData)

Definition at line 2472 of file switch_types.h.

◆ SWITCH_HOLD_MUSIC_VARIABLE

#define SWITCH_HOLD_MUSIC_VARIABLE   "hold_music"

Definition at line 193 of file switch_types.h.

Referenced by switch_channel_get_hold_music().

◆ SWITCH_HOLDING_UUID_VARIABLE

#define SWITCH_HOLDING_UUID_VARIABLE   "holding_uuid"

Definition at line 172 of file switch_types.h.

Referenced by switch_ivr_originate().

◆ SWITCH_IGNORE_DISPLAY_UPDATES_VARIABLE

#define SWITCH_IGNORE_DISPLAY_UPDATES_VARIABLE   "ignore_display_updates"

Definition at line 127 of file switch_types.h.

Referenced by switch_core_session_perform_receive_message().

◆ SWITCH_INTERVAL_PAD

#define SWITCH_INTERVAL_PAD   10 /* A little extra buffer space to be safe */

Definition at line 587 of file switch_types.h.

◆ SWITCH_L_SDP_VARIABLE

#define SWITCH_L_SDP_VARIABLE   "switch_l_sdp"

Definition at line 198 of file switch_types.h.

◆ SWITCH_LAST_BRIDGE_VARIABLE

#define SWITCH_LAST_BRIDGE_VARIABLE   "last_bridge_to"

Definition at line 201 of file switch_types.h.

Referenced by signal_bridge_on_hibernate(), and switch_ivr_multi_threaded_bridge().

◆ SWITCH_LOCAL_MEDIA_IP_VARIABLE

#define SWITCH_LOCAL_MEDIA_IP_VARIABLE   "local_media_ip"

◆ SWITCH_LOCAL_MEDIA_PORT_VARIABLE

#define SWITCH_LOCAL_MEDIA_PORT_VARIABLE   "local_media_port"

◆ SWITCH_LOCAL_TEXT_IP_VARIABLE

#define SWITCH_LOCAL_TEXT_IP_VARIABLE   "local_text_ip"

◆ SWITCH_LOCAL_TEXT_PORT_VARIABLE

#define SWITCH_LOCAL_TEXT_PORT_VARIABLE   "local_text_port"

◆ SWITCH_LOCAL_VIDEO_IP_VARIABLE

#define SWITCH_LOCAL_VIDEO_IP_VARIABLE   "local_video_ip"

◆ SWITCH_LOCAL_VIDEO_PORT_VARIABLE

#define SWITCH_LOCAL_VIDEO_PORT_VARIABLE   "local_video_port"

◆ SWITCH_MAX_CODECS

#define SWITCH_MAX_CODECS   50

◆ SWITCH_MAX_DTMF_DURATION

#define SWITCH_MAX_DTMF_DURATION   192000

◆ SWITCH_MAX_FORWARDS_VARIABLE

#define SWITCH_MAX_FORWARDS_VARIABLE   "max_forwards"

◆ SWITCH_MAX_INTERVAL

#define SWITCH_MAX_INTERVAL   120 /* we only do up to 120ms */

Definition at line 586 of file switch_types.h.

◆ SWITCH_MAX_MANAGEMENT_BUFFER_LEN

#define SWITCH_MAX_MANAGEMENT_BUFFER_LEN   1024 * 8

Definition at line 594 of file switch_types.h.

◆ SWITCH_MAX_SAMPLE_LEN

#define SWITCH_MAX_SAMPLE_LEN   48

Definition at line 588 of file switch_types.h.

◆ SWITCH_MAX_SESSION_TRANSFERS_VARIABLE

#define SWITCH_MAX_SESSION_TRANSFERS_VARIABLE   "max_session_transfers"

Definition at line 231 of file switch_types.h.

Referenced by switch_ivr_session_transfer().

◆ SWITCH_MAX_STACKS

#define SWITCH_MAX_STACKS   32

◆ SWITCH_MAX_STATE_HANDLERS

#define SWITCH_MAX_STATE_HANDLERS   30

◆ SWITCH_MAX_TRANS

#define SWITCH_MAX_TRANS   2000

Definition at line 238 of file switch_types.h.

Referenced by switch_core_sqldb_start_thread().

◆ SWITCH_MEDIA_TYPE_TOTAL

#define SWITCH_MEDIA_TYPE_TOTAL   3

Definition at line 1849 of file switch_types.h.

◆ SWITCH_MIN_DTMF_DURATION

#define SWITCH_MIN_DTMF_DURATION   400

◆ SWITCH_MODULE_DEFINITION

#define SWITCH_MODULE_DEFINITION (   name,
  load,
  shutdown,
  runtime 
)    SWITCH_MODULE_DEFINITION_EX(name, load, shutdown, runtime, SMODF_NONE)

Definition at line 2636 of file switch_types.h.

◆ SWITCH_MODULE_DEFINITION_EX

#define SWITCH_MODULE_DEFINITION_EX (   name,
  load,
  shutdown,
  runtime,
  flags 
)
Value:
static const char modname[] = #name ; \
SWITCH_MOD_DECLARE_DATA switch_loadable_module_function_table_t name##_module_interface = { \
SWITCH_API_VERSION, \
load, \
shutdown, \
runtime, \
flags \
}
const char *const name
Definition: switch_cJSON.h:250

Definition at line 2626 of file switch_types.h.

◆ SWITCH_MODULE_LOAD_ARGS

Definition at line 2591 of file switch_types.h.

◆ SWITCH_MODULE_LOAD_FUNCTION

#define SWITCH_MODULE_LOAD_FUNCTION (   name)    switch_status_t name SWITCH_MODULE_LOAD_ARGS

Definition at line 2597 of file switch_types.h.

◆ SWITCH_MODULE_RUNTIME_ARGS

#define SWITCH_MODULE_RUNTIME_ARGS   (void)

Definition at line 2592 of file switch_types.h.

◆ SWITCH_MODULE_RUNTIME_FUNCTION

#define SWITCH_MODULE_RUNTIME_FUNCTION (   name)    switch_status_t name SWITCH_MODULE_RUNTIME_ARGS

Definition at line 2598 of file switch_types.h.

◆ SWITCH_MODULE_SHUTDOWN_ARGS

#define SWITCH_MODULE_SHUTDOWN_ARGS   (void)

Definition at line 2593 of file switch_types.h.

◆ SWITCH_MODULE_SHUTDOWN_FUNCTION

#define SWITCH_MODULE_SHUTDOWN_FUNCTION (   name)    switch_status_t name SWITCH_MODULE_SHUTDOWN_ARGS

Definition at line 2599 of file switch_types.h.

◆ SWITCH_NUMPLAN_UNDEF

#define SWITCH_NUMPLAN_UNDEF   255

Definition at line 50 of file switch_types.h.

Referenced by switch_caller_profile_new().

◆ SWITCH_ORIGINATE_SIGNAL_BOND_VARIABLE

#define SWITCH_ORIGINATE_SIGNAL_BOND_VARIABLE   "originate_signal_bond"

◆ SWITCH_ORIGINATOR_CODEC_VARIABLE

#define SWITCH_ORIGINATOR_CODEC_VARIABLE   "originator_codec"

◆ SWITCH_ORIGINATOR_VARIABLE

#define SWITCH_ORIGINATOR_VARIABLE   "originator"

◆ SWITCH_ORIGINATOR_VIDEO_CODEC_VARIABLE

#define SWITCH_ORIGINATOR_VIDEO_CODEC_VARIABLE   "originator_video_codec"

Definition at line 207 of file switch_types.h.

Referenced by switch_core_session_outgoing_channel().

◆ SWITCH_PARK_AFTER_BRIDGE_VARIABLE

#define SWITCH_PARK_AFTER_BRIDGE_VARIABLE   "park_after_bridge"

◆ SWITCH_PARK_AFTER_EARLY_BRIDGE_VARIABLE

#define SWITCH_PARK_AFTER_EARLY_BRIDGE_VARIABLE   "park_after_early_bridge"

Definition at line 221 of file switch_types.h.

Referenced by switch_ivr_multi_threaded_bridge().

◆ SWITCH_PASSTHRU_PTIME_MISMATCH_VARIABLE

#define SWITCH_PASSTHRU_PTIME_MISMATCH_VARIABLE   "passthru_ptime_mismatch"

◆ SWITCH_PATH_SEPARATOR

#define SWITCH_PATH_SEPARATOR   "/"

◆ SWITCH_PLAYBACK_TERMINATOR_USED

#define SWITCH_PLAYBACK_TERMINATOR_USED   "playback_terminator_used"

Definition at line 187 of file switch_types.h.

Referenced by play_and_detect_input_callback().

◆ SWITCH_PLAYBACK_TERMINATORS_VARIABLE

#define SWITCH_PLAYBACK_TERMINATORS_VARIABLE   "playback_terminators"

Definition at line 186 of file switch_types.h.

Referenced by play_and_detect_input_callback().

◆ SWITCH_PROCESS_CDR_VARIABLE

#define SWITCH_PROCESS_CDR_VARIABLE   "process_cdr"

◆ SWITCH_PROTO_SPECIFIC_HANGUP_CAUSE_VARIABLE

#define SWITCH_PROTO_SPECIFIC_HANGUP_CAUSE_VARIABLE   "proto_specific_hangup_cause"

Definition at line 143 of file switch_types.h.

Referenced by switch_channel_perform_hangup().

◆ SWITCH_PROXY_MEDIA_VARIABLE

#define SWITCH_PROXY_MEDIA_VARIABLE   "proxy_media"

Definition at line 191 of file switch_types.h.

Referenced by switch_ivr_originate().

◆ SWITCH_R_SDP_VARIABLE

#define SWITCH_R_SDP_VARIABLE   "switch_r_sdp"

◆ SWITCH_READ_RESULT_VARIABLE

#define SWITCH_READ_RESULT_VARIABLE   "read_result"

Definition at line 138 of file switch_types.h.

Referenced by switch_ivr_read().

◆ SWITCH_READ_TERMINATOR_USED_VARIABLE

#define SWITCH_READ_TERMINATOR_USED_VARIABLE   "read_terminator_used"

Definition at line 130 of file switch_types.h.

Referenced by switch_ivr_read(), and switch_play_and_get_digits().

◆ SWITCH_RECOMMENDED_BUFFER_SIZE

#define SWITCH_RECOMMENDED_BUFFER_SIZE   8192

◆ SWITCH_RECORD_POST_PROCESS_EXEC_API_VARIABLE

#define SWITCH_RECORD_POST_PROCESS_EXEC_API_VARIABLE   "record_post_process_exec_api"

Definition at line 148 of file switch_types.h.

Referenced by record_helper_post_process(), and switch_ivr_transfer_recordings().

◆ SWITCH_RECORD_POST_PROCESS_EXEC_APP_VARIABLE

#define SWITCH_RECORD_POST_PROCESS_EXEC_APP_VARIABLE   "record_post_process_exec_app"

Definition at line 147 of file switch_types.h.

Referenced by record_helper_post_process(), and switch_ivr_transfer_recordings().

◆ SWITCH_REMOTE_MEDIA_IP_VARIABLE

#define SWITCH_REMOTE_MEDIA_IP_VARIABLE   "remote_media_ip"

◆ SWITCH_REMOTE_MEDIA_PORT_VARIABLE

#define SWITCH_REMOTE_MEDIA_PORT_VARIABLE   "remote_media_port"

◆ SWITCH_REMOTE_VIDEO_IP_VARIABLE

#define SWITCH_REMOTE_VIDEO_IP_VARIABLE   "remote_video_ip"

◆ SWITCH_REMOTE_VIDEO_PORT_VARIABLE

#define SWITCH_REMOTE_VIDEO_PORT_VARIABLE   "remote_video_port"

◆ SWITCH_RFC7989_APP_SESSION_ID_VARIABLE

#define SWITCH_RFC7989_APP_SESSION_ID_VARIABLE   "app_session_uuid"

Definition at line 229 of file switch_types.h.

◆ SWITCH_RFC7989_GENERIC_PARAM_VARIABLE

#define SWITCH_RFC7989_GENERIC_PARAM_VARIABLE   "generic_param_session_uuid"

Definition at line 230 of file switch_types.h.

◆ SWITCH_RFC7989_REMOTE_SESSION_ID_VARIABLE

#define SWITCH_RFC7989_REMOTE_SESSION_ID_VARIABLE   "remote_session_uuid"

Definition at line 228 of file switch_types.h.

◆ SWITCH_RFC7989_SESSION_ID_VARIABLE

#define SWITCH_RFC7989_SESSION_ID_VARIABLE   "session_uuid"

Definition at line 227 of file switch_types.h.

◆ SWITCH_RTCP_AUDIO_INTERVAL_MSEC

#define SWITCH_RTCP_AUDIO_INTERVAL_MSEC   "1000"

◆ SWITCH_RTCP_VIDEO_INTERVAL_MSEC

#define SWITCH_RTCP_VIDEO_INTERVAL_MSEC   "1000"

◆ SWITCH_RTP_CNG_PAYLOAD

#define SWITCH_RTP_CNG_PAYLOAD   13

Definition at line 772 of file switch_types.h.

Referenced by rtp_common_read().

◆ SWITCH_RTP_MAX_CRYPTO_LEN

#define SWITCH_RTP_MAX_CRYPTO_LEN   64

Definition at line 2831 of file switch_types.h.

Referenced by switch_core_media_add_crypto(), and switch_rtp_add_crypto_key().

◆ SWITCH_SEND_SILENCE_WHEN_IDLE_VARIABLE

#define SWITCH_SEND_SILENCE_WHEN_IDLE_VARIABLE   "send_silence_when_idle"

◆ SWITCH_SENSITIVE_DTMF_VARIABLE

#define SWITCH_SENSITIVE_DTMF_VARIABLE   "sensitive_dtmf"

◆ SWITCH_SEQ_AND_COLOR

#define SWITCH_SEQ_AND_COLOR   ";" /* To add multiple color definitions */

Definition at line 71 of file switch_types.h.

◆ SWITCH_SEQ_B_BLACK

#define SWITCH_SEQ_B_BLACK   "40"

Definition at line 83 of file switch_types.h.

◆ SWITCH_SEQ_B_BLUE

#define SWITCH_SEQ_B_BLUE   "44"

Definition at line 87 of file switch_types.h.

◆ SWITCH_SEQ_B_CYAN

#define SWITCH_SEQ_B_CYAN   "46"

Definition at line 89 of file switch_types.h.

◆ SWITCH_SEQ_B_GREEN

#define SWITCH_SEQ_B_GREEN   "42"

Definition at line 85 of file switch_types.h.

◆ SWITCH_SEQ_B_MAGEN

#define SWITCH_SEQ_B_MAGEN   "45"

Definition at line 88 of file switch_types.h.

◆ SWITCH_SEQ_B_RED

#define SWITCH_SEQ_B_RED   "41"

Definition at line 84 of file switch_types.h.

◆ SWITCH_SEQ_B_WHITE

#define SWITCH_SEQ_B_WHITE   "47"

Definition at line 90 of file switch_types.h.

◆ SWITCH_SEQ_B_YELLOW

#define SWITCH_SEQ_B_YELLOW   "43"

Definition at line 86 of file switch_types.h.

◆ SWITCH_SEQ_BBLACK

#define SWITCH_SEQ_BBLACK   SWITCH_SEQ_ESC SWITCH_SEQ_B_BLACK SWITCH_SEQ_END_COLOR

Definition at line 100 of file switch_types.h.

◆ SWITCH_SEQ_BBLUE

#define SWITCH_SEQ_BBLUE   SWITCH_SEQ_ESC SWITCH_SEQ_B_BLUE SWITCH_SEQ_END_COLOR

Definition at line 104 of file switch_types.h.

Referenced by switch_core_init_and_modload().

◆ SWITCH_SEQ_BCYAN

#define SWITCH_SEQ_BCYAN   SWITCH_SEQ_ESC SWITCH_SEQ_B_CYAN SWITCH_SEQ_END_COLOR

Definition at line 106 of file switch_types.h.

◆ SWITCH_SEQ_BGREEN

#define SWITCH_SEQ_BGREEN   SWITCH_SEQ_ESC SWITCH_SEQ_B_GREEN SWITCH_SEQ_END_COLOR

Definition at line 102 of file switch_types.h.

◆ SWITCH_SEQ_BMAGEN

#define SWITCH_SEQ_BMAGEN   SWITCH_SEQ_ESC SWITCH_SEQ_B_MAGEN SWITCH_SEQ_END_COLOR

Definition at line 105 of file switch_types.h.

◆ SWITCH_SEQ_BRED

Definition at line 101 of file switch_types.h.

◆ SWITCH_SEQ_BWHITE

#define SWITCH_SEQ_BWHITE   SWITCH_SEQ_ESC SWITCH_SEQ_B_WHITE SWITCH_SEQ_END_COLOR

Definition at line 107 of file switch_types.h.

◆ SWITCH_SEQ_BYELLOW

#define SWITCH_SEQ_BYELLOW   SWITCH_SEQ_ESC SWITCH_SEQ_B_YELLOW SWITCH_SEQ_END_COLOR

Definition at line 103 of file switch_types.h.

◆ SWITCH_SEQ_CLEARLINE

#define SWITCH_SEQ_CLEARLINE   SWITCH_SEQ_ESC SWITCH_SEQ_CLEARLINE_CHAR_STR

Definition at line 110 of file switch_types.h.

◆ SWITCH_SEQ_CLEARLINE_CHAR

#define SWITCH_SEQ_CLEARLINE_CHAR   '1'

Definition at line 64 of file switch_types.h.

◆ SWITCH_SEQ_CLEARLINE_CHAR_STR

#define SWITCH_SEQ_CLEARLINE_CHAR_STR   "1"

Definition at line 65 of file switch_types.h.

◆ SWITCH_SEQ_CLEARLINEEND

#define SWITCH_SEQ_CLEARLINEEND   SWITCH_SEQ_ESC SWITCH_SEQ_CLEARLINEEND_CHAR

Definition at line 111 of file switch_types.h.

◆ SWITCH_SEQ_CLEARLINEEND_CHAR

#define SWITCH_SEQ_CLEARLINEEND_CHAR   "K"

Definition at line 66 of file switch_types.h.

◆ SWITCH_SEQ_CLEARSCR

#define SWITCH_SEQ_CLEARSCR   SWITCH_SEQ_ESC SWITCH_SEQ_CLEARSCR_CHAR SWITCH_SEQ_HOME

Definition at line 112 of file switch_types.h.

◆ SWITCH_SEQ_CLEARSCR_CHAR

#define SWITCH_SEQ_CLEARSCR_CHAR   "2J"

Definition at line 69 of file switch_types.h.

◆ SWITCH_SEQ_CLEARSCR_CHAR0

#define SWITCH_SEQ_CLEARSCR_CHAR0   '2'

Definition at line 67 of file switch_types.h.

◆ SWITCH_SEQ_CLEARSCR_CHAR1

#define SWITCH_SEQ_CLEARSCR_CHAR1   'J'

Definition at line 68 of file switch_types.h.

◆ SWITCH_SEQ_DEFAULT_COLOR

#define SWITCH_SEQ_DEFAULT_COLOR   SWITCH_SEQ_ESC SWITCH_SEQ_END_COLOR /* Reset to Default fg/bg color */

Definition at line 70 of file switch_types.h.

Referenced by switch_core_init_and_modload(), and switch_log_meta_vprintf().

◆ SWITCH_SEQ_END_COLOR

#define SWITCH_SEQ_END_COLOR   "m" /* To end color definitions */

Definition at line 72 of file switch_types.h.

◆ SWITCH_SEQ_ESC

#define SWITCH_SEQ_ESC   "\033["

Definition at line 60 of file switch_types.h.

◆ SWITCH_SEQ_F_BLACK

#define SWITCH_SEQ_F_BLACK   "30"

Definition at line 74 of file switch_types.h.

◆ SWITCH_SEQ_F_BLUE

#define SWITCH_SEQ_F_BLUE   "34"

Definition at line 78 of file switch_types.h.

◆ SWITCH_SEQ_F_CYAN

#define SWITCH_SEQ_F_CYAN   "36"

Definition at line 80 of file switch_types.h.

◆ SWITCH_SEQ_F_GREEN

#define SWITCH_SEQ_F_GREEN   "32"

Definition at line 76 of file switch_types.h.

◆ SWITCH_SEQ_F_MAGEN

#define SWITCH_SEQ_F_MAGEN   "35"

Definition at line 79 of file switch_types.h.

◆ SWITCH_SEQ_F_RED

#define SWITCH_SEQ_F_RED   "31"

Definition at line 75 of file switch_types.h.

◆ SWITCH_SEQ_F_WHITE

#define SWITCH_SEQ_F_WHITE   "37"

Definition at line 81 of file switch_types.h.

◆ SWITCH_SEQ_F_YELLOW

#define SWITCH_SEQ_F_YELLOW   "33"

Definition at line 77 of file switch_types.h.

◆ SWITCH_SEQ_FBLACK

#define SWITCH_SEQ_FBLACK   SWITCH_SEQ_ESC SWITCH_SEQ_F_BLACK SWITCH_SEQ_END_COLOR

Definition at line 92 of file switch_types.h.

◆ SWITCH_SEQ_FBLUE

#define SWITCH_SEQ_FBLUE   SWITCH_SEQ_ESC SWITCH_SEQ_F_BLUE SWITCH_SEQ_END_COLOR

Definition at line 96 of file switch_types.h.

◆ SWITCH_SEQ_FCYAN

#define SWITCH_SEQ_FCYAN   SWITCH_SEQ_ESC SWITCH_SEQ_F_CYAN SWITCH_SEQ_END_COLOR

Definition at line 98 of file switch_types.h.

◆ SWITCH_SEQ_FGREEN

#define SWITCH_SEQ_FGREEN   SWITCH_SEQ_ESC SWITCH_SEQ_F_GREEN SWITCH_SEQ_END_COLOR

Definition at line 94 of file switch_types.h.

◆ SWITCH_SEQ_FMAGEN

#define SWITCH_SEQ_FMAGEN   SWITCH_SEQ_ESC SWITCH_SEQ_F_MAGEN SWITCH_SEQ_END_COLOR

Definition at line 97 of file switch_types.h.

◆ SWITCH_SEQ_FRED

Definition at line 93 of file switch_types.h.

◆ SWITCH_SEQ_FWHITE

#define SWITCH_SEQ_FWHITE   SWITCH_SEQ_ESC SWITCH_SEQ_F_WHITE SWITCH_SEQ_END_COLOR

Definition at line 99 of file switch_types.h.

◆ SWITCH_SEQ_FYELLOW

#define SWITCH_SEQ_FYELLOW   SWITCH_SEQ_ESC SWITCH_SEQ_F_YELLOW SWITCH_SEQ_END_COLOR

Definition at line 95 of file switch_types.h.

Referenced by switch_core_init_and_modload().

◆ SWITCH_SEQ_HOME

#define SWITCH_SEQ_HOME   SWITCH_SEQ_ESC SWITCH_SEQ_HOME_CHAR_STR

Definition at line 109 of file switch_types.h.

◆ SWITCH_SEQ_HOME_CHAR

#define SWITCH_SEQ_HOME_CHAR   'H'

Definition at line 62 of file switch_types.h.

◆ SWITCH_SEQ_HOME_CHAR_STR

#define SWITCH_SEQ_HOME_CHAR_STR   "H"

Definition at line 63 of file switch_types.h.

◆ SWITCH_SESSION_IN_HANGUP_HOOK_VARIABLE

#define SWITCH_SESSION_IN_HANGUP_HOOK_VARIABLE   "session_in_hangup_hook"

◆ SWITCH_SIGNAL_BOND_VARIABLE

#define SWITCH_SIGNAL_BOND_VARIABLE   "signal_bond"

◆ SWITCH_SIGNAL_BRIDGE_VARIABLE

#define SWITCH_SIGNAL_BRIDGE_VARIABLE   "signal_bridge_to"

◆ SWITCH_SKIP_CDR_CAUSES_VARIABLE

#define SWITCH_SKIP_CDR_CAUSES_VARIABLE   "skip_cdr_causes"

Definition at line 180 of file switch_types.h.

Referenced by switch_core_session_reporting_state().

◆ SWITCH_SOCK_INVALID

#define SWITCH_SOCK_INVALID   -1

◆ SWITCH_SOFT_HOLDING_UUID_VARIABLE

#define SWITCH_SOFT_HOLDING_UUID_VARIABLE   "soft_holding_uuid"

Definition at line 173 of file switch_types.h.

Referenced by switch_ivr_originate().

◆ SWITCH_SPEECH_KEY

#define SWITCH_SPEECH_KEY   "speech"

◆ SWITCH_STANDARD_API

#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 2490 of file switch_types.h.

◆ SWITCH_STANDARD_APP

#define SWITCH_STANDARD_APP (   name)    static void name (switch_core_session_t *session, const char *data)

Definition at line 2464 of file switch_types.h.

◆ SWITCH_STANDARD_CHAT_APP

#define SWITCH_STANDARD_CHAT_APP (   name)    static switch_status_t name (switch_event_t *message, const char *data)

Definition at line 2461 of file switch_types.h.

◆ SWITCH_STANDARD_DIALPLAN

#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 2469 of file switch_types.h.

◆ SWITCH_STANDARD_JSON_API

#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 2496 of file switch_types.h.

◆ SWITCH_STANDARD_SCHED_FUNC

#define SWITCH_STANDARD_SCHED_FUNC (   name)    static void name (switch_scheduler_task_t *task)

Definition at line 2478 of file switch_types.h.

◆ SWITCH_SYSTEM_THREAD_STACKSIZE

#define SWITCH_SYSTEM_THREAD_STACKSIZE   8192 * 1024

Definition at line 585 of file switch_types.h.

Referenced by main(), switch_core_setrlimits(), and switch_system_thread().

◆ SWITCH_TEMP_HOLD_MUSIC_VARIABLE

#define SWITCH_TEMP_HOLD_MUSIC_VARIABLE   "temp_hold_music"

Definition at line 194 of file switch_types.h.

Referenced by switch_channel_get_hold_music(), and switch_ivr_session_transfer().

◆ SWITCH_THREAD_STACKSIZE

#define SWITCH_THREAD_STACKSIZE   240 * 1024

◆ SWITCH_TON_UNDEF

#define SWITCH_TON_UNDEF   255

Definition at line 49 of file switch_types.h.

Referenced by switch_caller_profile_new().

◆ SWITCH_TRANSFER_AFTER_BRIDGE_VARIABLE

#define SWITCH_TRANSFER_AFTER_BRIDGE_VARIABLE   "transfer_after_bridge"

◆ SWITCH_TRANSFER_AFTER_EARLY_BRIDGE_VARIABLE

#define SWITCH_TRANSFER_AFTER_EARLY_BRIDGE_VARIABLE   "transfer_after_early_bridge"

Definition at line 223 of file switch_types.h.

Referenced by switch_ivr_multi_threaded_bridge().

◆ SWITCH_TRANSFER_HISTORY_VARIABLE

#define SWITCH_TRANSFER_HISTORY_VARIABLE   "transfer_history"

Definition at line 144 of file switch_types.h.

Referenced by switch_ivr_session_transfer(), and switch_ivr_uuid_bridge().

◆ SWITCH_TRANSFER_SOURCE_VARIABLE

#define SWITCH_TRANSFER_SOURCE_VARIABLE   "transfer_source"

Definition at line 145 of file switch_types.h.

Referenced by switch_ivr_session_transfer(), and switch_ivr_uuid_bridge().

◆ SWITCH_URL_SEPARATOR

#define SWITCH_URL_SEPARATOR   "://"

◆ SWITCH_UUID_BRIDGE

#define SWITCH_UUID_BRIDGE   "uuid_bridge"

Definition at line 234 of file switch_types.h.

Referenced by switch_ivr_uuid_bridge(), and uuid_bridge_on_soft_execute().

◆ TEXT_UNICODE_LINEFEED

#define TEXT_UNICODE_LINEFEED   {0xe2, 0x80, 0xa8}

Definition at line 244 of file switch_types.h.

Referenced by switch_core_session_printf(), and text_helper_thread().

Typedef Documentation

◆ audio_buffer_header_t

◆ hashtable_destructor_t

typedef void(* hashtable_destructor_t) (void *ptr)

Definition at line 2375 of file switch_types.h.

◆ payload_map_t

typedef struct payload_map_s payload_map_t

◆ switch_agc_t

typedef struct switch_agc_s switch_agc_t

Definition at line 2790 of file switch_types.h.

◆ switch_api_function_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 2486 of file switch_types.h.

◆ switch_api_interface_t

Definition at line 2362 of file switch_types.h.

◆ switch_app_log_t

Definition at line 2322 of file switch_types.h.

◆ switch_application_flag_t

typedef uint32_t switch_application_flag_t

Definition at line 1714 of file switch_types.h.

◆ switch_application_function_t

typedef void(* switch_application_function_t) (switch_core_session_t *, const char *)

Definition at line 2463 of file switch_types.h.

◆ switch_application_interface_t

Definition at line 2360 of file switch_types.h.

◆ switch_asr_flag_t

typedef uint32_t switch_asr_flag_t

Definition at line 1812 of file switch_types.h.

◆ switch_asr_handle_t

Definition at line 2353 of file switch_types.h.

◆ switch_asr_interface_t

Definition at line 2366 of file switch_types.h.

◆ switch_bind_flag_t

typedef uint32_t switch_bind_flag_t

Definition at line 318 of file switch_types.h.

◆ switch_buffer_t

Definition at line 2344 of file switch_types.h.

◆ switch_byte_t

typedef uint8_t switch_byte_t

Definition at line 256 of file switch_types.h.

◆ switch_caller_application_t

Definition at line 2338 of file switch_types.h.

◆ switch_caller_extension_t

Definition at line 2337 of file switch_types.h.

◆ switch_caller_profile_flag_t

typedef uint32_t switch_caller_profile_flag_t

Definition at line 611 of file switch_types.h.

◆ switch_caller_profile_t

Definition at line 2336 of file switch_types.h.

◆ switch_cap_callback_t

typedef void(* switch_cap_callback_t) (const char *var, const char *val, void *user_data)

Definition at line 2395 of file switch_types.h.

◆ switch_channel_t

Definition at line 2333 of file switch_types.h.

◆ switch_chat_application_flag_t

Definition at line 1719 of file switch_types.h.

◆ switch_chat_application_function_t

typedef switch_status_t(* switch_chat_application_function_t) (switch_event_t *, const char *)

Definition at line 2460 of file switch_types.h.

◆ switch_chat_application_interface_t

Definition at line 2361 of file switch_types.h.

◆ switch_chat_interface_t

Definition at line 2368 of file switch_types.h.

◆ switch_chromakey_t

Definition at line 2793 of file switch_types.h.

◆ switch_codec_flag_t

typedef uint32_t switch_codec_flag_t

Definition at line 1766 of file switch_types.h.

◆ switch_codec_fmtp_t

Definition at line 2346 of file switch_types.h.

◆ switch_codec_implementation_t

Definition at line 2343 of file switch_types.h.

◆ switch_codec_interface_t

Definition at line 2359 of file switch_types.h.

◆ switch_codec_settings_t

Definition at line 2345 of file switch_types.h.

◆ switch_codec_t

typedef struct switch_codec switch_codec_t

Definition at line 2341 of file switch_types.h.

◆ switch_console_callback_match_node_t

Definition at line 2381 of file switch_types.h.

◆ switch_console_callback_match_t

Definition at line 2389 of file switch_types.h.

◆ switch_console_complete_callback_t

typedef switch_status_t(* switch_console_complete_callback_t) (const char *, const char *, switch_console_callback_match_t **matches)

Definition at line 2396 of file switch_types.h.

◆ switch_core_codec_control_func_t

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 2445 of file switch_types.h.

◆ switch_core_codec_decode_func_t

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 2412 of file switch_types.h.

◆ switch_core_codec_destroy_func_t

typedef switch_status_t(* switch_core_codec_destroy_func_t) (switch_codec_t *)

Definition at line 2457 of file switch_types.h.

◆ switch_core_codec_encode_func_t

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 2404 of file switch_types.h.

◆ switch_core_codec_fmtp_parse_func_t

typedef switch_status_t(* switch_core_codec_fmtp_parse_func_t) (const char *fmtp, switch_codec_fmtp_t *codec_fmtp)

Definition at line 2456 of file switch_types.h.

◆ switch_core_codec_init_func_t

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 2455 of file switch_types.h.

◆ switch_core_codec_video_decode_func_t

typedef switch_status_t(* switch_core_codec_video_decode_func_t) (switch_codec_t *codec, switch_frame_t *frame)

Definition at line 2421 of file switch_types.h.

◆ switch_core_codec_video_encode_func_t

typedef switch_status_t(* switch_core_codec_video_encode_func_t) (switch_codec_t *codec, switch_frame_t *frame)

Definition at line 2419 of file switch_types.h.

◆ switch_core_flag_t

typedef uint32_t switch_core_flag_t

Definition at line 395 of file switch_types.h.

◆ switch_core_port_allocator_t

Definition at line 2370 of file switch_types.h.

◆ switch_core_recover_callback_t

typedef int(* switch_core_recover_callback_t) (switch_core_session_t *session)

Definition at line 2466 of file switch_types.h.

◆ switch_core_session_message_flag_t

Definition at line 1324 of file switch_types.h.

◆ switch_core_session_message_t

Definition at line 2325 of file switch_types.h.

◆ switch_core_session_t

Definition at line 1326 of file switch_types.h.

◆ switch_core_text_thread_callback_func_t

typedef switch_status_t(* switch_core_text_thread_callback_func_t) (switch_core_session_t *session, switch_frame_t *frame, void *user_data)

Definition at line 2394 of file switch_types.h.

◆ switch_core_thread_session_t

Definition at line 2342 of file switch_types.h.

◆ switch_core_time_duration_t

Definition at line 2574 of file switch_types.h.

◆ switch_core_video_thread_callback_func_t

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 2393 of file switch_types.h.

◆ switch_coredb_handle_t

Definition at line 2347 of file switch_types.h.

◆ switch_crypto_key_material_t

◆ switch_database_flag_t

typedef uint32_t switch_database_flag_t

Definition at line 427 of file switch_types.h.

◆ switch_database_interface_handle_t

Definition at line 2349 of file switch_types.h.

◆ switch_database_interface_t

Definition at line 2373 of file switch_types.h.

◆ switch_dial_handle_list_t

Definition at line 2892 of file switch_types.h.

◆ switch_dial_handle_t

Definition at line 2883 of file switch_types.h.

◆ switch_dial_leg_list_t

Definition at line 2889 of file switch_types.h.

◆ switch_dial_leg_t

Definition at line 2886 of file switch_types.h.

◆ switch_dialplan_hunt_function_t

typedef switch_caller_extension_t*(* switch_dialplan_hunt_function_t) (switch_core_session_t *, void *, switch_caller_profile_t *)

Definition at line 2468 of file switch_types.h.

◆ switch_dialplan_interface_t

Definition at line 2358 of file switch_types.h.

◆ switch_directories

Definition at line 573 of file switch_types.h.

◆ switch_directory_flag_t

typedef uint32_t switch_directory_flag_t

Definition at line 1825 of file switch_types.h.

◆ switch_directory_handle_t

Definition at line 2354 of file switch_types.h.

◆ switch_directory_interface_t

Definition at line 2367 of file switch_types.h.

◆ switch_eavesdrop_flag_t

typedef uint32_t switch_eavesdrop_flag_t

Definition at line 358 of file switch_types.h.

◆ switch_endpoint_interface_t

Definition at line 2356 of file switch_types.h.

◆ switch_engine_function_t

typedef void(* switch_engine_function_t) (switch_core_session_t *session, void *user_data)

Definition at line 2401 of file switch_types.h.

◆ switch_error_period_t

◆ switch_event_callback_t

typedef void(* switch_event_callback_t) (switch_event_t *)

Definition at line 2467 of file switch_types.h.

◆ switch_event_channel_func_t

typedef void(* switch_event_channel_func_t) (const char *event_channel, cJSON *json, const char *key, switch_event_channel_id_t id, void *user_data)

Definition at line 2654 of file switch_types.h.

◆ switch_event_channel_id_t

typedef uint32_t switch_event_channel_id_t

Definition at line 2653 of file switch_types.h.

◆ switch_event_header_t

Definition at line 2326 of file switch_types.h.

◆ switch_event_node_t

Definition at line 2329 of file switch_types.h.

◆ switch_event_subclass_t

Definition at line 2328 of file switch_types.h.

◆ switch_event_t

typedef struct switch_event switch_event_t

Definition at line 2327 of file switch_types.h.

◆ switch_file_flag_t

typedef uint32_t switch_file_flag_t

Definition at line 1957 of file switch_types.h.

◆ switch_file_handle_t

Definition at line 2335 of file switch_types.h.

◆ switch_file_interface_t

Definition at line 2364 of file switch_types.h.

◆ switch_filenames

Definition at line 580 of file switch_types.h.

◆ switch_fps_t

typedef struct switch_fps_s switch_fps_t

◆ switch_frame_buffer_t

Definition at line 2766 of file switch_types.h.

◆ switch_frame_flag_t

typedef uint32_t switch_frame_flag_t

Definition at line 1702 of file switch_types.h.

◆ switch_frame_t

typedef struct switch_frame switch_frame_t

Definition at line 2331 of file switch_types.h.

◆ switch_hash_delete_callback_t

typedef switch_bool_t(* switch_hash_delete_callback_t) (_In_ const void *key, _In_ const void *val, _In_opt_ void *pData)

Definition at line 2471 of file switch_types.h.

◆ switch_hash_index_t

Definition at line 2584 of file switch_types.h.

◆ switch_hash_t

Definition at line 2582 of file switch_types.h.

◆ switch_img_txt_handle_t

Definition at line 2763 of file switch_types.h.

◆ switch_input_callback_function_t

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 2498 of file switch_types.h.

◆ switch_inthash_t

Definition at line 2583 of file switch_types.h.

◆ switch_io_flag_t

typedef uint32_t switch_io_flag_t

Definition at line 1966 of file switch_types.h.

◆ switch_io_routines_t

Definition at line 2351 of file switch_types.h.

◆ switch_ivr_dmachine_callback_t

typedef switch_status_t(* switch_ivr_dmachine_callback_t) (switch_ivr_dmachine_match_t *match)

Definition at line 2522 of file switch_types.h.

◆ switch_ivr_dmachine_match_t

Definition at line 2521 of file switch_types.h.

◆ switch_ivr_dmachine_t

Definition at line 2511 of file switch_types.h.

◆ switch_ivr_option_t

typedef uint32_t switch_ivr_option_t

Definition at line 1087 of file switch_types.h.

◆ switch_jb_t

typedef struct switch_jb_s switch_jb_t

Definition at line 2754 of file switch_types.h.

◆ switch_json_api_function_t

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 2493 of file switch_types.h.

◆ switch_json_api_interface_t

Definition at line 2363 of file switch_types.h.

◆ switch_limit_interface_t

Definition at line 2372 of file switch_types.h.

◆ switch_live_array_t

Definition at line 2657 of file switch_types.h.

◆ switch_loadable_module_function_table_t

◆ switch_loadable_module_interface_t

Definition at line 2355 of file switch_types.h.

◆ switch_loadable_module_t

Definition at line 2330 of file switch_types.h.

◆ switch_management_interface_t

Definition at line 2369 of file switch_types.h.

◆ switch_media_bug_callback_t

typedef switch_bool_t(* switch_media_bug_callback_t) (switch_media_bug_t *, void *, switch_abc_type_t)

Definition at line 2397 of file switch_types.h.

◆ switch_media_bug_exec_cb_t

typedef void(* switch_media_bug_exec_cb_t) (switch_media_bug_t *bug, void *user_data)

Definition at line 2391 of file switch_types.h.

◆ switch_media_bug_flag_t

typedef uint32_t switch_media_bug_flag_t

Definition at line 1913 of file switch_types.h.

◆ switch_media_bug_t

Definition at line 2371 of file switch_types.h.

◆ switch_media_flag_t

typedef uint32_t switch_media_flag_t

Definition at line 509 of file switch_types.h.

◆ switch_media_handle_t

Definition at line 2651 of file switch_types.h.

◆ switch_memory_pool_t

typedef struct fspr_pool_t switch_memory_pool_t

Definition at line 2318 of file switch_types.h.

◆ switch_mm_t

typedef struct switch_mm_s switch_mm_t

◆ switch_module_flag_t

typedef uint32_t switch_module_flag_t

Definition at line 2612 of file switch_types.h.

◆ SWITCH_MODULE_LOAD_ARGS

typedef switch_status_t switch_module_load_t SWITCH_MODULE_LOAD_ARGS

Definition at line 2594 of file switch_types.h.

◆ SWITCH_MODULE_RUNTIME_ARGS

typedef switch_status_t switch_module_runtime_t SWITCH_MODULE_RUNTIME_ARGS

Definition at line 2595 of file switch_types.h.

◆ SWITCH_MODULE_SHUTDOWN_ARGS

typedef switch_status_t switch_module_shutdown_t SWITCH_MODULE_SHUTDOWN_ARGS

Definition at line 2596 of file switch_types.h.

◆ switch_modulename_callback_func_t

typedef int(* switch_modulename_callback_func_t) (void *user_data, const char *module_name)

Definition at line 2622 of file switch_types.h.

◆ switch_network_list_t

Definition at line 2587 of file switch_types.h.

◆ switch_new_say_callback_t

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 2568 of file switch_types.h.

◆ switch_odbc_handle_t

typedef struct switch_odbc_handle switch_odbc_handle_t

Definition at line 2348 of file switch_types.h.

◆ switch_originate_flag_t

typedef uint32_t switch_originate_flag_t

Definition at line 335 of file switch_types.h.

◆ switch_os_socket_t

typedef int switch_os_socket_t

Definition at line 2314 of file switch_types.h.

◆ switch_payload_t

typedef uint8_t switch_payload_t

Definition at line 2321 of file switch_types.h.

◆ switch_plc_state_t

typedef void* switch_plc_state_t

Definition at line 2319 of file switch_types.h.

◆ switch_port_flag_t

typedef uint32_t switch_port_flag_t

Definition at line 344 of file switch_types.h.

◆ switch_port_t

typedef uint16_t switch_port_t

Definition at line 2320 of file switch_types.h.

◆ switch_read_frame_callback_function_t

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 2500 of file switch_types.h.

◆ switch_rtcp_frame_t

Definition at line 2332 of file switch_types.h.

◆ switch_rtcp_hdr_t

◆ switch_rtcp_t

typedef struct switch_rtcp switch_rtcp_t

Definition at line 2324 of file switch_types.h.

◆ switch_rtp_t

typedef struct switch_rtp switch_rtp_t

Definition at line 2323 of file switch_types.h.

◆ switch_rtp_text_factory_t

Definition at line 2789 of file switch_types.h.

◆ switch_say_callback_t

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 2556 of file switch_types.h.

◆ switch_say_file_handle_t

Definition at line 2566 of file switch_types.h.

◆ switch_say_interface_t

Definition at line 2501 of file switch_types.h.

◆ switch_say_string_callback_t

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 2561 of file switch_types.h.

◆ switch_scheduler_flag_t

typedef uint32_t switch_scheduler_flag_t

Definition at line 493 of file switch_types.h.

◆ switch_scheduler_func_t

typedef void(* switch_scheduler_func_t) (switch_scheduler_task_t *task)

Definition at line 2476 of file switch_types.h.

◆ switch_scheduler_task_t

Definition at line 2474 of file switch_types.h.

◆ switch_secure_settings_t

◆ switch_slin_data_t

Definition at line 2624 of file switch_types.h.

◆ switch_speech_flag_t

typedef uint32_t switch_speech_flag_t

Definition at line 1790 of file switch_types.h.

◆ switch_speech_handle_t

Definition at line 2352 of file switch_types.h.

◆ switch_speech_interface_t

Definition at line 2365 of file switch_types.h.

◆ switch_sql_queue_manager_t

Definition at line 2334 of file switch_types.h.

◆ switch_state_handler_t

typedef switch_status_t(* switch_state_handler_t) (switch_core_session_t *)

Definition at line 2480 of file switch_types.h.

◆ switch_state_handler_table_t

Definition at line 2339 of file switch_types.h.

◆ switch_stream_handle_raw_write_function_t

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 2484 of file switch_types.h.

◆ switch_stream_handle_read_function_t

typedef uint8_t*(* switch_stream_handle_read_function_t) (switch_stream_handle_t *handle, int *len)

Definition at line 2482 of file switch_types.h.

◆ switch_stream_handle_t

Definition at line 2481 of file switch_types.h.

◆ switch_stream_handle_write_function_t

typedef switch_status_t(* switch_stream_handle_write_function_t) (switch_stream_handle_t *handle, const char *fmt,...)

Definition at line 2483 of file switch_types.h.

◆ switch_timer_flag_t

typedef uint32_t switch_timer_flag_t

Definition at line 1862 of file switch_types.h.

◆ switch_timer_interface_t

Definition at line 2357 of file switch_types.h.

◆ switch_timer_t

typedef struct switch_timer switch_timer_t

Definition at line 2340 of file switch_types.h.

◆ switch_tone_detect_callback_t

typedef switch_bool_t(* switch_tone_detect_callback_t) (switch_core_session_t *, const char *, const char *)

Definition at line 2398 of file switch_types.h.

◆ switch_unicast_flag_t

typedef uint32_t switch_unicast_flag_t

Definition at line 435 of file switch_types.h.

◆ switch_vad_flag_t

typedef uint32_t switch_vad_flag_t

Definition at line 661 of file switch_types.h.

◆ switch_vad_t

typedef struct switch_vad_s switch_vad_t

Definition at line 670 of file switch_types.h.

◆ switch_vid_params_t

◆ switch_waitlist_t

◆ switch_xml_binding_t

Definition at line 2399 of file switch_types.h.

◆ switch_xml_open_root_function_t

typedef switch_xml_t(* switch_xml_open_root_function_t) (uint8_t reload, const char **err, void *user_data)

Definition at line 2575 of file switch_types.h.

◆ switch_xml_search_function_t

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 2576 of file switch_types.h.

◆ switch_xml_section_t

typedef uint32_t switch_xml_section_t

Definition at line 643 of file switch_types.h.

◆ switch_xml_t

typedef struct switch_xml* switch_xml_t

Definition at line 2573 of file switch_types.h.

Enumeration Type Documentation

◆ dm_match_type_t

Enumerator
DM_MATCH_POSITIVE 
DM_MATCH_NEGATIVE 

Definition at line 2505 of file switch_types.h.

◆ dtmf_flag_t

Enumerator
DTMF_FLAG_SKIP_PROCESS 
DTMF_FLAG_SENSITIVE 

Definition at line 291 of file switch_types.h.

◆ switch_abc_type_t

Enumerator
SWITCH_ABC_TYPE_INIT 
SWITCH_ABC_TYPE_READ 
SWITCH_ABC_TYPE_WRITE 
SWITCH_ABC_TYPE_WRITE_REPLACE 
SWITCH_ABC_TYPE_READ_REPLACE 
SWITCH_ABC_TYPE_READ_PING 
SWITCH_ABC_TYPE_TAP_NATIVE_READ 
SWITCH_ABC_TYPE_TAP_NATIVE_WRITE 
SWITCH_ABC_TYPE_CLOSE 
SWITCH_ABC_TYPE_READ_VIDEO_PING 
SWITCH_ABC_TYPE_WRITE_VIDEO_PING 
SWITCH_ABC_TYPE_STREAM_VIDEO_PING 
SWITCH_ABC_TYPE_VIDEO_PATCH 
SWITCH_ABC_TYPE_READ_TEXT 

Definition at line 516 of file switch_types.h.

◆ switch_application_flag_enum_t

Enumerator
SAF_NONE 
SAF_SUPPORT_NOMEDIA 
SAF_ROUTING_EXEC 
SAF_MEDIA_TAP 
SAF_ZOMBIE_EXEC 
SAF_NO_LOOPBACK 
SAF_SUPPORT_TEXT_ONLY 

Definition at line 1705 of file switch_types.h.

1705  {
1706  SAF_NONE = 0,
1707  SAF_SUPPORT_NOMEDIA = (1 << 0),
1708  SAF_ROUTING_EXEC = (1 << 1),
1709  SAF_MEDIA_TAP = (1 << 2),
1710  SAF_ZOMBIE_EXEC = (1 << 3),
1711  SAF_NO_LOOPBACK = (1 << 4),
1712  SAF_SUPPORT_TEXT_ONLY = (1 << 5)
switch_application_flag_enum_t

◆ switch_asr_flag_enum_t

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 1803 of file switch_types.h.

◆ 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 
SWITCH_AUDIO_COL_STR_ALBUM 
SWITCH_AUDIO_COL_STR_LICENSE 
SWITCH_AUDIO_COL_STR_TRACKNUMBER 
SWITCH_AUDIO_COL_STR_GENRE 
SWITCH_AUDIO_COL_STR_FILE_SIZE 
SWITCH_AUDIO_COL_STR_FILE_TRIMMED 
SWITCH_AUDIO_COL_STR_FILE_TRIMMED_MS 

Definition at line 613 of file switch_types.h.

613  {
614  // flags matching libsndfile
625 
626  // custom flags
switch_audio_col_t
Definition: switch_types.h:613

◆ switch_bind_flag_enum_t

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 308 of file switch_types.h.

308  {
309  SBF_DIAL_ALEG = (1 << 0),
310  SBF_EXEC_ALEG = (1 << 1),
311  SBF_DIAL_BLEG = (1 << 2),
312  SBF_EXEC_BLEG = (1 << 3),
313  SBF_EXEC_OPPOSITE = (1 << 4),
314  SBF_EXEC_SAME = (1 << 5),
315  SBF_ONCE = (1 << 6),
316  SBF_EXEC_INLINE = (1 << 7)
switch_bind_flag_enum_t
Definition: switch_types.h:308

◆ switch_bitpack_mode_t

Enumerator
SWITCH_BITPACK_MODE_RFC3551 
SWITCH_BITPACK_MODE_AAL2 

Definition at line 511 of file switch_types.h.

◆ switch_bool_t

Enumerator
SWITCH_FALSE 
SWITCH_TRUE 

Definition at line 437 of file switch_types.h.

437  {
438  SWITCH_FALSE = 0,
439  SWITCH_TRUE = 1
440 } switch_bool_t;
switch_bool_t
Definition: switch_types.h:437

◆ switch_call_cause_t

Enumerator
SWITCH_CAUSE_NONE 
SWITCH_CAUSE_UNALLOCATED_NUMBER 
SWITCH_CAUSE_NO_ROUTE_TRANSIT_NET 
SWITCH_CAUSE_NO_ROUTE_DESTINATION 
SWITCH_CAUSE_CHANNEL_UNACCEPTABLE 
SWITCH_CAUSE_CALL_AWARDED_DELIVERED 
SWITCH_CAUSE_NORMAL_CLEARING 
SWITCH_CAUSE_USER_BUSY 
SWITCH_CAUSE_NO_USER_RESPONSE 
SWITCH_CAUSE_NO_ANSWER 
SWITCH_CAUSE_SUBSCRIBER_ABSENT 
SWITCH_CAUSE_CALL_REJECTED 
SWITCH_CAUSE_NUMBER_CHANGED 
SWITCH_CAUSE_REDIRECTION_TO_NEW_DESTINATION 
SWITCH_CAUSE_EXCHANGE_ROUTING_ERROR 
SWITCH_CAUSE_DESTINATION_OUT_OF_ORDER 
SWITCH_CAUSE_INVALID_NUMBER_FORMAT 
SWITCH_CAUSE_FACILITY_REJECTED 
SWITCH_CAUSE_RESPONSE_TO_STATUS_ENQUIRY 
SWITCH_CAUSE_NORMAL_UNSPECIFIED 
SWITCH_CAUSE_NORMAL_CIRCUIT_CONGESTION 
SWITCH_CAUSE_NETWORK_OUT_OF_ORDER 
SWITCH_CAUSE_NORMAL_TEMPORARY_FAILURE 
SWITCH_CAUSE_SWITCH_CONGESTION 
SWITCH_CAUSE_ACCESS_INFO_DISCARDED 
SWITCH_CAUSE_REQUESTED_CHAN_UNAVAIL 
SWITCH_CAUSE_PRE_EMPTED 
SWITCH_CAUSE_FACILITY_NOT_SUBSCRIBED 
SWITCH_CAUSE_OUTGOING_CALL_BARRED 
SWITCH_CAUSE_INCOMING_CALL_BARRED 
SWITCH_CAUSE_BEARERCAPABILITY_NOTAUTH 
SWITCH_CAUSE_BEARERCAPABILITY_NOTAVAIL 
SWITCH_CAUSE_SERVICE_UNAVAILABLE 
SWITCH_CAUSE_BEARERCAPABILITY_NOTIMPL 
SWITCH_CAUSE_CHAN_NOT_IMPLEMENTED 
SWITCH_CAUSE_FACILITY_NOT_IMPLEMENTED 
SWITCH_CAUSE_SERVICE_NOT_IMPLEMENTED 
SWITCH_CAUSE_INVALID_CALL_REFERENCE 
SWITCH_CAUSE_INCOMPATIBLE_DESTINATION 
SWITCH_CAUSE_INVALID_MSG_UNSPECIFIED 
SWITCH_CAUSE_MANDATORY_IE_MISSING 
SWITCH_CAUSE_MESSAGE_TYPE_NONEXIST 
SWITCH_CAUSE_WRONG_MESSAGE 
SWITCH_CAUSE_IE_NONEXIST 
SWITCH_CAUSE_INVALID_IE_CONTENTS 
SWITCH_CAUSE_WRONG_CALL_STATE 
SWITCH_CAUSE_RECOVERY_ON_TIMER_EXPIRE 
SWITCH_CAUSE_MANDATORY_IE_LENGTH_ERROR 
SWITCH_CAUSE_PROTOCOL_ERROR 
SWITCH_CAUSE_INTERWORKING 
SWITCH_CAUSE_SUCCESS 
SWITCH_CAUSE_ORIGINATOR_CANCEL 
SWITCH_CAUSE_CRASH 
SWITCH_CAUSE_SYSTEM_SHUTDOWN 
SWITCH_CAUSE_LOSE_RACE 
SWITCH_CAUSE_MANAGER_REQUEST 
SWITCH_CAUSE_BLIND_TRANSFER 
SWITCH_CAUSE_ATTENDED_TRANSFER 
SWITCH_CAUSE_ALLOTTED_TIMEOUT 
SWITCH_CAUSE_USER_CHALLENGE 
SWITCH_CAUSE_MEDIA_TIMEOUT 
SWITCH_CAUSE_PICKED_OFF 
SWITCH_CAUSE_USER_NOT_REGISTERED 
SWITCH_CAUSE_PROGRESS_TIMEOUT 
SWITCH_CAUSE_INVALID_GATEWAY 
SWITCH_CAUSE_GATEWAY_DOWN 
SWITCH_CAUSE_INVALID_URL 
SWITCH_CAUSE_INVALID_PROFILE 
SWITCH_CAUSE_NO_PICKUP 
SWITCH_CAUSE_SRTP_READ_ERROR 
SWITCH_CAUSE_BOWOUT 
SWITCH_CAUSE_BUSY_EVERYWHERE 
SWITCH_CAUSE_DECLINE 
SWITCH_CAUSE_DOES_NOT_EXIST_ANYWHERE 
SWITCH_CAUSE_NOT_ACCEPTABLE 
SWITCH_CAUSE_UNWANTED 
SWITCH_CAUSE_NO_IDENTITY 
SWITCH_CAUSE_BAD_IDENTITY_INFO 
SWITCH_CAUSE_UNSUPPORTED_CERTIFICATE 
SWITCH_CAUSE_INVALID_IDENTITY 
SWITCH_CAUSE_STALE_DATE 
SWITCH_CAUSE_REJECT_ALL 

Definition at line 2172 of file switch_types.h.

2172  {
2173  SWITCH_CAUSE_NONE = 0,
2223  SWITCH_CAUSE_SUCCESS = 142,
2225  SWITCH_CAUSE_CRASH = 700,
2227  SWITCH_CAUSE_LOSE_RACE = 702,
2241  SWITCH_CAUSE_NO_PICKUP = 812,
2243  SWITCH_CAUSE_BOWOUT = 814,
2245  SWITCH_CAUSE_DECLINE = 816,
2248  SWITCH_CAUSE_UNWANTED = 819,
switch_call_cause_t

◆ switch_call_direction_t

Enumerator
SWITCH_CALL_DIRECTION_INBOUND 
SWITCH_CALL_DIRECTION_OUTBOUND 

Definition at line 303 of file switch_types.h.

◆ switch_caller_profile_flag_enum_t

Enumerator
SWITCH_CPF_NONE 
SWITCH_CPF_SCREEN 
SWITCH_CPF_HIDE_NAME 
SWITCH_CPF_HIDE_NUMBER 
SWITCH_CPF_SOFT_PREFIX 
SWITCH_CPF_SOFT_LOOKUP 

Definition at line 603 of file switch_types.h.

◆ switch_channel_app_flag_t

Enumerator
CF_APP_TAGGED 
CF_APP_T38 
CF_APP_T38_REQ 
CF_APP_T38_FAIL 
CF_APP_T38_NEGOTIATED 
CF_APP_T38_POSSIBLE 

Definition at line 1654 of file switch_types.h.

1654  {
1655  CF_APP_TAGGED = (1 << 0),
1656  CF_APP_T38 = (1 << 1),
1657  CF_APP_T38_REQ = (1 << 2),
1658  CF_APP_T38_FAIL = (1 << 3),
1659  CF_APP_T38_NEGOTIATED = (1 << 4),
1660  CF_APP_T38_POSSIBLE = (1 << 5)
switch_channel_app_flag_t

◆ switch_channel_callstate_t

Enumerator
CCS_DOWN 
CCS_DIALING 
CCS_RINGING 
CCS_EARLY 
CCS_ACTIVE 
CCS_HELD 
CCS_RING_WAIT 
CCS_HANGUP 
CCS_UNHELD 

Definition at line 1338 of file switch_types.h.

◆ switch_channel_cap_t

Enumerator
CC_MEDIA_ACK 
CC_BYPASS_MEDIA 
CC_PROXY_MEDIA 
CC_JITTERBUFFER 
CC_FS_RTP 
CC_QUEUEABLE_DTMF_DELAY 
CC_IO_OVERRIDE 
CC_RTP_RTT 
CC_MSRP 
CC_MUTE_VIA_MEDIA_STREAM 
CC_FLAG_MAX 

Definition at line 1446 of file switch_types.h.

◆ switch_channel_flag_t

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_HOLD_BLEG        - B leg is on hold
CF_SERVICE                      - Channel has a service thread
CF_TAGGED                       - Channel is tagged
CF_WINNER                       - Channel is the winner
CF_REUSE_CALLER_PROFILE - Channel reuse caller profile 
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
 
Enumerator
CF_ANSWERED 
CF_OUTBOUND 
CF_EARLY_MEDIA 
CF_BRIDGE_ORIGINATOR 
CF_UUID_BRIDGE_ORIGINATOR 
CF_TRANSFER 
CF_ACCEPT_CNG 
CF_REDIRECT 
CF_BRIDGED 
CF_HOLD 
CF_HOLD_BLEG 
CF_SERVICE 
CF_TAGGED 
CF_WINNER 
CF_REUSE_CALLER_PROFILE 
CF_CONTROLLED 
CF_PROXY_MODE 
CF_PROXY_OFF 
CF_SUSPEND 
CF_EVENT_PARSE 
CF_GEN_RINGBACK 
CF_RING_READY 
CF_BREAK 
CF_BROADCAST 
CF_UNICAST 
CF_VIDEO 
CF_EVENT_LOCK 
CF_EVENT_LOCK_PRI 
CF_RESET 
CF_ORIGINATING 
CF_STOP_BROADCAST 
CF_PROXY_MEDIA 
CF_INNER_BRIDGE 
CF_REQ_MEDIA 
CF_VERBOSE_EVENTS 
CF_PAUSE_BUGS 
CF_DIVERT_EVENTS 
CF_BLOCK_STATE 
CF_FS_RTP 
CF_REPORTING 
CF_PARK 
CF_TIMESTAMP_SET 
CF_ORIGINATOR 
CF_XFER_ZOMBIE 
CF_MEDIA_ACK 
CF_THREAD_SLEEPING 
CF_DISABLE_RINGBACK 
CF_NOT_READY 
CF_SIGNAL_BRIDGE_TTL 
CF_MEDIA_BRIDGE_TTL 
CF_BYPASS_MEDIA_AFTER_BRIDGE 
CF_LEG_HOLDING 
CF_BROADCAST_DROP_MEDIA 
CF_EARLY_HANGUP 
CF_MEDIA_SET 
CF_CONSUME_ON_ORIGINATE 
CF_PASSTHRU_PTIME_MISMATCH 
CF_BRIDGE_NOWRITE 
CF_RECOVERED 
CF_JITTERBUFFER 
CF_JITTERBUFFER_PLC 
CF_DIALPLAN 
CF_BLEG 
CF_BLOCK_BROADCAST_UNTIL_MEDIA 
CF_CNG_PLC 
CF_ATTENDED_TRANSFER 
CF_LAZY_ATTENDED_TRANSFER 
CF_SIGNAL_DATA 
CF_SIMPLIFY 
CF_ZOMBIE_EXEC 
CF_INTERCEPT 
CF_INTERCEPTED 
CF_VIDEO_REFRESH_REQ 
CF_MANUAL_VID_REFRESH 
CF_MANUAL_MEDIA_PARAMS 
CF_SERVICE_AUDIO 
CF_SERVICE_VIDEO 
CF_CHANNEL_SWAP 
CF_DEVICE_LEG 
CF_FINAL_DEVICE_LEG 
CF_PICKUP 
CF_CONFIRM_BLIND_TRANSFER 
CF_NO_PRESENCE 
CF_CONFERENCE 
CF_CONFERENCE_ADV 
CF_RECOVERING 
CF_RECOVERING_BRIDGE 
CF_TRACKED 
CF_TRACKABLE 
CF_NO_CDR 
CF_EARLY_OK 
CF_MEDIA_TRANS 
CF_HOLD_ON_BRIDGE 
CF_SECURE 
CF_LIBERAL_DTMF 
CF_SLA_BARGE 
CF_SLA_BARGING 
CF_PROTO_HOLD 
CF_HOLD_LOCK 
CF_VIDEO_POSSIBLE 
CF_NOTIMER_DURING_BRIDGE 
CF_PASS_RFC2833 
CF_T38_PASSTHRU 
CF_DROP_DTMF 
CF_REINVITE 
CF_NOSDP_REINVITE 
CF_AUTOFLUSH_DURING_BRIDGE 
CF_RTP_NOTIMER_DURING_BRIDGE 
CF_AVPF 
CF_AVPF_MOZ 
CF_ICE 
CF_DTLS 
CF_VERBOSE_SDP 
CF_DTLS_OK 
CF_3PCC 
CF_VIDEO_PASSIVE 
CF_NOVIDEO 
CF_VIDEO_BITRATE_UNMANAGABLE 
CF_VIDEO_ECHO 
CF_VIDEO_BLANK 
CF_VIDEO_WRITING 
CF_SLA_INTERCEPT 
CF_VIDEO_BREAK 
CF_AUDIO_PAUSE_READ 
CF_AUDIO_PAUSE_WRITE 
CF_VIDEO_PAUSE_READ 
CF_VIDEO_PAUSE_WRITE 
CF_BYPASS_MEDIA_AFTER_HOLD 
CF_HANGUP_HELD 
CF_CONFERENCE_RESET_MEDIA 
CF_VIDEO_DECODED_READ 
CF_VIDEO_DEBUG_READ 
CF_VIDEO_DEBUG_WRITE 
CF_NO_RECOVER 
CF_VIDEO_READY 
CF_VIDEO_MIRROR_INPUT 
CF_VIDEO_READ_FILE_ATTACHED 
CF_VIDEO_WRITE_FILE_ATTACHED 
CF_3P_MEDIA_REQUESTED 
CF_3P_NOMEDIA_REQUESTED 
CF_3P_NOMEDIA_REQUESTED_BLEG 
CF_IMAGE_SDP 
CF_VIDEO_SDP_RECVD 
CF_TEXT_SDP_RECVD 
CF_HAS_TEXT 
CF_TEXT_POSSIBLE 
CF_TEXT_PASSIVE 
CF_TEXT_ECHO 
CF_TEXT_ACTIVE 
CF_TEXT_IDLE 
CF_TEXT_LINE_BASED 
CF_QUEUE_TEXT_EVENTS 
CF_FIRE_TEXT_EVENTS 
CF_MSRP 
CF_MSRPS 
CF_WANT_MSRP 
CF_WANT_MSRPS 
CF_RTT 
CF_WANT_RTT 
CF_AUDIO 
CF_AWAITING_STREAM_CHANGE 
CF_PROCESSING_STREAM_CHANGE 
CF_STREAM_CHANGED 
CF_ARRANGED_BRIDGE 
CF_STATE_REPEAT 
CF_WANT_DTLSv1_2 
CF_RFC7329_COMPAT 
CF_REATTACHED 
CF_VIDEO_READ_TAPPED 
CF_VIDEO_WRITE_TAPPED 
CF_DEVICES_CHANGED 
CF_AUDIO_VIDEO_BUNDLE 
CF_FLAG_MAX 

Definition at line 1461 of file switch_types.h.

1461  {
1462  CF_ANSWERED = 1,
1463  CF_OUTBOUND,
1467  CF_TRANSFER,
1468  CF_ACCEPT_CNG,
1469  CF_REDIRECT,
1470  CF_BRIDGED,
1471  CF_HOLD,
1472  CF_HOLD_BLEG,
1473  CF_SERVICE,
1474  CF_TAGGED,
1475  CF_WINNER,
1477  CF_CONTROLLED,
1478  CF_PROXY_MODE,
1479  CF_PROXY_OFF,
1480  CF_SUSPEND,
1483  CF_RING_READY,
1484  CF_BREAK,
1485  CF_BROADCAST,
1486  CF_UNICAST,
1487  CF_VIDEO,
1488  CF_EVENT_LOCK,
1490  CF_RESET,
1495  CF_REQ_MEDIA,
1497  CF_PAUSE_BUGS,
1500  CF_FS_RTP,
1501  CF_REPORTING,
1502  CF_PARK,
1504  CF_ORIGINATOR,
1506  CF_MEDIA_ACK,
1509  CF_NOT_READY,
1516  CF_MEDIA_SET,
1520  CF_RECOVERED,
1523  CF_DIALPLAN,
1524  CF_BLEG,
1526  CF_CNG_PLC,
1530  CF_SIMPLIFY,
1532  CF_INTERCEPT,
1540  CF_DEVICE_LEG,
1542  CF_PICKUP,
1545  CF_CONFERENCE,
1547  CF_RECOVERING,
1549  CF_TRACKED,
1550  CF_TRACKABLE,
1551  CF_NO_CDR,
1552  CF_EARLY_OK,
1555  CF_SECURE,
1557  CF_SLA_BARGE,
1559  CF_PROTO_HOLD, //TFLAG_SIP_HOLD
1560  CF_HOLD_LOCK,
1561  CF_VIDEO_POSSIBLE,//TFLAG_VIDEO
1565  CF_DROP_DTMF,
1566  CF_REINVITE,
1570  CF_AVPF,
1571  CF_AVPF_MOZ,
1572  CF_ICE,
1573  CF_DTLS,
1575  CF_DTLS_OK,
1576  CF_3PCC,
1578  CF_NOVIDEO,
1580  CF_VIDEO_ECHO,
1595  CF_NO_RECOVER,
1603  CF_IMAGE_SDP,
1606  CF_HAS_TEXT,
1609  CF_TEXT_ECHO,
1611  CF_TEXT_IDLE,
1615  CF_MSRP,
1616  CF_MSRPS,
1617  CF_WANT_MSRP,
1618  CF_WANT_MSRPS,
1619  CF_RTT,
1620  CF_WANT_RTT,
1621  CF_AUDIO,
1629  CF_REATTACHED,
1634  /* WARNING: DO NOT ADD ANY FLAGS BELOW THIS LINE */
1635  /* IF YOU ADD NEW ONES CHECK IF THEY SHOULD PERSIST OR ZERO THEM IN switch_core_session.c switch_core_session_request_xml() */
1636  CF_FLAG_MAX
switch_channel_flag_t
Channel Flags.

◆ switch_channel_state_t

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 1380 of file switch_types.h.

1380  {
1381  CS_NEW,
1382  CS_INIT,
1383  CS_ROUTING,
1385  CS_EXECUTE,
1387  CS_PARK,
1389  CS_HIBERNATE,
1390  CS_RESET,
1391  CS_HANGUP,
1392  CS_REPORTING,
1393  CS_DESTROY,
1394  CS_NONE
switch_channel_state_t
Channel States (these are the defaults, CS_SOFT_EXECUTE, CS_EXCHANGE_MEDIA, and CS_CONSUME_MEDIA are ...

◆ switch_chat_application_flag_enum_t

Enumerator
SCAF_NONE 

Definition at line 1716 of file switch_types.h.

1716  {
1717  SCAF_NONE = 0
switch_chat_application_flag_enum_t

◆ switch_codec_control_command_t

Enumerator
SCC_VIDEO_GEN_KEYFRAME 
SCC_VIDEO_BANDWIDTH 
SCC_VIDEO_RESET 
SCC_AUDIO_PACKET_LOSS 
SCC_AUDIO_ADJUST_BITRATE 
SCC_AUDIO_VAD 
SCC_DEBUG 
SCC_CODEC_SPECIFIC 

Definition at line 2423 of file switch_types.h.

◆ switch_codec_control_type_t

Enumerator
SCCT_NONE 
SCCT_STRING 
SCCT_INT 

Definition at line 2434 of file switch_types.h.

2434  {
2435  SCCT_NONE = 0,
2436  SCCT_STRING,
2437  SCCT_INT,
switch_codec_control_type_t

◆ switch_codec_flag_enum_t

Enumerator
SWITCH_CODEC_FLAG_ENCODE 
SWITCH_CODEC_FLAG_DECODE 
SWITCH_CODEC_FLAG_SILENCE_START 
SWITCH_CODEC_FLAG_SILENCE_STOP 
SWITCH_CODEC_FLAG_SILENCE 
SWITCH_CODEC_FLAG_FREE_POOL 
SWITCH_CODEC_FLAG_AAL2 
SWITCH_CODEC_FLAG_PASSTHROUGH 
SWITCH_CODEC_FLAG_READY 
SWITCH_CODEC_FLAG_HAS_ADJ_BITRATE 
SWITCH_CODEC_FLAG_HAS_PLC 
SWITCH_CODEC_FLAG_VIDEO_PATCHING 

Definition at line 1752 of file switch_types.h.

◆ 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 1837 of file switch_types.h.

◆ switch_core_flag_enum_t

Enumerator
SCF_NONE 
SCF_USE_SQL 
SCF_NO_NEW_OUTBOUND_SESSIONS 
SCF_NO_NEW_INBOUND_SESSIONS 
SCF_NO_NEW_SESSIONS 
SCF_SHUTTING_DOWN 
SCF_VG 
SCF_RESTART 
SCF_SHUTDOWN_REQUESTED 
SCF_USE_AUTO_NAT 
SCF_EARLY_HANGUP 
SCF_CALIBRATE_CLOCK 
SCF_USE_HEAVY_TIMING 
SCF_USE_CLOCK_RT 
SCF_VERBOSE_EVENTS 
SCF_USE_WIN32_MONOTONIC 
SCF_AUTO_SCHEMAS 
SCF_MINIMAL 
SCF_USE_NAT_MAPPING 
SCF_CLEAR_SQL 
SCF_THREADED_SYSTEM_EXEC 
SCF_SYNC_CLOCK_REQUESTED 
SCF_CORE_NON_SQLITE_DB_REQ 
SCF_DEBUG_SQL 
SCF_API_EXPANSION 
SCF_SESSION_THREAD_POOL 
SCF_DIALPLAN_TIMESTAMPS 
SCF_CPF_SOFT_PREFIX 
SCF_CPF_SOFT_LOOKUP 
SCF_EVENT_CHANNEL_ENABLE_HIERARCHY_DELIVERY 
SCF_EVENT_CHANNEL_HIERARCHY_DELIVERY_ONCE 
SCF_EVENT_CHANNEL_LOG_UNDELIVERABLE_JSON 
SCF_LOG_DISABLE 

Definition at line 360 of file switch_types.h.

360  {
361  SCF_NONE = 0,
362  SCF_USE_SQL = (1 << 0),
363  SCF_NO_NEW_OUTBOUND_SESSIONS = (1 << 1),
364  SCF_NO_NEW_INBOUND_SESSIONS = (1 << 2),
366  SCF_SHUTTING_DOWN = (1 << 3),
367  SCF_VG = (1 << 4),
368  SCF_RESTART = (1 << 5),
369  SCF_SHUTDOWN_REQUESTED = (1 << 6),
370  SCF_USE_AUTO_NAT = (1 << 7),
371  SCF_EARLY_HANGUP = (1 << 8),
372  SCF_CALIBRATE_CLOCK = (1 << 9),
373  SCF_USE_HEAVY_TIMING = (1 << 10),
374  SCF_USE_CLOCK_RT = (1 << 11),
375  SCF_VERBOSE_EVENTS = (1 << 12),
376  SCF_USE_WIN32_MONOTONIC = (1 << 13),
377  SCF_AUTO_SCHEMAS = (1 << 14),
378  SCF_MINIMAL = (1 << 15),
379  SCF_USE_NAT_MAPPING = (1 << 16),
380  SCF_CLEAR_SQL = (1 << 17),
381  SCF_THREADED_SYSTEM_EXEC = (1 << 18),
382  SCF_SYNC_CLOCK_REQUESTED = (1 << 19),
383  SCF_CORE_NON_SQLITE_DB_REQ = (1 << 20),
384  SCF_DEBUG_SQL = (1 << 21),
385  SCF_API_EXPANSION = (1 << 22),
386  SCF_SESSION_THREAD_POOL = (1 << 23),
387  SCF_DIALPLAN_TIMESTAMPS = (1 << 24),
388  SCF_CPF_SOFT_PREFIX = (1 << 25),
389  SCF_CPF_SOFT_LOOKUP = (1 << 26),
393  SCF_LOG_DISABLE = (1 << 30)
switch_core_flag_enum_t
Definition: switch_types.h:360

◆ switch_core_media_ice_type_t

Enumerator
ICE_GOOGLE_JINGLE 
ICE_VANILLA 
ICE_CONTROLLED 
ICE_LITE 

Definition at line 2729 of file switch_types.h.

2729  {
2730  ICE_GOOGLE_JINGLE = (1 << 0),
2731  ICE_VANILLA = (1 << 1),
2732  ICE_CONTROLLED = (1 << 2),
2733  ICE_LITE = (1 << 3)
switch_core_media_ice_type_t

◆ switch_core_session_message_flag_enum_t

Enumerator
SCSMF_DYNAMIC 
SCSMF_FREE_STRING_REPLY 
SCSMF_FREE_POINTER_REPLY 

Definition at line 1319 of file switch_types.h.

◆ switch_core_session_message_types_t

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
Enumerator
SWITCH_MESSAGE_REDIRECT_AUDIO 
SWITCH_MESSAGE_TRANSMIT_TEXT 
SWITCH_MESSAGE_INDICATE_ANSWER 
SWITCH_MESSAGE_INDICATE_ACKNOWLEDGE_CALL 
SWITCH_MESSAGE_INDICATE_PROGRESS 
SWITCH_MESSAGE_INDICATE_BRIDGE 
SWITCH_MESSAGE_INDICATE_UNBRIDGE 
SWITCH_MESSAGE_INDICATE_TRANSFER 
SWITCH_MESSAGE_INDICATE_RINGING 
SWITCH_MESSAGE_INDICATE_ALERTING 
SWITCH_MESSAGE_INDICATE_MEDIA 
SWITCH_MESSAGE_INDICATE_3P_MEDIA 
SWITCH_MESSAGE_INDICATE_NOMEDIA 
SWITCH_MESSAGE_INDICATE_3P_NOMEDIA 
SWITCH_MESSAGE_INDICATE_HOLD 
SWITCH_MESSAGE_INDICATE_UNHOLD 
SWITCH_MESSAGE_INDICATE_REDIRECT 
SWITCH_MESSAGE_INDICATE_RESPOND 
SWITCH_MESSAGE_INDICATE_BROADCAST 
SWITCH_MESSAGE_INDICATE_MEDIA_REDIRECT 
SWITCH_MESSAGE_INDICATE_DEFLECT 
SWITCH_MESSAGE_INDICATE_VIDEO_REFRESH_REQ 
SWITCH_MESSAGE_INDICATE_DISPLAY 
SWITCH_MESSAGE_INDICATE_MEDIA_PARAMS 
SWITCH_MESSAGE_INDICATE_TRANSCODING_NECESSARY 
SWITCH_MESSAGE_INDICATE_AUDIO_SYNC 
SWITCH_MESSAGE_INDICATE_VIDEO_SYNC 
SWITCH_MESSAGE_INDICATE_REQUEST_IMAGE_MEDIA 
SWITCH_MESSAGE_INDICATE_UUID_CHANGE 
SWITCH_MESSAGE_INDICATE_SIMPLIFY 
SWITCH_MESSAGE_INDICATE_DEBUG_MEDIA 
SWITCH_MESSAGE_INDICATE_PROXY_MEDIA 
SWITCH_MESSAGE_INDICATE_APPLICATION_EXEC 
SWITCH_MESSAGE_INDICATE_APPLICATION_EXEC_COMPLETE 
SWITCH_MESSAGE_INDICATE_PHONE_EVENT 
SWITCH_MESSAGE_INDICATE_T38_DESCRIPTION 
SWITCH_MESSAGE_INDICATE_UDPTL_MODE 
SWITCH_MESSAGE_INDICATE_CLEAR_PROGRESS 
SWITCH_MESSAGE_INDICATE_JITTER_BUFFER 
SWITCH_MESSAGE_INDICATE_RECOVERY_REFRESH 
SWITCH_MESSAGE_INDICATE_SIGNAL_DATA 
SWITCH_MESSAGE_INDICATE_MESSAGE 
SWITCH_MESSAGE_INDICATE_INFO 
SWITCH_MESSAGE_INDICATE_AUDIO_DATA 
SWITCH_MESSAGE_INDICATE_BLIND_TRANSFER_RESPONSE 
SWITCH_MESSAGE_INDICATE_STUN_ERROR 
SWITCH_MESSAGE_INDICATE_MEDIA_RENEG 
SWITCH_MESSAGE_INDICATE_KEEPALIVE 
SWITCH_MESSAGE_INDICATE_HARD_MUTE 
SWITCH_MESSAGE_INDICATE_BITRATE_REQ 
SWITCH_MESSAGE_INDICATE_BITRATE_ACK 
SWITCH_MESSAGE_INDICATE_CODEC_DEBUG_REQ 
SWITCH_MESSAGE_INDICATE_CODEC_SPECIFIC_REQ 
SWITCH_MESSAGE_REFER_EVENT 
SWITCH_MESSAGE_ANSWER_EVENT 
SWITCH_MESSAGE_PROGRESS_EVENT 
SWITCH_MESSAGE_RING_EVENT 
SWITCH_MESSAGE_RESAMPLE_EVENT 
SWITCH_MESSAGE_HEARTBEAT_EVENT 
SWITCH_MESSAGE_INDICATE_SESSION_ID 
SWITCH_MESSAGE_INDICATE_PROMPT 
SWITCH_MESSAGE_INVALID 

Definition at line 1112 of file switch_types.h.

1112  {
switch_core_session_message_types_t
Possible types of messages for inter-session communication.

◆ switch_database_flag_enum_t

Enumerator
SWITCH_DATABASE_FLAG_ROW_SIZE_LIMIT 

Definition at line 424 of file switch_types.h.

◆ switch_device_state_t

Enumerator
SDS_DOWN 
SDS_RINGING 
SDS_ACTIVE 
SDS_ACTIVE_MULTI 
SDS_HELD 
SDS_UNHELD 
SDS_HANGUP 

Definition at line 1350 of file switch_types.h.

◆ switch_digit_action_target_t

Enumerator
DIGIT_TARGET_SELF 
DIGIT_TARGET_PEER 
DIGIT_TARGET_BOTH 

Definition at line 283 of file switch_types.h.

◆ switch_directory_flag_enum_t

Enumerator
SWITCH_DIRECTORY_FLAG_FREE_POOL 

Definition at line 1821 of file switch_types.h.

◆ switch_dtmf_direction_t

Enumerator
SWITCH_DTMF_RECV 
SWITCH_DTMF_SEND 

Definition at line 320 of file switch_types.h.

◆ 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 275 of file switch_types.h.

◆ switch_eavesdrop_flag_enum_t

Enumerator
ED_NONE 
ED_MUX_READ 
ED_MUX_WRITE 
ED_DTMF 
ED_COPY_DISPLAY 
ED_BRIDGE_READ 
ED_BRIDGE_WRITE 
ED_TAP_READ 
ED_TAP_WRITE 
ED_STEREO 

Definition at line 346 of file switch_types.h.

346  {
347  ED_NONE = 0,
348  ED_MUX_READ = (1 << 0),
349  ED_MUX_WRITE = (1 << 1),
350  ED_DTMF = (1 << 2),
351  ED_COPY_DISPLAY = (1 << 3),
352  ED_BRIDGE_READ = (1 << 4),
353  ED_BRIDGE_WRITE = (1 << 5),
354  ED_TAP_READ = (1 << 6),
355  ED_TAP_WRITE = (1 << 7),
356  ED_STEREO = (1 << 8)
switch_eavesdrop_flag_enum_t
Definition: switch_types.h:346

◆ 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_SEND_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_SHUTDOWN_REQUESTED             - Shutdown of the system has been requested
    SWITCH_EVENT_ALL                            - All events at once
Enumerator
SWITCH_EVENT_CUSTOM 
SWITCH_EVENT_CLONE 
SWITCH_EVENT_CHANNEL_CREATE 
SWITCH_EVENT_CHANNEL_DESTROY 
SWITCH_EVENT_CHANNEL_STATE 
SWITCH_EVENT_CHANNEL_CALLSTATE 
SWITCH_EVENT_CHANNEL_ANSWER 
SWITCH_EVENT_CHANNEL_HANGUP 
SWITCH_EVENT_CHANNEL_HANGUP_COMPLETE 
SWITCH_EVENT_CHANNEL_EXECUTE 
SWITCH_EVENT_CHANNEL_EXECUTE_COMPLETE 
SWITCH_EVENT_CHANNEL_HOLD 
SWITCH_EVENT_CHANNEL_UNHOLD 
SWITCH_EVENT_CHANNEL_BRIDGE 
SWITCH_EVENT_CHANNEL_UNBRIDGE 
SWITCH_EVENT_CHANNEL_PROGRESS 
SWITCH_EVENT_CHANNEL_PROGRESS_MEDIA 
SWITCH_EVENT_CHANNEL_OUTGOING 
SWITCH_EVENT_CHANNEL_PARK 
SWITCH_EVENT_CHANNEL_UNPARK 
SWITCH_EVENT_CHANNEL_APPLICATION 
SWITCH_EVENT_CHANNEL_ORIGINATE 
SWITCH_EVENT_CHANNEL_UUID 
SWITCH_EVENT_API 
SWITCH_EVENT_LOG 
SWITCH_EVENT_INBOUND_CHAN 
SWITCH_EVENT_OUTBOUND_CHAN 
SWITCH_EVENT_STARTUP 
SWITCH_EVENT_SHUTDOWN 
SWITCH_EVENT_PUBLISH 
SWITCH_EVENT_UNPUBLISH 
SWITCH_EVENT_TALK 
SWITCH_EVENT_NOTALK 
SWITCH_EVENT_SESSION_CRASH 
SWITCH_EVENT_MODULE_LOAD 
SWITCH_EVENT_MODULE_UNLOAD 
SWITCH_EVENT_DTMF 
SWITCH_EVENT_MESSAGE 
SWITCH_EVENT_PRESENCE_IN 
SWITCH_EVENT_NOTIFY_IN 
SWITCH_EVENT_PRESENCE_OUT 
SWITCH_EVENT_PRESENCE_PROBE 
SWITCH_EVENT_MESSAGE_WAITING 
SWITCH_EVENT_MESSAGE_QUERY 
SWITCH_EVENT_ROSTER 
SWITCH_EVENT_CODEC 
SWITCH_EVENT_BACKGROUND_JOB 
SWITCH_EVENT_DETECTED_SPEECH 
SWITCH_EVENT_DETECTED_TONE 
SWITCH_EVENT_PRIVATE_COMMAND 
SWITCH_EVENT_HEARTBEAT 
SWITCH_EVENT_TRAP 
SWITCH_EVENT_ADD_SCHEDULE 
SWITCH_EVENT_DEL_SCHEDULE 
SWITCH_EVENT_EXE_SCHEDULE 
SWITCH_EVENT_RE_SCHEDULE 
SWITCH_EVENT_RELOADXML 
SWITCH_EVENT_NOTIFY 
SWITCH_EVENT_PHONE_FEATURE 
SWITCH_EVENT_PHONE_FEATURE_SUBSCRIBE 
SWITCH_EVENT_SEND_MESSAGE 
SWITCH_EVENT_RECV_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_SEND_RTCP_MESSAGE 
SWITCH_EVENT_CALL_SECURE 
SWITCH_EVENT_NAT 
SWITCH_EVENT_RECORD_START 
SWITCH_EVENT_RECORD_STOP 
SWITCH_EVENT_PLAYBACK_START 
SWITCH_EVENT_PLAYBACK_STOP 
SWITCH_EVENT_CALL_UPDATE 
SWITCH_EVENT_FAILURE 
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_TEXT 
SWITCH_EVENT_SHUTDOWN_REQUESTED 
SWITCH_EVENT_ALL 

Definition at line 2071 of file switch_types.h.

2071  {
switch_event_types_t
Built-in Events.

◆ switch_file_command_t

Enumerator
SCFC_FLUSH_AUDIO 
SCFC_PAUSE_READ 
SCFC_PAUSE_WRITE 
SCFC_RESUME_WRITE 

Definition at line 2780 of file switch_types.h.

◆ switch_file_flag_enum_t

Enumerator
SWITCH_FILE_FLAG_READ 
SWITCH_FILE_FLAG_WRITE 
SWITCH_FILE_FLAG_FREE_POOL 
SWITCH_FILE_DATA_SHORT 
SWITCH_FILE_DATA_INT 
SWITCH_FILE_DATA_FLOAT 
SWITCH_FILE_DATA_DOUBLE 
SWITCH_FILE_DATA_RAW 
SWITCH_FILE_PAUSE 
SWITCH_FILE_NATIVE 
SWITCH_FILE_SEEK 
SWITCH_FILE_OPEN 
SWITCH_FILE_CALLBACK 
SWITCH_FILE_DONE 
SWITCH_FILE_BUFFER_DONE 
SWITCH_FILE_WRITE_APPEND 
SWITCH_FILE_WRITE_OVER 
SWITCH_FILE_NOMUX 
SWITCH_FILE_BREAK_ON_CHANGE 
SWITCH_FILE_FLAG_VIDEO 
SWITCH_FILE_FLAG_VIDEO_EOF 
SWITCH_FILE_PRE_CLOSED 

Definition at line 1933 of file switch_types.h.

1933  {
1934  SWITCH_FILE_FLAG_READ = (1 << 0),
1935  SWITCH_FILE_FLAG_WRITE = (1 << 1),
1936  SWITCH_FILE_FLAG_FREE_POOL = (1 << 2),
1937  SWITCH_FILE_DATA_SHORT = (1 << 3),
1938  SWITCH_FILE_DATA_INT = (1 << 4),
1939  SWITCH_FILE_DATA_FLOAT = (1 << 5),
1940  SWITCH_FILE_DATA_DOUBLE = (1 << 6),
1941  SWITCH_FILE_DATA_RAW = (1 << 7),
1942  SWITCH_FILE_PAUSE = (1 << 8),
1943  SWITCH_FILE_NATIVE = (1 << 9),
1944  SWITCH_FILE_SEEK = (1 << 10),
1945  SWITCH_FILE_OPEN = (1 << 11),
1946  SWITCH_FILE_CALLBACK = (1 << 12),
1947  SWITCH_FILE_DONE = (1 << 13),
1948  SWITCH_FILE_BUFFER_DONE = (1 << 14),
1949  SWITCH_FILE_WRITE_APPEND = (1 << 15),
1950  SWITCH_FILE_WRITE_OVER = (1 << 16),
1951  SWITCH_FILE_NOMUX = (1 << 17),
1952  SWITCH_FILE_BREAK_ON_CHANGE = (1 << 18),
1953  SWITCH_FILE_FLAG_VIDEO = (1 << 19),
1954  SWITCH_FILE_FLAG_VIDEO_EOF = (1 << 20),
1955  SWITCH_FILE_PRE_CLOSED = (1 << 21)
switch_file_flag_enum_t

◆ switch_frame_flag_enum_t

Enumerator
SFF_NONE 
SFF_CNG 
SFF_RAW_RTP 
SFF_RTP_HEADER 
SFF_PLC 
SFF_RFC2833 
SFF_PROXY_PACKET 
SFF_DYNAMIC 
SFF_UDPTL_PACKET 
SFF_NOT_AUDIO 
SFF_RTCP 
SFF_MARKER 
SFF_WAIT_KEY_FRAME 
SFF_RAW_RTP_PARSE_FRAME 
SFF_PICTURE_RESET 
SFF_SAME_IMAGE 
SFF_USE_VIDEO_TIMESTAMP 
SFF_ENCODED 
SFF_TEXT_LINE_BREAK 
SFF_IS_KEYFRAME 
SFF_EXTERNAL 

Definition at line 1679 of file switch_types.h.

1679  {
1680  SFF_NONE = 0,
1681  SFF_CNG = (1 << 0),
1682  SFF_RAW_RTP = (1 << 1),
1683  SFF_RTP_HEADER = (1 << 2),
1684  SFF_PLC = (1 << 3),
1685  SFF_RFC2833 = (1 << 4),
1686  SFF_PROXY_PACKET = (1 << 5),
1687  SFF_DYNAMIC = (1 << 6),
1688  SFF_UDPTL_PACKET = (1 << 7),
1689  SFF_NOT_AUDIO = (1 << 8),
1690  SFF_RTCP = (1 << 9),
1691  SFF_MARKER = (1 << 10),
1692  SFF_WAIT_KEY_FRAME = (1 << 11),
1693  SFF_RAW_RTP_PARSE_FRAME = (1 << 12),
1694  SFF_PICTURE_RESET = (1 << 13),
1695  SFF_SAME_IMAGE = (1 << 14),
1696  SFF_USE_VIDEO_TIMESTAMP = (1 << 15),
1697  SFF_ENCODED = (1 << 16),
1698  SFF_TEXT_LINE_BREAK = (1 << 17),
1699  SFF_IS_KEYFRAME = (1 << 18),
1700  SFF_EXTERNAL = (1 << 19)
switch_frame_flag_enum_t

◆ switch_input_type_t

Enumerator
SWITCH_INPUT_TYPE_DTMF 
SWITCH_INPUT_TYPE_EVENT 

Definition at line 2167 of file switch_types.h.

◆ switch_io_flag_enum_t

Enumerator
SWITCH_IO_FLAG_NONE 
SWITCH_IO_FLAG_NOBLOCK 
SWITCH_IO_FLAG_SINGLE_READ 
SWITCH_IO_FLAG_FORCE 
SWITCH_IO_FLAG_QUEUED 

Definition at line 1959 of file switch_types.h.

◆ switch_io_type_t

Enumerator
SWITCH_IO_READ 
SWITCH_IO_WRITE 

Definition at line 2440 of file switch_types.h.

◆ switch_ivr_option_enum_t

Enumerator
SWITCH_IVR_OPTION_NONE 
SWITCH_IVR_OPTION_ASYNC 
SWITCH_IVR_OPTION_FILE 

Definition at line 1082 of file switch_types.h.

◆ 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
Enumerator
SWITCH_LOG_DEBUG10 
SWITCH_LOG_DEBUG9 
SWITCH_LOG_DEBUG8 
SWITCH_LOG_DEBUG7 
SWITCH_LOG_DEBUG6 
SWITCH_LOG_DEBUG5 
SWITCH_LOG_DEBUG4 
SWITCH_LOG_DEBUG3 
SWITCH_LOG_DEBUG2 
SWITCH_LOG_DEBUG1 
SWITCH_LOG_DEBUG 
SWITCH_LOG_INFO 
SWITCH_LOG_NOTICE 
SWITCH_LOG_WARNING 
SWITCH_LOG_ERROR 
SWITCH_LOG_CRIT 
SWITCH_LOG_ALERT 
SWITCH_LOG_CONSOLE 
SWITCH_LOG_DISABLE 
SWITCH_LOG_INVALID 
SWITCH_LOG_UNINIT 

Definition at line 1278 of file switch_types.h.

1278  {
1279  SWITCH_LOG_DEBUG10 = 110,
1280  SWITCH_LOG_DEBUG9 = 109,
1281  SWITCH_LOG_DEBUG8 = 108,
1282  SWITCH_LOG_DEBUG7 = 107,
1283  SWITCH_LOG_DEBUG6 = 106,
1284  SWITCH_LOG_DEBUG5 = 105,
1285  SWITCH_LOG_DEBUG4 = 104,
1286  SWITCH_LOG_DEBUG3 = 103,
1287  SWITCH_LOG_DEBUG2 = 102,
1288  SWITCH_LOG_DEBUG1 = 101,
1289  SWITCH_LOG_DEBUG = 7,
1290  SWITCH_LOG_INFO = 6,
1291  SWITCH_LOG_NOTICE = 5,
1292  SWITCH_LOG_WARNING = 4,
1293  SWITCH_LOG_ERROR = 3,
1294  SWITCH_LOG_CRIT = 2,
1295  SWITCH_LOG_ALERT = 1,
1296  SWITCH_LOG_CONSOLE = 0,
1297  SWITCH_LOG_DISABLE = -1,
1298  SWITCH_LOG_INVALID = 64,
1299  SWITCH_LOG_UNINIT = 1000
switch_log_level_t
Log Level Enumeration.

◆ switch_management_action_t

Enumerator
SMA_NONE 
SMA_GET 
SMA_SET 

Definition at line 481 of file switch_types.h.

481  {
482  SMA_NONE,
483  SMA_GET,
484  SMA_SET
switch_management_action_t
Definition: switch_types.h:481

◆ switch_media_bug_flag_enum_t

Enumerator
SMBF_BOTH 
SMBF_READ_STREAM 
SMBF_WRITE_STREAM 
SMBF_WRITE_REPLACE 
SMBF_READ_REPLACE 
SMBF_READ_PING 
SMBF_STEREO 
SMBF_ANSWER_REQ 
SMBF_BRIDGE_REQ 
SMBF_THREAD_LOCK 
SMBF_PRUNE 
SMBF_NO_PAUSE 
SMBF_STEREO_SWAP 
SMBF_LOCK 
SMBF_TAP_NATIVE_READ 
SMBF_TAP_NATIVE_WRITE 
SMBF_ONE_ONLY 
SMBF_MASK 
SMBF_READ_VIDEO_PING 
SMBF_WRITE_VIDEO_PING 
SMBF_READ_VIDEO_STREAM 
SMBF_WRITE_VIDEO_STREAM 
SMBF_VIDEO_PATCH 
SMBF_SPY_VIDEO_STREAM 
SMBF_SPY_VIDEO_STREAM_BLEG 
SMBF_READ_VIDEO_PATCH 
SMBF_READ_TEXT_STREAM 
SMBF_FIRST 
SMBF_PAUSE 

Definition at line 1882 of file switch_types.h.

1882  {
1883  SMBF_BOTH = 0,
1884  SMBF_READ_STREAM = (1 << 0),
1885  SMBF_WRITE_STREAM = (1 << 1),
1886  SMBF_WRITE_REPLACE = (1 << 2),
1887  SMBF_READ_REPLACE = (1 << 3),
1888  SMBF_READ_PING = (1 << 4),
1889  SMBF_STEREO = (1 << 5),
1890  SMBF_ANSWER_REQ = (1 << 6),
1891  SMBF_BRIDGE_REQ = (1 << 7),
1892  SMBF_THREAD_LOCK = (1 << 8),
1893  SMBF_PRUNE = (1 << 9),
1894  SMBF_NO_PAUSE = (1 << 10),
1895  SMBF_STEREO_SWAP = (1 << 11),
1896  SMBF_LOCK = (1 << 12),
1897  SMBF_TAP_NATIVE_READ = (1 << 13),
1898  SMBF_TAP_NATIVE_WRITE = (1 << 14),
1899  SMBF_ONE_ONLY = (1 << 15),
1900  SMBF_MASK = (1 << 16),
1901  SMBF_READ_VIDEO_PING = (1 << 17),
1902  SMBF_WRITE_VIDEO_PING = (1 << 18),
1903  SMBF_READ_VIDEO_STREAM = (1 << 19),
1904  SMBF_WRITE_VIDEO_STREAM = (1 << 20),
1905  SMBF_VIDEO_PATCH = (1 << 21),
1906  SMBF_SPY_VIDEO_STREAM = (1 << 22),
1907  SMBF_SPY_VIDEO_STREAM_BLEG = (1 << 23),
1908  SMBF_READ_VIDEO_PATCH = (1 << 24),
1909  SMBF_READ_TEXT_STREAM = (1 << 25),
1910  SMBF_FIRST = (1 << 26),
1911  SMBF_PAUSE = (1 << 27)
switch_media_bug_flag_enum_t

◆ switch_media_flag_enum_t

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 495 of file switch_types.h.

495  {
496  SMF_NONE = 0,
497  SMF_REBRIDGE = (1 << 0),
498  SMF_ECHO_ALEG = (1 << 1),
499  SMF_ECHO_BLEG = (1 << 2),
500  SMF_FORCE = (1 << 3),
501  SMF_LOOP = (1 << 4),
502  SMF_HOLD_BLEG = (1 << 5),
503  SMF_IMMEDIATE = (1 << 6),
504  SMF_EXEC_INLINE = (1 << 7),
505  SMF_PRIORITY = (1 << 8),
506  SMF_REPLYONLY_A = (1 << 9),
507  SMF_REPLYONLY_B = (1 << 10)
switch_media_flag_enum_t
Definition: switch_types.h:495

◆ 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 2721 of file switch_types.h.

◆ switch_media_type_t

Enumerator
SWITCH_MEDIA_TYPE_AUDIO 
SWITCH_MEDIA_TYPE_VIDEO 
SWITCH_MEDIA_TYPE_TEXT 

Definition at line 1844 of file switch_types.h.

◆ switch_module_flag_enum_t

Enumerator
SMODF_NONE 
SMODF_GLOBAL_SYMBOLS 

Definition at line 2608 of file switch_types.h.

2608  {
2609  SMODF_NONE = 0,
2610  SMODF_GLOBAL_SYMBOLS = (1 << 0)
switch_module_flag_enum_t

◆ switch_module_interface_name_t

Enumerator
SWITCH_ENDPOINT_INTERFACE 
SWITCH_TIMER_INTERFACE 
SWITCH_DIALPLAN_INTERFACE 
SWITCH_CODEC_INTERFACE 
SWITCH_APPLICATION_INTERFACE 
SWITCH_API_INTERFACE 
SWITCH_FILE_INTERFACE 
SWITCH_SPEECH_INTERFACE 
SWITCH_DIRECTORY_INTERFACE 
SWITCH_CHAT_INTERFACE 
SWITCH_SAY_INTERFACE 
SWITCH_ASR_INTERFACE 
SWITCH_MANAGEMENT_INTERFACE 
SWITCH_LIMIT_INTERFACE 
SWITCH_CHAT_APPLICATION_INTERFACE 
SWITCH_JSON_API_INTERFACE 
SWITCH_DATABASE_INTERFACE 

Definition at line 397 of file switch_types.h.

397  {
switch_module_interface_name_t
Definition: switch_types.h:397

◆ switch_originate_flag_enum_t

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 325 of file switch_types.h.

◆ 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 2736 of file switch_types.h.

◆ switch_port_flag_enum_t

Enumerator
SPF_NONE 
SPF_ODD 
SPF_EVEN 
SPF_ROBUST_TCP 
SPF_ROBUST_UDP 

Definition at line 337 of file switch_types.h.

337  {
338  SPF_NONE = 0,
339  SPF_ODD = (1 << 0),
340  SPF_EVEN = (1 << 1),
341  SPF_ROBUST_TCP = (1 << 2),
342  SPF_ROBUST_UDP = (1 << 3)
switch_port_flag_enum_t
Definition: switch_types.h:337

◆ 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 1067 of file switch_types.h.

◆ switch_pvt_class_t

Enumerator
SWITCH_PVT_PRIMARY 
SWITCH_PVT_SECONDARY 

Definition at line 258 of file switch_types.h.

◆ switch_ring_ready_t

Enumerator
SWITCH_RING_READY_NONE 
SWITCH_RING_READY_RINGING 
SWITCH_RING_READY_QUEUED 

Definition at line 1397 of file switch_types.h.

◆ switch_rtp_bug_flag_t

Enumerator
RTP_BUG_NONE 
RTP_BUG_CISCO_SKIP_MARK_BIT_2833 
RTP_BUG_SONUS_SEND_INVALID_TIMESTAMP_2833 
RTP_BUG_IGNORE_MARK_BIT 
RTP_BUG_SEND_LINEAR_TIMESTAMPS 
RTP_BUG_START_SEQ_AT_ZERO 
RTP_BUG_NEVER_SEND_MARKER 
RTP_BUG_IGNORE_DTMF_DURATION 
RTP_BUG_ACCEPT_ANY_PACKETS 
RTP_BUG_GEN_ONE_GEN_ALL 
RTP_BUG_CHANGE_SSRC_ON_MARKER 
RTP_BUG_FLUSH_JB_ON_DTMF 
RTP_BUG_ACCEPT_ANY_PAYLOAD 
RTP_BUG_ALWAYS_AUTO_ADJUST 

Definition at line 848 of file switch_types.h.

848  {
849  RTP_BUG_NONE = 0, /* won't be using this one much ;) */
850 
852  /* Some Cisco devices get mad when you send the mark bit on new 2833 because it makes
853  them flush their jitterbuffer and the dtmf along with it.
854 
855  This flag will disable the sending of the mark bit on the first DTMF packet.
856  */
857 
858 
860  /*
861  Sonus wrongly expects that, when sending a multi-packet 2833 DTMF event, The sender
862  should increment the RTP timestamp in each packet when, in reality, the sender should
863  send the same exact timestamp and increment the duration field in the 2833 payload.
864  This allows a reconstruction of the duration if any of the packets are lost.
865 
866  final_duration - initial_timestamp = total_samples
867 
868  However, if the duration value exceeds the space allocated (16 bits), The sender should increment
869  the timestamp one unit and reset the duration to 0.
870 
871  Always sending a duration of 0 with a new timestamp should be tolerated but is rarely intentional
872  and is mistakenly done by many devices.
873  The issue is that the Sonus expects everyone to do it this way instead of tolerating either way.
874  Sonus will actually ignore every packet with the same timestamp before concluding if it's DTMF.
875 
876  This flag will cause each packet to have a new timestamp.
877  */
878 
879 
880  RTP_BUG_IGNORE_MARK_BIT = (1 << 2),
881 
882  /*
883  A Huawei SBC has been discovered that sends the mark bit on every single RTP packet.
884  Since this causes the RTP stack to flush it's buffers, it horribly messes up the timing on the channel.
885 
886  This flag will do nothing when an inbound packet contains the mark bit.
887 
888  */
889 
890 
892 
893  /*
894  Our friends at Sonus get real mad when the timestamps are not in perfect sequence even during periods of silence.
895  With this flag, we will only increment the timestamp when write packets even if they are eons apart.
896 
897  */
898 
899  RTP_BUG_START_SEQ_AT_ZERO = (1 << 4),
900 
901  /*
902  Our friends at Sonus also get real mad if the sequence number does not start at 0.
903  Typically, we set this to a random starting value for your saftey.
904  This is a security risk you take upon yourself when you enable this flag.
905  */
906 
907 
908  RTP_BUG_NEVER_SEND_MARKER = (1 << 5),
909 
910  /*
911  Our friends at Sonus are on a roll, They also get easily dumbfounded by marker bits.
912  This flag will never send any. Sheesh....
913  */
914 
915  RTP_BUG_IGNORE_DTMF_DURATION = (1 << 6),
916 
917  /*
918  Guess Who? ... Yep, Sonus (and who know's who else) likes to interweave DTMF with the audio stream making it take
919  2X as long as it should and sending an incorrect duration making the DTMF very delayed.
920  This flag will treat every dtmf as if it were 50ms and queue it on recipt of the leading packet rather than at the end.
921  */
922 
923 
924  RTP_BUG_ACCEPT_ANY_PACKETS = (1 << 7),
925 
926  /*
927  Oracle's Contact Center Anywhere (CCA) likes to use a single RTP socket to send all its outbound audio.
928  This messes up our ability to auto adjust to NATTED RTP and causes us to ignore its audio packets.
929  This flag will allow compatibility with this dying product.
930  */
931 
932 
933  RTP_BUG_GEN_ONE_GEN_ALL = (1 << 8),
934 
935  /*
936  Some RTP endpoints (and by some we mean *cough* _SONUS_!) do not like it when the timestamps jump forward or backwards in time.
937  So say you are generating a file that says "please wait for me to complete your call, or generating ringback"
938  Now you place and outbound call and you are bridging. Well, while you were playing the file, you were generating your own RTP timestamps.
939  But, now that you have a remote RTP stream, you'd rather send those timestamps as-is in case they will be fed to a remote jitter buffer......
940  Ok, so this causes the audio to completely fade out despite the fact that we send the mark bit which should give them heads up its happening.
941 
942  Sigh, This flag will tell FreeSWITCH that if it ever generates even one RTP packet itself, to continue to generate all of them and ignore the
943  actual timestamps in the frames.
944 
945  */
946 
948 
949  /*
950  By default FS will change the SSRC when the marker is set and it detects a timestamp reset.
951  If this setting is enabled it will NOT do this (old behaviour).
952  */
953 
954  RTP_BUG_FLUSH_JB_ON_DTMF = (1 << 10),
955 
956  /* FLUSH JITTERBUFFER When getting RFC2833 to reduce bleed through */
957 
958  RTP_BUG_ACCEPT_ANY_PAYLOAD = (1 << 11),
959 
960  /*
961  Make FS accept any payload type instead of dropping and returning CNG frame. Workaround while FS only supports a single payload per rtp session.
962  This can be used by endpoint modules to detect payload changes and act appropriately (ex: sofia could send a reINVITE with single codec).
963  This should probably be a flag, but flag enum is already full!
964  */
965 
966 
967  RTP_BUG_ALWAYS_AUTO_ADJUST = (1 << 12)
968 
969  /*
970  Leave the auto-adjust behavior enableed permenantly rather than only at appropriate times. (IMPLICITLY sets RTP_BUG_ACCEPT_ANY_PACKETS)
971 
972  */
973 
switch_rtp_bug_flag_t
Definition: switch_types.h:848

◆ switch_rtp_crypto_key_param_method_type_t

Enumerator
CRYPTO_KEY_PARAM_METHOD_INLINE 
CRYPTO_KEY_PARAM_METHOD_INVALID 

Definition at line 2681 of file switch_types.h.

◆ switch_rtp_crypto_key_type_t

Enumerator
AEAD_AES_256_GCM_8 
AEAD_AES_256_GCM 
AEAD_AES_128_GCM_8 
AEAD_AES_128_GCM 
AES_CM_256_HMAC_SHA1_80 
AES_CM_192_HMAC_SHA1_80 
AES_CM_128_HMAC_SHA1_80 
AES_CM_256_HMAC_SHA1_32 
AES_CM_192_HMAC_SHA1_32 
AES_CM_128_HMAC_SHA1_32 
AES_CM_128_NULL_AUTH 
CRYPTO_INVALID 

Definition at line 2665 of file switch_types.h.

◆ 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
Enumerator
SWITCH_RTP_FLAG_NOBLOCK 
SWITCH_RTP_FLAG_DTMF_ON 
SWITCH_RTP_FLAG_IO 
SWITCH_RTP_FLAG_USE_TIMER 
SWITCH_RTP_FLAG_RTCP_PASSTHRU 
SWITCH_RTP_FLAG_SECURE_SEND 
SWITCH_RTP_FLAG_SECURE_RECV 
SWITCH_RTP_FLAG_AUTOADJ 
SWITCH_RTP_FLAG_RTCP_AUTOADJ 
SWITCH_RTP_FLAG_RAW_WRITE 
SWITCH_RTP_FLAG_GOOGLEHACK 
SWITCH_RTP_FLAG_VAD 
SWITCH_RTP_FLAG_BREAK 
SWITCH_RTP_FLAG_UDPTL 
SWITCH_RTP_FLAG_DATAWAIT 
SWITCH_RTP_FLAG_BYTESWAP 
SWITCH_RTP_FLAG_PASS_RFC2833 
SWITCH_RTP_FLAG_AUTO_CNG 
SWITCH_RTP_FLAG_SECURE_SEND_RESET 
SWITCH_RTP_FLAG_SECURE_RECV_RESET 
SWITCH_RTP_FLAG_PROXY_MEDIA 
SWITCH_RTP_FLAG_SHUTDOWN 
SWITCH_RTP_FLAG_FLUSH 
SWITCH_RTP_FLAG_AUTOFLUSH 
SWITCH_RTP_FLAG_STICKY_FLUSH 
SWITCH_RTP_FLAG_DEBUG_RTP_READ 
SWITCH_RTP_FLAG_DEBUG_RTP_WRITE 
SWITCH_RTP_FLAG_ESTIMATORS 
SWITCH_RTP_FLAG_ADJ_BITRATE_CAP 
SWITCH_RTP_FLAG_VIDEO 
SWITCH_RTP_FLAG_ENABLE_RTCP 
SWITCH_RTP_FLAG_RTCP_MUX 
SWITCH_RTP_FLAG_KILL_JB 
SWITCH_RTP_FLAG_VIDEO_BREAK 
SWITCH_RTP_FLAG_PAUSE 
SWITCH_RTP_FLAG_FIR 
SWITCH_RTP_FLAG_PLI 
SWITCH_RTP_FLAG_RESET 
SWITCH_RTP_FLAG_MUTE 
SWITCH_RTP_FLAG_NACK 
SWITCH_RTP_FLAG_TMMBR 
SWITCH_RTP_FLAG_DETECT_SSRC 
SWITCH_RTP_FLAG_TEXT 
SWITCH_RTP_FLAG_OLD_FIR 
SWITCH_RTP_FLAG_PASSTHRU 
SWITCH_RTP_FLAG_SECURE_SEND_MKI 
SWITCH_RTP_FLAG_SECURE_RECV_MKI 
SWITCH_RTP_FLAG_SRTP_HANGUP_ON_ERROR 
SWITCH_RTP_FLAG_AUDIO_FIRE_SEND_RTCP_EVENT 
SWITCH_RTP_FLAG_VIDEO_FIRE_SEND_RTCP_EVENT 
SWITCH_RTP_FLAG_INVALID 

Definition at line 793 of file switch_types.h.

793  {
switch_rtp_flag_t
RTP Related Flags.
Definition: switch_types.h:793

◆ switch_rtp_flush_t

Enumerator
SWITCH_RTP_FLUSH_ONCE 
SWITCH_RTP_FLUSH_STICK 
SWITCH_RTP_FLUSH_UNSTICK 

Definition at line 766 of file switch_types.h.

◆ switch_rw_t

Enumerator
SWITCH_RW_READ 
SWITCH_RW_WRITE 

Definition at line 598 of file switch_types.h.

◆ switch_say_gender_t

Enumerator
SSG_MASCULINE 
SSG_FEMININE 
SSG_NEUTER 
SSG_UTRUM 

Definition at line 474 of file switch_types.h.

◆ switch_say_method_t

Enumerator
SSM_NA 
SSM_PRONOUNCED 
SSM_ITERATED 
SSM_COUNTED 
SSM_PRONOUNCED_YEAR 

Definition at line 443 of file switch_types.h.

◆ switch_say_type_t

Enumerator
SST_NUMBER 
SST_ITEMS 
SST_PERSONS 
SST_MESSAGES 
SST_CURRENCY 
SST_TIME_MEASUREMENT 
SST_CURRENT_DATE 
SST_CURRENT_TIME 
SST_CURRENT_DATE_TIME 
SST_TELEPHONE_NUMBER 
SST_TELEPHONE_EXTENSION 
SST_URL 
SST_IP_ADDRESS 
SST_EMAIL_ADDRESS 
SST_POSTAL_ADDRESS 
SST_ACCOUNT_NUMBER 
SST_NAME_SPELLED 
SST_NAME_PHONETIC 
SST_SHORT_DATE_TIME 

Definition at line 452 of file switch_types.h.

◆ switch_scheduler_flag_enum_t

Enumerator
SSHF_NONE 
SSHF_OWN_THREAD 
SSHF_FREE_ARG 
SSHF_NO_DEL 

Definition at line 487 of file switch_types.h.

487  {
488  SSHF_NONE = 0,
489  SSHF_OWN_THREAD = (1 << 0),
490  SSHF_FREE_ARG = (1 << 1),
491  SSHF_NO_DEL = (1 << 2)
switch_scheduler_flag_enum_t
Definition: switch_types.h:487

◆ switch_sdp_type_t

Enumerator
SDP_TYPE_REQUEST 
SDP_TYPE_RESPONSE 

Definition at line 2659 of file switch_types.h.

◆ switch_session_ctl_t

Enumerator
SCSC_PAUSE_INBOUND 
SCSC_PAUSE_OUTBOUND 
SCSC_PAUSE_ALL 
SCSC_HUPALL 
SCSC_SHUTDOWN 
SCSC_CHECK_RUNNING 
SCSC_LOGLEVEL 
SCSC_SPS 
SCSC_LAST_SPS 
SCSC_RECLAIM 
SCSC_MAX_SESSIONS 
SCSC_SYNC_CLOCK 
SCSC_MAX_DTMF_DURATION 
SCSC_MIN_DTMF_DURATION 
SCSC_DEFAULT_DTMF_DURATION 
SCSC_SHUTDOWN_ELEGANT 
SCSC_SHUTDOWN_ASAP 
SCSC_CANCEL_SHUTDOWN 
SCSC_SEND_SIGHUP 
SCSC_DEBUG_LEVEL 
SCSC_FLUSH_DB_HANDLES 
SCSC_SHUTDOWN_NOW 
SCSC_REINCARNATE_NOW 
SCSC_CALIBRATE_CLOCK 
SCSC_SAVE_HISTORY 
SCSC_CRASH 
SCSC_MIN_IDLE_CPU 
SCSC_VERBOSE_EVENTS 
SCSC_SHUTDOWN_CHECK 
SCSC_PAUSE_INBOUND_CHECK 
SCSC_PAUSE_OUTBOUND_CHECK 
SCSC_PAUSE_CHECK 
SCSC_READY_CHECK 
SCSC_THREADED_SYSTEM_EXEC 
SCSC_SYNC_CLOCK_WHEN_IDLE 
SCSC_DEBUG_SQL 
SCSC_SQL 
SCSC_API_EXPANSION 
SCSC_RECOVER 
SCSC_SPS_PEAK 
SCSC_SPS_PEAK_FIVEMIN 
SCSC_SESSIONS_PEAK 
SCSC_SESSIONS_PEAK_FIVEMIN 
SCSC_MDNS_RESOLVE 
SCSC_SHUTDOWN_CAUSE 

Definition at line 2257 of file switch_types.h.

2257  {
2261  SCSC_HUPALL,
2262  SCSC_SHUTDOWN,
2264  SCSC_LOGLEVEL,
2265  SCSC_SPS,
2266  SCSC_LAST_SPS,
2267  SCSC_RECLAIM,
2283  SCSC_CRASH,
2294  SCSC_SQL,
2296  SCSC_RECOVER,
2297  SCSC_SPS_PEAK,
switch_session_ctl_t

◆ 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 1731 of file switch_types.h.

◆ switch_speech_flag_enum_t

Enumerator
SWITCH_SPEECH_FLAG_NONE 
SWITCH_SPEECH_FLAG_HASTEXT 
SWITCH_SPEECH_FLAG_PEEK 
SWITCH_SPEECH_FLAG_FREE_POOL 
SWITCH_SPEECH_FLAG_BLOCKING 
SWITCH_SPEECH_FLAG_PAUSE 
SWITCH_SPEECH_FLAG_OPEN 
SWITCH_SPEECH_FLAG_DONE 

Definition at line 1780 of file switch_types.h.

◆ 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_UNSHIFT 
SWITCH_STACK_PUSH 

Definition at line 1203 of file switch_types.h.

1203  {
1204  SWITCH_STACK_BOTTOM = (1 << 0),
1205  SWITCH_STACK_TOP = (1 << 1),
1206  SWITCH_STACK_UNSHIFT = (1 << 2),
1207  SWITCH_STACK_PUSH = (1 << 3)
1208 } switch_stack_t;
switch_stack_t
Expression of how to stack a list.

◆ switch_state_handler_flag_t

Enumerator
SSH_FLAG_STICKY 
SSH_FLAG_PRE_EXEC 

Definition at line 2305 of file switch_types.h.

2305  {
2306  SSH_FLAG_STICKY = (1 << 0),
2307  SSH_FLAG_PRE_EXEC = (1 << 1)
switch_state_handler_flag_t

◆ 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
Enumerator
SWITCH_STATUS_SUCCESS 
SWITCH_STATUS_FALSE 
SWITCH_STATUS_TIMEOUT 
SWITCH_STATUS_RESTART 
SWITCH_STATUS_INTR 
SWITCH_STATUS_NOTIMPL 
SWITCH_STATUS_MEMERR 
SWITCH_STATUS_NOOP 
SWITCH_STATUS_RESAMPLE 
SWITCH_STATUS_GENERR 
SWITCH_STATUS_INUSE 
SWITCH_STATUS_BREAK 
SWITCH_STATUS_SOCKERR 
SWITCH_STATUS_MORE_DATA 
SWITCH_STATUS_NOTFOUND 
SWITCH_STATUS_UNLOAD 
SWITCH_STATUS_NOUNLOAD 
SWITCH_STATUS_IGNORE 
SWITCH_STATUS_TOO_SMALL 
SWITCH_STATUS_FOUND 
SWITCH_STATUS_CONTINUE 
SWITCH_STATUS_TERM 
SWITCH_STATUS_NOT_INITALIZED 
SWITCH_STATUS_TOO_LATE 
SWITCH_STATUS_XBREAK 
SWITCH_STATUS_WINBREAK 

Definition at line 1233 of file switch_types.h.

1233  {
1258  SWITCH_STATUS_XBREAK = 35,
1259  SWITCH_STATUS_WINBREAK = 730035
1260 } switch_status_t;
switch_status_t
Common return values.

◆ switch_text_channel_t

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 1312 of file switch_types.h.

◆ switch_thread_priority_t

Enumerator
SWITCH_PRI_LOW 
SWITCH_PRI_NORMAL 
SWITCH_PRI_IMPORTANT 
SWITCH_PRI_REALTIME 

Definition at line 2601 of file switch_types.h.

◆ switch_timer_flag_enum_t

Enumerator
SWITCH_TIMER_FLAG_FREE_POOL 

Definition at line 1859 of file switch_types.h.

◆ switch_unicast_flag_enum_t

Enumerator
SUF_NONE 
SUF_THREAD_RUNNING 
SUF_READY 
SUF_NATIVE 

Definition at line 429 of file switch_types.h.

429  {
430  SUF_NONE = 0,
431  SUF_THREAD_RUNNING = (1 << 0),
432  SUF_READY = (1 << 1),
433  SUF_NATIVE = (1 << 2)
switch_unicast_flag_enum_t
Definition: switch_types.h:429

◆ switch_vad_flag_enum_t

Enumerator
SWITCH_VAD_FLAG_TALKING 
SWITCH_VAD_FLAG_EVENTS_TALK 
SWITCH_VAD_FLAG_EVENTS_NOTALK 
SWITCH_VAD_FLAG_CNG 

Definition at line 655 of file switch_types.h.

◆ switch_vad_state_t

Enumerator
SWITCH_VAD_STATE_NONE 
SWITCH_VAD_STATE_START_TALKING 
SWITCH_VAD_STATE_TALKING 
SWITCH_VAD_STATE_STOP_TALKING 
SWITCH_VAD_STATE_ERROR 

Definition at line 663 of file switch_types.h.

◆ switch_vid_spy_fmt_t

Enumerator
SPY_LOWER_RIGHT_SMALL 
SPY_LOWER_RIGHT_LARGE 
SPY_DUAL_CROP 

Definition at line 2774 of file switch_types.h.

◆ switch_video_encode_speed_t

Enumerator
SWITCH_VIDEO_ENCODE_SPEED_DEFAULT 
SWITCH_VIDEO_ENCODE_SPEED_FAST 
SWITCH_VIDEO_ENCODE_SPEED_MEDIUM 
SWITCH_VIDEO_ENCODE_SPEED_SLOW 

Definition at line 2795 of file switch_types.h.

◆ switch_video_profile_t

Enumerator
SWITCH_VIDEO_PROFILE_BASELINE 
SWITCH_VIDEO_PROFILE_MAIN 
SWITCH_VIDEO_PROFILE_HIGH 

Definition at line 2802 of file switch_types.h.

◆ switch_video_read_flag_t

Enumerator
SVR_BLOCK 
SVR_FLUSH 
SVR_CHECK 

Definition at line 2768 of file switch_types.h.

2768  {
2769  SVR_BLOCK = (1 << 0),
2770  SVR_FLUSH = (1 << 1),
2771  SVR_CHECK = (1 << 2)
switch_video_read_flag_t

◆ switch_xml_section_enum_t

Enumerator
SWITCH_XML_SECTION_RESULT 
SWITCH_XML_SECTION_CONFIG 
SWITCH_XML_SECTION_DIRECTORY 
SWITCH_XML_SECTION_DIALPLAN 
SWITCH_XML_SECTION_LANGUAGES 
SWITCH_XML_SECTION_CHATPLAN 
SWITCH_XML_SECTION_CHANNELS 
SWITCH_XML_SECTION_MAX 

Definition at line 632 of file switch_types.h.

Function Documentation

◆ switch_const_char_type_check()

static const char* switch_const_char_type_check ( const char *  str)
inlinestatic

Definition at line 1328 of file switch_types.h.

1328 { return str; }

◆ switch_core_session_type_check()

static switch_core_session_t* switch_core_session_type_check ( switch_core_session_t session)
inlinestatic

Definition at line 1327 of file switch_types.h.

1327 { return session; }

Variable Documentation

◆ SWITCH_GLOBAL_dirs

switch_directories SWITCH_GLOBAL_dirs

◆ SWITCH_GLOBAL_filenames

switch_filenames SWITCH_GLOBAL_filenames