add read app

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7784 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2008-03-04 18:55:16 +00:00
parent 8f153787ac
commit 747e0905d2
4 changed files with 136 additions and 2 deletions

View File

@@ -647,7 +647,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_collect_digits_count(switch_core_sess
digit_started = switch_timestamp_now();
}
for (y = 0; y < maxdigits; y++) {
for (y = 0; y <= maxdigits; y++) {
if (switch_channel_dequeue_dtmf(channel, &dtmf) != SWITCH_STATUS_SUCCESS) {
break;
}