|
RTS API Documentation
1.10.11
|
#include <switch_cpp.h>
Collaboration diagram for IVRMenu:Public Member Functions | |
| IVRMenu (IVRMenu *main, const char *name, const char *greeting_sound, const char *short_greeting_sound, const char *invalid_sound, const char *exit_sound, const char *transfer_sound, const char *confirm_macro, const char *confirm_key, const char *tts_engine, const char *tts_voice, int confirm_attempts, int inter_timeout, int digit_len, int timeout, int max_failures, int max_timeouts) | |
| virtual | ~ IVRMenu () |
| void | bindAction (char *action, const char *arg, const char *bind) |
| void | execute (CoreSession *session, const char *name) |
Protected Attributes | |
| switch_ivr_menu_t * | menu |
| switch_memory_pool_t * | pool |
Definition at line 83 of file switch_cpp.h.
| IVRMenu::IVRMenu | ( | IVRMenu * | main, |
| const char * | name, | ||
| const char * | greeting_sound, | ||
| const char * | short_greeting_sound, | ||
| const char * | invalid_sound, | ||
| const char * | exit_sound, | ||
| const char * | transfer_sound, | ||
| const char * | confirm_macro, | ||
| const char * | confirm_key, | ||
| const char * | tts_engine, | ||
| const char * | tts_voice, | ||
| int | confirm_attempts, | ||
| int | inter_timeout, | ||
| int | digit_len, | ||
| int | timeout, | ||
| int | max_failures, | ||
| int | max_timeouts | ||
| ) |
Definition at line 162 of file switch_cpp.cpp.
References menu, EventConsumer::pool, switch_assert, switch_core_destroy_memory_pool, switch_core_new_memory_pool, SWITCH_DECLARE_CONSTRUCTOR, switch_ivr_menu_init(), switch_ivr_menu_stack_free(), and zstr.
|
virtual |
| void IVRMenu::bindAction | ( | char * | action, |
| const char * | arg, | ||
| const char * | bind | ||
| ) |
Definition at line 202 of file switch_cpp.cpp.
References SWITCH_CHANNEL_LOG, SWITCH_IVR_ACTION_NOOP, switch_ivr_menu_bind_action(), switch_ivr_menu_str2action(), SWITCH_LOG_DEBUG, SWITCH_LOG_ERROR, switch_log_printf(), SWITCH_STATUS_SUCCESS, and this_check_void.
| void IVRMenu::execute | ( | CoreSession * | session, |
| const char * | name | ||
| ) |
Definition at line 216 of file switch_cpp.cpp.
References CoreSession::session, switch_ivr_menu_execute(), and this_check_void.
|
protected |
Definition at line 85 of file switch_cpp.h.
Referenced by IVRMenu().
|
protected |
Definition at line 86 of file switch_cpp.h.
1.8.13