mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 13:12:03 +00:00
following the att_xfer can o worms deeper
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8475 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -56,8 +56,8 @@ typedef switch_status_t (*switch_video_read_frame_hook_t) (switch_core_session_t
|
||||
typedef switch_status_t (*switch_write_frame_hook_t) (switch_core_session_t *, switch_frame_t *, switch_io_flag_t, int);
|
||||
typedef switch_status_t (*switch_video_write_frame_hook_t) (switch_core_session_t *, switch_frame_t *, switch_io_flag_t, int);
|
||||
typedef switch_status_t (*switch_kill_channel_hook_t) (switch_core_session_t *, int);
|
||||
typedef switch_status_t (*switch_send_dtmf_hook_t) (switch_core_session_t *, const switch_dtmf_t *);
|
||||
typedef switch_status_t (*switch_recv_dtmf_hook_t) (switch_core_session_t *, const switch_dtmf_t *);
|
||||
typedef switch_status_t (*switch_send_dtmf_hook_t) (switch_core_session_t *, const switch_dtmf_t *, switch_dtmf_direction_t direction);
|
||||
typedef switch_status_t (*switch_recv_dtmf_hook_t) (switch_core_session_t *, const switch_dtmf_t *, switch_dtmf_direction_t direction);
|
||||
typedef switch_status_t (*switch_state_change_hook_t) (switch_core_session_t *);
|
||||
typedef switch_call_cause_t (*switch_resurrect_session_hook_t)(switch_core_session_t **, switch_memory_pool_t **, void *);
|
||||
|
||||
|
||||
@@ -753,7 +753,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_read(switch_core_session_t *session,
|
||||
const char *valid_terminators);
|
||||
|
||||
SWITCH_DECLARE(switch_status_t) switch_ivr_bind_dtmf_meta_session(switch_core_session_t *session, uint32_t key,
|
||||
switch_bool_t dial_b, switch_bool_t exec_b, const char *app);
|
||||
switch_bind_flag_t bind_flags, const char *app);
|
||||
SWITCH_DECLARE(switch_status_t) switch_ivr_unbind_dtmf_meta_session(switch_core_session_t *session);
|
||||
SWITCH_DECLARE(switch_status_t) switch_ivr_soft_hold(switch_core_session_t *session, const char *unhold_key, const char *moh_a, const char *moh_b);
|
||||
SWITCH_DECLARE(switch_status_t) switch_ivr_say(switch_core_session_t *session, const char *tosay, const char *module_name, const char *say_type, const char *say_method, switch_input_args_t *args);
|
||||
|
||||
@@ -150,6 +150,20 @@ typedef struct {
|
||||
uint32_t duration;
|
||||
} switch_dtmf_t;
|
||||
|
||||
typedef enum {
|
||||
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)
|
||||
} switch_bind_flag_t;
|
||||
|
||||
typedef enum {
|
||||
SWITCH_DTMF_RECV,
|
||||
SWITCH_DTMF_SEND
|
||||
} switch_dtmf_direction_t;
|
||||
|
||||
typedef enum {
|
||||
SOF_NONE = 0,
|
||||
SOF_NOBLOCK = (1 << 0),
|
||||
|
||||
Reference in New Issue
Block a user