FreeSWITCH API Documentation
1.7.0
|
#include <switch.h>
Go to the source code of this file.
Data Structures | |
struct | switch_ivr_menu |
struct | switch_ivr_menu_action |
struct | switch_ivr_menu_xml_map |
struct | switch_ivr_menu_xml_ctx |
struct | iam_s |
Macros | |
#define | MENU_EVENT_ENTER "menu::enter" |
#define | MENU_EVENT_EXIT "menu::exit" |
Typedefs | |
typedef struct switch_ivr_menu_xml_map | switch_ivr_menu_xml_map_t |
Variables | |
static struct iam_s | iam [] |
#define MENU_EVENT_ENTER "menu::enter" |
Definition at line 78 of file switch_ivr_menu.c.
Referenced by switch_ivr_menu_execute().
#define MENU_EVENT_EXIT "menu::exit" |
Definition at line 79 of file switch_ivr_menu.c.
Referenced by switch_ivr_menu_execute().
typedef struct switch_ivr_menu_xml_map switch_ivr_menu_xml_map_t |
|
static |
Definition at line 429 of file switch_ivr_menu.c.
References switch_channel_expand_variables, switch_core_session_execute_application, switch_core_session_get_channel(), and switch_core_session_strdup.
Referenced by audio_bridge_thread(), and switch_ivr_menu_execute().
|
static |
Definition at line 785 of file switch_ivr_menu.c.
References iam, SWITCH_CHANNEL_LOG, SWITCH_FALSE, switch_log_printf(), SWITCH_LOG_WARNING, switch_str_nil, SWITCH_TRUE, and zstr.
Referenced by switch_ivr_menu_stack_xml_build().
|
static |
Definition at line 81 of file switch_ivr_menu.c.
References switch_ivr_menu::name, switch_channel_event_set_data(), switch_core_session_get_channel(), switch_event_add_header_string(), switch_event_create_subclass, SWITCH_EVENT_CUSTOM, switch_event_fire, SWITCH_STACK_BOTTOM, and SWITCH_STATUS_SUCCESS.
Referenced by switch_ivr_menu_execute().
|
static |
Definition at line 326 of file switch_ivr_menu.c.
References switch_ivr_menu::buf, buf, switch_input_args_t::buf, switch_input_args_t::buflen, switch_ivr_menu::confirm_attempts, switch_ivr_menu::confirm_key, switch_ivr_menu::confirm_macro, switch_ivr_menu::inlen, switch_ivr_menu::inter_timeout, memset(), switch_ivr_menu::ptr, switch_channel_expand_variables, switch_channel_get_variable, SWITCH_CHANNEL_SESSION_LOG, switch_core_session_get_channel(), switch_ivr_collect_digits_count(), switch_ivr_phrase_macro, switch_ivr_play_file(), SWITCH_LOG_DEBUG, switch_log_printf(), switch_safe_free, SWITCH_STATUS_FALSE, SWITCH_STATUS_SUCCESS, switch_ivr_menu::timeout, and zstr.
Referenced by switch_ivr_menu_execute().
|
static |
Definition at line 92 of file switch_ivr_menu.c.
References switch_ivr_menu::name, and switch_ivr_menu::next.
Referenced by switch_ivr_menu_execute(), and switch_ivr_menu_stack_xml_build().
|
static |
Definition at line 102 of file switch_ivr_menu.c.
References switch_ivr_menu::next.
Referenced by switch_ivr_menu_init().
|
static |
Definition at line 717 of file switch_ivr_menu.c.
References switch_ivr_menu_xml_map::action, switch_ivr_menu_xml_map::function, switch_ivr_menu_xml_ctx::map, switch_ivr_menu_xml_map::name, switch_ivr_menu_xml_map::next, switch_ivr_menu_xml_ctx::pool, SWITCH_CHANNEL_LOG, switch_core_alloc, switch_core_strdup, switch_ivr_menu_stack_xml_find(), SWITCH_LOG_DEBUG, SWITCH_LOG_ERROR, switch_log_printf(), SWITCH_STATUS_FALSE, SWITCH_STATUS_MEMERR, and SWITCH_STATUS_SUCCESS.
Referenced by switch_ivr_menu_stack_xml_add_custom(), and switch_ivr_menu_stack_xml_init().
|
static |
Definition at line 705 of file switch_ivr_menu.c.
References switch_ivr_menu_xml_ctx::map, switch_ivr_menu_xml_map::name, and switch_ivr_menu_xml_map::next.
Referenced by switch_ivr_menu_stack_xml_add().
|
static |
Referenced by is_valid_action(), switch_ivr_menu_stack_xml_init(), and switch_ivr_menu_str2action().