FreeSWITCH API Documentation
1.7.0
|
#include <switch_cpp.h>
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) |
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 161 of file switch_cpp.cpp.
References menu, pool, switch_assert, switch_core_new_memory_pool, switch_ivr_menu_init(), and zstr.
|
virtual |
Definition at line 193 of file switch_cpp.cpp.
References menu, pool, switch_core_destroy_memory_pool, and switch_ivr_menu_stack_free().
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 | ||
) |
|
virtual |
void IVRMenu::bindAction | ( | char * | action, |
const char * | arg, | ||
const char * | bind | ||
) |
Definition at line 201 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::bindAction | ( | char * | action, |
const char * | arg, | ||
const char * | bind | ||
) |
void IVRMenu::execute | ( | CoreSession * | session, |
const char * | name | ||
) |
void IVRMenu::execute | ( | CoreSession * | session, |
const char * | name | ||
) |
Definition at line 215 of file switch_cpp.cpp.
References switch_ivr_menu_execute(), and this_check_void.
|
protected |
Definition at line 85 of file switch_cpp.h.
Referenced by IVRMenu(), and ~IVRMenu().
|
protected |
Definition at line 86 of file switch_cpp.h.
Referenced by IVRMenu(), and ~IVRMenu().