<p>Oron Peled has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/11538">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">openr2(6/6): Set hangup cause<br><br>Change-Id: I94dc38920e6e77cc73062648f62fdd613d0d1452<br>Signed-off-by: Oron Peled <oron.peled@xorcom.com><br>---<br>M channels/chan_dahdi.c<br>1 file changed, 1 insertion(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/38/11538/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c</span><br><span>index 35d9f96..d5b351f 100644</span><br><span>--- a/channels/chan_dahdi.c</span><br><span>+++ b/channels/chan_dahdi.c</span><br><span>@@ -3944,6 +3944,7 @@</span><br><span> ast_copy_string(cause_code->code, cause_str, datalen + 1 - sizeof(*cause_code));</span><br><span> ast_queue_control_data(p->owner, AST_CONTROL_PVT_CAUSE_CODE, cause_code, datalen);</span><br><span> ast_channel_hangupcause_hash_set(p->owner, cause_code, datalen);</span><br><span style="color: hsl(120, 100%, 40%);">+ ast_channel_hangupcause_set(p->owner, cause_code->ast_cause);</span><br><span> </span><br><span> /* when we have an owner we don't call dahdi_r2_disconnect_call here, that will</span><br><span> be done in dahdi_hangup */</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/11538">change 11538</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/+/11538"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 13 </div>
<div style="display:none"> Gerrit-Change-Id: I94dc38920e6e77cc73062648f62fdd613d0d1452 </div>
<div style="display:none"> Gerrit-Change-Number: 11538 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Oron Peled <oron.peled@xorcom.com> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>