mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-02 19:16:15 +00:00
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
This commit is contained in:
committed by
Joshua Colp
parent
f41183e101
commit
48e3da5cdf
@@ -1762,6 +1762,8 @@ static struct ast_channel *wait_for_answer(struct ast_channel *in,
|
||||
case AST_FRAME_VIDEO:
|
||||
case AST_FRAME_VOICE:
|
||||
case AST_FRAME_IMAGE:
|
||||
case AST_FRAME_DTMF_BEGIN:
|
||||
case AST_FRAME_DTMF_END:
|
||||
if (caller_entertained) {
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user