RTS API Documentation
1.10.11
|
#include <switch.h>
Go to the source code of this file.
void fs_channel_answer | ( | switch_core_session_t * | session | ) |
Definition at line 113 of file switch_swig.c.
References switch_channel_answer, and switch_core_session_get_channel().
void fs_channel_get_variable | ( | switch_core_session_t * | session, |
char * | var | ||
) |
Definition at line 137 of file switch_swig.c.
References switch_channel_get_variable, and switch_core_session_get_channel().
void fs_channel_hangup | ( | switch_core_session_t * | session, |
char * | cause | ||
) |
Definition at line 125 of file switch_swig.c.
References switch_channel_hangup, switch_channel_str2cause(), and switch_core_session_get_channel().
void fs_channel_pre_answer | ( | switch_core_session_t * | session | ) |
Definition at line 119 of file switch_swig.c.
References switch_channel_pre_answer, and switch_core_session_get_channel().
void fs_channel_set_state | ( | switch_core_session_t * | session, |
char * | state | ||
) |
Definition at line 143 of file switch_swig.c.
References CS_HANGUP, switch_channel_get_state(), switch_channel_name_state(), switch_channel_set_state, and switch_core_session_get_channel().
void fs_channel_set_variable | ( | switch_core_session_t * | session, |
char * | var, | ||
char * | val | ||
) |
Definition at line 131 of file switch_swig.c.
References switch_channel_set_variable, and switch_core_session_get_channel().
void fs_consol_clean | ( | char * | msg | ) |
Definition at line 97 of file switch_swig.c.
References SWITCH_CHANNEL_LOG_CLEAN, SWITCH_LOG_DEBUG, and switch_log_printf().
void fs_consol_log | ( | char * | level_str, |
char * | msg | ||
) |
Definition at line 87 of file switch_swig.c.
References SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, switch_log_printf(), and switch_log_str2level().
int fs_console_loop | ( | void | ) |
Definition at line 81 of file switch_swig.c.
References switch_console_loop().
int fs_core_destroy | ( | void | ) |
Definition at line 61 of file switch_swig.c.
References switch_core_destroy(), and SWITCH_STATUS_SUCCESS.
int fs_core_init | ( | char * | path | ) |
Definition at line 47 of file switch_swig.c.
References SCF_NONE, switch_core_init(), SWITCH_STATUS_SUCCESS, and zstr.
switch_core_session_t* fs_core_session_locate | ( | char * | uuid | ) |
Definition at line 102 of file switch_swig.c.
References switch_core_session_locate, and switch_core_session_rwunlock().
void fs_core_set_globals | ( | void | ) |
Definition at line 42 of file switch_swig.c.
References switch_core_set_globals().
int fs_ivr_play_file | ( | switch_core_session_t * | session, |
switch_file_handle_t * | fh, | ||
char * | file, | ||
switch_input_args_t * | args | ||
) |
Definition at line 157 of file switch_swig.c.
References switch_ivr_play_file(), and SWITCH_STATUS_SUCCESS.
int fs_ivr_play_file2 | ( | switch_core_session_t * | session, |
char * | file | ||
) |
Definition at line 180 of file switch_swig.c.
References switch_ivr_play_file(), and SWITCH_STATUS_SUCCESS.
int fs_loadable_module_init | ( | void | ) |
Definition at line 70 of file switch_swig.c.
References switch_loadable_module_init(), and SWITCH_STATUS_SUCCESS.
int fs_loadable_module_shutdown | ( | void | ) |
Definition at line 75 of file switch_swig.c.
References switch_loadable_module_shutdown().
char* fs_switch_channel_get_variable | ( | switch_channel_t * | channel, |
char * | varname | ||
) |
Definition at line 272 of file switch_swig.c.
References switch_channel_get_variable.
int fs_switch_channel_set_variable | ( | switch_channel_t * | channel, |
char * | varname, | ||
char * | value | ||
) |
Definition at line 277 of file switch_swig.c.
References switch_channel_set_variable, and SWITCH_STATUS_SUCCESS.
int fs_switch_ivr_collect_digits_callback | ( | switch_core_session_t * | session, |
switch_input_args_t * | args, | ||
unsigned int | timeout | ||
) |
Definition at line 189 of file switch_swig.c.
References switch_ivr_collect_digits_callback(), and SWITCH_STATUS_SUCCESS.
int fs_switch_ivr_collect_digits_count | ( | switch_core_session_t * | session, |
char * | buf, | ||
unsigned int | buflen, | ||
unsigned int | maxdigits, | ||
const char * | terminators, | ||
char * | terminator, | ||
unsigned int | timeout | ||
) |
Definition at line 197 of file switch_swig.c.
References switch_ivr_collect_digits_count(), and SWITCH_STATUS_SUCCESS.
int fs_switch_ivr_originate | ( | switch_core_session_t * | session, |
switch_core_session_t ** | bleg, | ||
char * | bridgeto, | ||
uint32_t | timelimit_sec | ||
) |
Definition at line 220 of file switch_swig.c.
References SOF_NONE, SWITCH_CAUSE_NORMAL_CLEARING, SWITCH_CAUSE_REQUESTED_CHAN_UNAVAIL, switch_channel_get_variable, switch_channel_hangup, SWITCH_CHANNEL_SESSION_LOG, switch_core_session_get_channel(), switch_core_session_rwunlock(), SWITCH_DEFAULT_TIMEOUT, switch_ivr_multi_threaded_bridge(), switch_ivr_originate(), SWITCH_LOG_NOTICE, switch_log_printf(), and SWITCH_STATUS_SUCCESS.
int fs_switch_ivr_record_file | ( | switch_core_session_t * | session, |
switch_file_handle_t * | fh, | ||
char * | file, | ||
switch_input_args_t * | args, | ||
unsigned int | limit | ||
) |
Definition at line 165 of file switch_swig.c.
References switch_ivr_record_file(), and SWITCH_STATUS_SUCCESS.
int fs_switch_ivr_session_transfer | ( | switch_core_session_t * | session, |
char * | extension, | ||
char * | dialplan, | ||
char * | context | ||
) |
Definition at line 250 of file switch_swig.c.
References switch_ivr_session_transfer(), and SWITCH_STATUS_SUCCESS.
int fs_switch_ivr_sleep | ( | switch_core_session_t * | session, |
uint32_t | ms | ||
) |
Definition at line 173 of file switch_swig.c.
References switch_ivr_sleep(), and SWITCH_STATUS_SUCCESS.
int fs_switch_ivr_speak_text | ( | switch_core_session_t * | session, |
char * | tts_name, | ||
char * | voice_name, | ||
char * | text | ||
) |
Definition at line 258 of file switch_swig.c.
References switch_ivr_speak_text(), and SWITCH_STATUS_SUCCESS.