<p>Joshua Colp <strong>submitted</strong> this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/19981">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span></span><br></pre><div style="white-space:pre-wrap">Approvals:
  Joshua Colp: Looks good to me, but someone else must approve; Approved for Submit
  George Joseph: Looks good to me, approved

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">app_dial: Fix DTMF not relayed to caller on unanswered calls.<br><br>DTMF frames are not handled in app_dial when sent towards the<br>caller. This means that if DTMF is sent to the calling party<br>and the call has not yet been answered, the DTMF is not audible.<br>This is now fixed by relaying DTMF frames if only a single<br>destination is being dialed.<br><br>ASTERISK-29516 #close<br><br>Change-Id: Iafd7430ac2915126d42dc48f0b73b262452ee027<br>---<br>M apps/app_dial.c<br>1 file changed, 19 insertions(+), 0 deletions(-)<br><br></pre>
<pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/apps/app_dial.c b/apps/app_dial.c</span><br><span>index c389225..44769de 100644</span><br><span>--- a/apps/app_dial.c</span><br><span>+++ b/apps/app_dial.c</span><br><span>@@ -1762,6 +1762,8 @@</span><br><span>                     case AST_FRAME_VIDEO:</span><br><span>                        case AST_FRAME_VOICE:</span><br><span>                        case AST_FRAME_IMAGE:</span><br><span style="color: hsl(120, 100%, 40%);">+                 case AST_FRAME_DTMF_BEGIN:</span><br><span style="color: hsl(120, 100%, 40%);">+                    case AST_FRAME_DTMF_END:</span><br><span>                             if (caller_entertained) {</span><br><span>                                    break;</span><br><span>                               }</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/19981">change 19981</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/c/asterisk/+/19981"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 20 </div>
<div style="display:none"> Gerrit-Change-Id: Iafd7430ac2915126d42dc48f0b73b262452ee027 </div>
<div style="display:none"> Gerrit-Change-Number: 19981 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: N A <asterisk@phreaknet.org> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Reviewer: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@sangoma.com> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>