mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 04:11:08 +00:00
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: https://origsvn.digium.com/svn/asterisk/trunk@234855 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -808,7 +808,7 @@ static int directory_exec(struct ast_channel *chan, const char *data)
|
|||||||
"dir-firstlast", AST_DIGIT_ANY);
|
"dir-firstlast", AST_DIGIT_ANY);
|
||||||
}
|
}
|
||||||
if (!res) {
|
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);
|
ast_stopstream(chan);
|
||||||
|
Reference in New Issue
Block a user