dect
/
asterisk
Archived
13
0
Fork 0

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
This commit is contained in:
alecdavis 2009-12-15 00:54:44 +00:00
parent e503798c9f
commit 6cb3e6142f
1 changed files with 1 additions and 1 deletions

View File

@ -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);