mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 04:31:50 +00:00
mod_dptools: add transfer_on_failure ext/dp/context to play_and_get_digits
If max tries is reach and user has not made a valid entry then system transfers the call leg to the specified destination.
This commit is contained in:
@@ -312,7 +312,8 @@ SWITCH_DECLARE(bool) email(char *to, char *from, char *headers = NULL, char *bod
|
||||
int max_digits,
|
||||
int max_tries,
|
||||
int timeout, char *terminators, char *audio_files, char *bad_input_audio_files,
|
||||
char *digits_regex, const char *var_name = NULL, int digit_timeout = 0);
|
||||
char *digits_regex, const char *var_name = NULL, int digit_timeout = 0,
|
||||
const char *transfer_on_failure = NULL);
|
||||
|
||||
/** \brief Play a file that resides on disk into the channel
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user