FreeSWITCH API Documentation
1.7.0
|
#include <switch.h>
Go to the source code of this file.
Data Structures | |
struct | switch_io_event_hook_outgoing_channel |
Node in which to store custom receive message callback hooks. More... | |
struct | switch_io_event_hook_receive_message |
Node in which to store custom receive message callback hooks. More... | |
struct | switch_io_event_hook_receive_event |
Node in which to store custom receive message callback hooks. More... | |
struct | switch_io_event_hook_read_frame |
Node in which to store custom read frame channel callback hooks. More... | |
struct | switch_io_event_hook_video_read_frame |
Node in which to store custom read frame channel callback hooks. More... | |
struct | switch_io_event_hook_write_frame |
Node in which to store custom write_frame channel callback hooks. More... | |
struct | switch_io_event_hook_video_write_frame |
Node in which to store custom video_write_frame channel callback hooks. More... | |
struct | switch_io_event_hook_kill_channel |
Node in which to store custom kill channel callback hooks. More... | |
struct | switch_io_event_hook_send_dtmf |
Node in which to store custom send dtmf channel callback hooks. More... | |
struct | switch_io_event_hook_recv_dtmf |
Node in which to store custom recv dtmf channel callback hooks. More... | |
struct | switch_io_event_hook_state_change |
Node in which to store state change callback hooks. More... | |
struct | switch_io_event_hook_state_run |
Node in which to store state run callback hooks. More... | |
struct | switch_io_event_hooks |
A table of lists of io_event_hooks to store the event hooks associated with a session. More... | |
Macros | |
#define | NEW_HOOK_DECL_ADD_P(_NAME) |
#define | NEW_HOOK_DECL_REM_P(_NAME) |
#define | NEW_HOOK_DECL(_NAME) |
Functions | |
switch_io_event_hooks_t | switch_core_session_get_event_hooks (switch_core_session_t *session) |
NEW_HOOK_DECL_ADD_P (outgoing_channel) | |
NEW_HOOK_DECL_ADD_P (receive_message) | |
NEW_HOOK_DECL_ADD_P (receive_event) | |
NEW_HOOK_DECL_ADD_P (state_change) | |
NEW_HOOK_DECL_ADD_P (state_run) | |
NEW_HOOK_DECL_ADD_P (read_frame) | |
NEW_HOOK_DECL_ADD_P (write_frame) | |
NEW_HOOK_DECL_ADD_P (video_read_frame) | |
NEW_HOOK_DECL_ADD_P (video_write_frame) | |
NEW_HOOK_DECL_ADD_P (kill_channel) | |
NEW_HOOK_DECL_ADD_P (send_dtmf) | |
NEW_HOOK_DECL_ADD_P (recv_dtmf) | |
NEW_HOOK_DECL_REM_P (outgoing_channel) | |
NEW_HOOK_DECL_REM_P (receive_message) | |
NEW_HOOK_DECL_REM_P (receive_event) | |
NEW_HOOK_DECL_REM_P (state_change) | |
NEW_HOOK_DECL_REM_P (state_run) | |
NEW_HOOK_DECL_REM_P (read_frame) | |
NEW_HOOK_DECL_REM_P (write_frame) | |
NEW_HOOK_DECL_REM_P (video_read_frame) | |
NEW_HOOK_DECL_REM_P (video_write_frame) | |
NEW_HOOK_DECL_REM_P (kill_channel) | |
NEW_HOOK_DECL_REM_P (send_dtmf) | |
NEW_HOOK_DECL_REM_P (recv_dtmf) | |
#define NEW_HOOK_DECL | ( | _NAME | ) |
Definition at line 182 of file switch_core_event_hook.h.
#define NEW_HOOK_DECL_ADD_P | ( | _NAME | ) |
Definition at line 176 of file switch_core_event_hook.h.
#define NEW_HOOK_DECL_REM_P | ( | _NAME | ) |
Definition at line 179 of file switch_core_event_hook.h.
Definition at line 44 of file switch_core_event_hook.h.
Definition at line 37 of file switch_core_event_hook.h.
typedef struct switch_io_event_hook_read_frame switch_io_event_hook_read_frame_t |
Definition at line 40 of file switch_core_event_hook.h.
Definition at line 39 of file switch_core_event_hook.h.
Definition at line 38 of file switch_core_event_hook.h.
typedef struct switch_io_event_hook_recv_dtmf switch_io_event_hook_recv_dtmf_t |
Definition at line 46 of file switch_core_event_hook.h.
typedef struct switch_io_event_hook_send_dtmf switch_io_event_hook_send_dtmf_t |
Definition at line 45 of file switch_core_event_hook.h.
Definition at line 47 of file switch_core_event_hook.h.
typedef struct switch_io_event_hook_state_run switch_io_event_hook_state_run_t |
Definition at line 48 of file switch_core_event_hook.h.
Definition at line 41 of file switch_core_event_hook.h.
Definition at line 43 of file switch_core_event_hook.h.
Definition at line 42 of file switch_core_event_hook.h.
typedef typedefSWITCH_BEGIN_EXTERN_C struct switch_io_event_hooks switch_io_event_hooks_t |
Definition at line 35 of file switch_core_event_hook.h.
typedef switch_status_t(* switch_kill_channel_hook_t)(switch_core_session_t *, int) |
Definition at line 57 of file switch_core_event_hook.h.
typedef switch_status_t(* switch_outgoing_channel_hook_t)(switch_core_session_t *, switch_event_t *, switch_caller_profile_t *, switch_core_session_t *, switch_originate_flag_t) |
Definition at line 50 of file switch_core_event_hook.h.
typedef switch_status_t(* switch_read_frame_hook_t)(switch_core_session_t *, switch_frame_t **, switch_io_flag_t, int) |
Definition at line 53 of file switch_core_event_hook.h.
typedef switch_status_t(* switch_receive_event_hook_t)(switch_core_session_t *, switch_event_t *) |
Definition at line 52 of file switch_core_event_hook.h.
typedef switch_status_t(* switch_receive_message_hook_t)(switch_core_session_t *, switch_core_session_message_t *) |
Definition at line 51 of file switch_core_event_hook.h.
typedef switch_status_t(* switch_recv_dtmf_hook_t)(switch_core_session_t *, const switch_dtmf_t *, switch_dtmf_direction_t direction) |
Definition at line 59 of file switch_core_event_hook.h.
typedef switch_status_t(* switch_send_dtmf_hook_t)(switch_core_session_t *, const switch_dtmf_t *, switch_dtmf_direction_t direction) |
Definition at line 58 of file switch_core_event_hook.h.
typedef switch_status_t(* switch_state_change_hook_t)(switch_core_session_t *) |
Definition at line 60 of file switch_core_event_hook.h.
typedef switch_status_t(* switch_state_run_hook_t)(switch_core_session_t *) |
Definition at line 61 of file switch_core_event_hook.h.
typedef switch_status_t(* switch_video_read_frame_hook_t)(switch_core_session_t *, switch_frame_t **, switch_io_flag_t, int) |
Definition at line 54 of file switch_core_event_hook.h.
typedef switch_status_t(* switch_video_write_frame_hook_t)(switch_core_session_t *, switch_frame_t *, switch_io_flag_t, int) |
Definition at line 56 of file switch_core_event_hook.h.
typedef switch_status_t(* switch_write_frame_hook_t)(switch_core_session_t *, switch_frame_t *, switch_io_flag_t, int) |
Definition at line 55 of file switch_core_event_hook.h.
NEW_HOOK_DECL_ADD_P | ( | outgoing_channel | ) |
NEW_HOOK_DECL_ADD_P | ( | receive_message | ) |
NEW_HOOK_DECL_ADD_P | ( | receive_event | ) |
NEW_HOOK_DECL_ADD_P | ( | state_change | ) |
NEW_HOOK_DECL_ADD_P | ( | state_run | ) |
NEW_HOOK_DECL_ADD_P | ( | read_frame | ) |
NEW_HOOK_DECL_ADD_P | ( | write_frame | ) |
NEW_HOOK_DECL_ADD_P | ( | video_read_frame | ) |
NEW_HOOK_DECL_ADD_P | ( | video_write_frame | ) |
NEW_HOOK_DECL_ADD_P | ( | kill_channel | ) |
NEW_HOOK_DECL_ADD_P | ( | send_dtmf | ) |
NEW_HOOK_DECL_ADD_P | ( | recv_dtmf | ) |
NEW_HOOK_DECL_REM_P | ( | outgoing_channel | ) |
NEW_HOOK_DECL_REM_P | ( | receive_message | ) |
NEW_HOOK_DECL_REM_P | ( | receive_event | ) |
NEW_HOOK_DECL_REM_P | ( | state_change | ) |
NEW_HOOK_DECL_REM_P | ( | state_run | ) |
NEW_HOOK_DECL_REM_P | ( | read_frame | ) |
NEW_HOOK_DECL_REM_P | ( | write_frame | ) |
NEW_HOOK_DECL_REM_P | ( | video_read_frame | ) |
NEW_HOOK_DECL_REM_P | ( | video_write_frame | ) |
NEW_HOOK_DECL_REM_P | ( | kill_channel | ) |
NEW_HOOK_DECL_REM_P | ( | send_dtmf | ) |
NEW_HOOK_DECL_REM_P | ( | recv_dtmf | ) |
switch_io_event_hooks_t switch_core_session_get_event_hooks | ( | switch_core_session_t * | session | ) |