RTS API Documentation
1.10.11
|
Abstract interface to an asr module. More...
#include <switch_module_interfaces.h>
Abstract interface to an asr module.
Definition at line 390 of file switch_module_interfaces.h.
switch_status_t(* switch_asr_interface::asr_check_results) (switch_asr_handle_t *ah, switch_asr_flag_t *flags) |
function to read results from the ASR
Definition at line 408 of file switch_module_interfaces.h.
Referenced by switch_core_asr_check_results().
switch_status_t(* switch_asr_interface::asr_close) (switch_asr_handle_t *ah, switch_asr_flag_t *flags) |
function to close the asr interface
Definition at line 400 of file switch_module_interfaces.h.
Referenced by switch_core_asr_close().
switch_status_t(* switch_asr_interface::asr_disable_all_grammars) (switch_asr_handle_t *ah) |
function to disable all grammars to the asr interface
Definition at line 428 of file switch_module_interfaces.h.
Referenced by switch_core_asr_disable_all_grammars().
switch_status_t(* switch_asr_interface::asr_disable_grammar) (switch_asr_handle_t *ah, const char *name) |
function to disable a grammar to the asr interface
Definition at line 426 of file switch_module_interfaces.h.
Referenced by switch_core_asr_disable_grammar().
switch_status_t(* switch_asr_interface::asr_enable_grammar) (switch_asr_handle_t *ah, const char *name) |
function to enable a grammar to the asr interface
Definition at line 424 of file switch_module_interfaces.h.
Referenced by switch_core_asr_enable_grammar().
switch_status_t(* switch_asr_interface::asr_feed) (switch_asr_handle_t *ah, void *data, unsigned int len, switch_asr_flag_t *flags) |
function to feed audio to the ASR
Definition at line 402 of file switch_module_interfaces.h.
Referenced by switch_core_asr_feed().
switch_status_t(* switch_asr_interface::asr_feed_dtmf) (switch_asr_handle_t *ah, const switch_dtmf_t *dtmf, switch_asr_flag_t *flags) |
function to feed DTMF to the ASR
Definition at line 430 of file switch_module_interfaces.h.
Referenced by switch_core_asr_feed_dtmf().
void(* switch_asr_interface::asr_float_param) (switch_asr_handle_t *ah, char *param, double val) |
Definition at line 417 of file switch_module_interfaces.h.
Referenced by switch_core_asr_float_param().
switch_status_t(* switch_asr_interface::asr_get_result_headers) (switch_asr_handle_t *ah, switch_event_t **headers, switch_asr_flag_t *flags) |
function to read result headers from the ASR
Definition at line 412 of file switch_module_interfaces.h.
Referenced by switch_core_asr_get_result_headers().
switch_status_t(* switch_asr_interface::asr_get_results) (switch_asr_handle_t *ah, char **xmlstr, switch_asr_flag_t *flags) |
function to read results from the ASR
Definition at line 410 of file switch_module_interfaces.h.
Referenced by switch_core_asr_get_results().
switch_status_t(* switch_asr_interface::asr_load_grammar) (switch_asr_handle_t *ah, const char *grammar, const char *name) |
function to load a grammar to the asr interface
Definition at line 396 of file switch_module_interfaces.h.
Referenced by switch_core_asr_load_grammar().
void(* switch_asr_interface::asr_numeric_param) (switch_asr_handle_t *ah, char *param, int val) |
Definition at line 416 of file switch_module_interfaces.h.
Referenced by switch_core_asr_numeric_param().
switch_status_t(* switch_asr_interface::asr_open) (switch_asr_handle_t *ah, const char *codec, int rate, const char *dest, switch_asr_flag_t *flags) |
function to open the asr interface
Definition at line 394 of file switch_module_interfaces.h.
Referenced by switch_core_asr_open().
switch_status_t(* switch_asr_interface::asr_pause) (switch_asr_handle_t *ah) |
function to pause the ASR
Definition at line 406 of file switch_module_interfaces.h.
Referenced by switch_core_asr_pause().
switch_status_t(* switch_asr_interface::asr_resume) (switch_asr_handle_t *ah) |
function to resume the ASR
Definition at line 404 of file switch_module_interfaces.h.
Referenced by switch_core_asr_resume().
switch_status_t(* switch_asr_interface::asr_start_input_timers) (switch_asr_handle_t *ah) |
function to start ASR input timers
Definition at line 414 of file switch_module_interfaces.h.
Referenced by switch_core_asr_start_input_timers().
void(* switch_asr_interface::asr_text_param) (switch_asr_handle_t *ah, char *param, const char *val) |
Definition at line 415 of file switch_module_interfaces.h.
Referenced by switch_core_asr_text_param().
switch_status_t(* switch_asr_interface::asr_unload_grammar) (switch_asr_handle_t *ah, const char *name) |
function to unload a grammar to the asr interface
Definition at line 398 of file switch_module_interfaces.h.
Referenced by switch_core_asr_unload_grammar().
const char* switch_asr_interface::interface_name |
the name of the interface
Definition at line 392 of file switch_module_interfaces.h.
Referenced by switch_loadable_module_process(), and switch_loadable_module_unprocess().
struct switch_asr_interface* switch_asr_interface::next |
Definition at line 422 of file switch_module_interfaces.h.
Referenced by switch_loadable_module_process(), and switch_loadable_module_unprocess().
switch_loadable_module_interface_t* switch_asr_interface::parent |
Definition at line 421 of file switch_module_interfaces.h.
switch_mutex_t* switch_asr_interface::reflock |
Definition at line 420 of file switch_module_interfaces.h.
int switch_asr_interface::refs |
Definition at line 419 of file switch_module_interfaces.h.
switch_thread_rwlock_t* switch_asr_interface::rwlock |
Definition at line 418 of file switch_module_interfaces.h.
Referenced by switch_loadable_module_unprocess().