Index: apps/app_directory.c =================================================================== --- apps/app_directory.c (revision 233687) +++ apps/app_directory.c (working copy) @@ -808,7 +808,7 @@ "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);