<p>Joshua Colp <strong>merged</strong> this change.</p><p><a href="https://gerrit.asterisk.org/6321">View Change</a></p><div style="white-space:pre-wrap">Approvals:
Richard Mudgett: Looks good to me, but someone else must approve
George Joseph: Looks good to me, approved
Joshua Colp: Approved for Submit
</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">confbridge: Handle user hangup during name recording<br><br>This prevents orphaned CBAnn channels from getting stuck in the bridge.<br><br>ASTERISK-26994 #close<br>Reported by: James Terhune<br><br>Change-Id: I5e43e832a9507ec3f2c59752cd900b41dab80457<br>---<br>M apps/app_confbridge.c<br>1 file changed, 5 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/apps/app_confbridge.c b/apps/app_confbridge.c<br>index a33622f..f5f0742 100644<br>--- a/apps/app_confbridge.c<br>+++ b/apps/app_confbridge.c<br>@@ -2320,7 +2320,11 @@<br> if (!quiet &&<br> (ast_test_flag(&user.u_profile, USER_OPT_ANNOUNCE_JOIN_LEAVE) ||<br> (ast_test_flag(&user.u_profile, USER_OPT_ANNOUNCE_JOIN_LEAVE_REVIEW)))) {<br>- conf_rec_name(&user, args.conf_name);<br>+ if (conf_rec_name(&user, args.conf_name)) {<br>+ pbx_builtin_setvar_helper(chan, "CONFBRIDGE_RESULT", "FAILED");<br>+ res = -1; /* Hangup during name recording */<br>+ goto confbridge_cleanup;<br>+ }<br> }<br> <br> /* menu name */<br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/6321">change 6321</a>. To unsubscribe, 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/6321"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 14 </div>
<div style="display:none"> Gerrit-MessageType: merged </div>
<div style="display:none"> Gerrit-Change-Id: I5e43e832a9507ec3f2c59752cd900b41dab80457 </div>
<div style="display:none"> Gerrit-Change-Number: 6321 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Sean Bright <sean.bright@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Richard Mudgett <rmudgett@digium.com> </div>