aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authoralecdavis <alecdavis@f38db490-d61c-443f-a65b-d21fe96a405b>2009-12-15 01:40:31 +0000
committeralecdavis <alecdavis@f38db490-d61c-443f-a65b-d21fe96a405b>2009-12-15 01:40:31 +0000
commit5851fde8a4084879fff1c96c5bfba0d9ff189b13 (patch)
tree9d307d8d6b3dc7ed93f121b4c46bdcf95a545862 /apps
parent278e4036f9995fe688622a00a8c8290929d4d6ca (diff)
Merged revisions 234855 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ........ r234855 | alecdavis | 2009-12-15 13:54:44 +1300 (Tue, 15 Dec 2009) | 9 lines ast_stream_and_wait(chan,dir-usingkeypad) didn't capture the dialled DTMF. (closes issue #16409) Reported by: alecdavis Tested by: alecdavis Patch bug_16409.diff.txt uploaded by alecdavis (license 585) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@234890 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r--apps/app_directory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_directory.c b/apps/app_directory.c
index 82a9fccb8..4960d9fd9 100644
--- a/apps/app_directory.c
+++ b/apps/app_directory.c
@@ -808,7 +808,7 @@ static int directory_exec(struct ast_channel *chan, void *data)
"dir-firstlast", AST_DIGIT_ANY);
}
if (!res) {
- ast_stream_and_wait(chan, "dir-usingkeypad", AST_DIGIT_ANY);
+ res = ast_stream_and_wait(chan, "dir-usingkeypad", AST_DIGIT_ANY);
}
}
ast_stopstream(chan);