MODAPP-448 Phrase "speak-text" application returns on first key press in phrase file on Windows

This commit is contained in:
Jeff Lenk 2010-08-23 15:54:23 -05:00
parent 705dd237de
commit 6d74d7ab66
1 changed files with 2 additions and 2 deletions

View File

@ -627,7 +627,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_record_file(switch_core_session_t *se
if (args->input_callback) {
status = args->input_callback(session, (void *) &dtmf, SWITCH_INPUT_TYPE_DTMF, args->buf, args->buflen);
} else {
switch_copy_string((char *) args->buf, (void *) &dtmf, args->buflen);
*((char *) args->buf) = dtmf.digit;
status = SWITCH_STATUS_BREAK;
}
}
@ -1927,7 +1927,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_speak_text_handle(switch_core_session
if (args->input_callback) {
status = args->input_callback(session, (void *) &dtmf, SWITCH_INPUT_TYPE_DTMF, args->buf, args->buflen);
} else {
switch_copy_string((char *) args->buf, (void *) &dtmf, args->buflen);
*((char *) args->buf) = dtmf.digit;
status = SWITCH_STATUS_BREAK;
}
}