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:
Michael S Collins
2011-08-18 20:29:52 -07:00
parent dc80c40180
commit e4d473190d
5 changed files with 58 additions and 9 deletions
+2 -1
View File
@@ -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
*