Adding the ability to pass the var_name to store the results in.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11211 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West
2009-01-15 03:42:45 +00:00
parent b9ec9f8e04
commit 69f7357506
13 changed files with 96 additions and 36 deletions

View File

@@ -748,7 +748,8 @@ SWITCH_DECLARE(char *) CoreSession::playAndGetDigits(int min_digits,
int timeout,
char *terminators,
char *audio_files,
char *bad_input_audio_files,
char *bad_input_audio_files,
char *var_name,
char *digits_regex)
{
switch_status_t status;
@@ -763,7 +764,8 @@ SWITCH_DECLARE(char *) CoreSession::playAndGetDigits(int min_digits,
(uint32_t) timeout,
terminators,
audio_files,
bad_input_audio_files,
bad_input_audio_files,
var_name,
dtmf_buf,
sizeof(dtmf_buf),
digits_regex);