<p>sungtae kim has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/11149">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">main/pbx.c: Fixed to call the ast_softhangup()<br><br>If the channel moved to the normal dialplan from the stasis() application,<br>it doesn't create a SoftChannelRequest(AMI)/ChannelHangupRequest(ARI) events.<br>Fixed it to call the those events create handler for in any case.<br><br>ASTERISK-28336<br><br>Change-Id: I6652359e42bb9fe3f2c44c03df4365c183baf73d<br>---<br>M main/pbx.c<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/49/11149/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/main/pbx.c b/main/pbx.c</span><br><span>index ee5ed7e..6e6c654 100644</span><br><span>--- a/main/pbx.c</span><br><span>+++ b/main/pbx.c</span><br><span>@@ -4559,8 +4559,8 @@</span><br><span>                 ast_log(LOG_WARNING, "Don't know what to do with '%s'\n", ast_channel_name(c));</span><br><span>        }</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+ ast_softhangup(c, AST_SOFTHANGUP_APPUNLOAD);</span><br><span>         if (!args || !args->no_hangup_chan) {</span><br><span style="color: hsl(0, 100%, 40%);">-                ast_softhangup(c, AST_SOFTHANGUP_APPUNLOAD);</span><br><span>                 if (!ast_test_flag(ast_channel_flags(c), AST_FLAG_BRIDGE_HANGUP_RUN)</span><br><span>                         && ast_exists_extension(c, ast_channel_context(c), "h", 1,</span><br><span>                                 S_COR(ast_channel_caller(c)->id.number.valid,</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/11149">change 11149</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/+/11149"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I6652359e42bb9fe3f2c44c03df4365c183baf73d </div>
<div style="display:none"> Gerrit-Change-Number: 11149 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: sungtae kim <pchero21@gmail.com> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>