[Asterisk-code-review] app_dial: Fix DTMF not relayed to caller on unanswered calls. (asterisk[18])

N A asteriskteam at digium.com
Wed Mar 8 09:50:20 CST 2023


N A has uploaded this change for review. ( https://gerrit.asterisk.org/c/asterisk/+/19980 )


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/80/19980/1

diff --git a/apps/app_dial.c b/apps/app_dial.c
index c389225..44769de 100644
--- a/apps/app_dial.c
+++ b/apps/app_dial.c
@@ -1762,6 +1762,8 @@
 			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;
 				}

-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/19980
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 18
Gerrit-Change-Id: Iafd7430ac2915126d42dc48f0b73b262452ee027
Gerrit-Change-Number: 19980
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/20230308/d760826a/attachment.html>


More information about the asterisk-code-review mailing list