[Asterisk-code-review] app_dial: Fix DTMF not relayed to caller on unanswered calls. (asterisk[master])
N A
asteriskteam at digium.com
Fri Mar 3 18:11:35 CST 2023
N A has uploaded this change for review. ( https://gerrit.asterisk.org/c/asterisk/+/19937 )
Change subject: app_dial: Fix DTMF not relayed to caller on unanswered calls.
......................................................................
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
---
M apps/app_dial.c
1 file changed, 19 insertions(+), 0 deletions(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/37/19937/1
diff --git a/apps/app_dial.c b/apps/app_dial.c
index 1a69edf..819ef74 100644
--- a/apps/app_dial.c
+++ b/apps/app_dial.c
@@ -1705,6 +1705,8 @@
break;
}
/* Fall through */
+ case AST_FRAME_DTMF_BEGIN:
+ case AST_FRAME_DTMF_END:
case AST_FRAME_TEXT:
if (single && ast_write(in, f)) {
ast_log(LOG_WARNING, "Unable to write frametype: %u\n",
--
To view, visit https://gerrit.asterisk.org/c/asterisk/+/19937
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Change-Id: Iafd7430ac2915126d42dc48f0b73b262452ee027
Gerrit-Change-Number: 19937
Gerrit-PatchSet: 1
Gerrit-Owner: N A <asterisk at phreaknet.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20230304/ef4aaa9f/attachment.html>
More information about the asterisk-code-review
mailing list