Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 95a41d2

Browse files
InterLinked1jcolp
authored andcommitted
app_dial: Fix DTMF not relayed to caller on unanswered calls.
DTMF frames are not handled in app_dial when sent towards the caller. This means that if DTMF is sent to the calling party and the call has not yet been answered, the DTMF is not audible. This is now fixed by relaying DTMF frames if only a single destination is being dialed. ASTERISK-29516 #close Change-Id: Iafd7430ac2915126d42dc48f0b73b262452ee027
1 parent faf58cc commit 95a41d2

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

apps/app_dial.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1701,6 +1701,8 @@ static struct ast_channel *wait_for_answer(struct ast_channel *in,
17011701
case AST_FRAME_VIDEO:
17021702
case AST_FRAME_VOICE:
17031703
case AST_FRAME_IMAGE:
1704+
case AST_FRAME_DTMF_BEGIN:
1705+
case AST_FRAME_DTMF_END:
17041706
if (caller_entertained) {
17051707
break;
17061708
}

0 commit comments

Comments
 (0)