<p>Sean Bright has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/6323">View Change</a></p><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;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/23/6323/1</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 b2d612d..d218d0f 100644<br>--- a/apps/app_confbridge.c<br>+++ b/apps/app_confbridge.c<br>@@ -2326,7 +2326,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/6323">change 6323</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/6323"/><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-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I5e43e832a9507ec3f2c59752cd900b41dab80457 </div>
<div style="display:none"> Gerrit-Change-Number: 6323 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Sean Bright <sean.bright@gmail.com> </div>