aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_directory.c
diff options
context:
space:
mode:
authoralecdavis <alecdavis@f38db490-d61c-443f-a65b-d21fe96a405b>2009-12-15 00:54:44 +0000
committeralecdavis <alecdavis@f38db490-d61c-443f-a65b-d21fe96a405b>2009-12-15 00:54:44 +0000
commit6cb3e6142f39174ea24c85c298523bbc2902d6d7 (patch)
tree666978884d2983606312b19051cb56cc7f89160e /apps/app_directory.c
parente503798c9f168185d026d2b52f4fd8f00f00c515 (diff)
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/trunk@234855 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_directory.c')
-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 34001ad51..deca03922 100644
--- a/apps/app_directory.c
+++ b/apps/app_directory.c
@@ -808,7 +808,7 @@ static int directory_exec(struct ast_channel *chan, const char *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);