mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 20:04:50 +00:00
Ignore DTMF begin frames in the waitstream core so that we don't get duplicate digits in our extension match
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41611 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1029,7 +1029,6 @@ static int waitstream_core(struct ast_channel *c, const char *breakon,
|
|||||||
if (!fr)
|
if (!fr)
|
||||||
return -1;
|
return -1;
|
||||||
switch(fr->frametype) {
|
switch(fr->frametype) {
|
||||||
case AST_FRAME_DTMF_BEGIN:
|
|
||||||
case AST_FRAME_DTMF_END:
|
case AST_FRAME_DTMF_END:
|
||||||
if (context) {
|
if (context) {
|
||||||
const char exten[2] = { fr->subclass, '\0' };
|
const char exten[2] = { fr->subclass, '\0' };
|
||||||
|
Reference in New Issue
Block a user