<p>Benjamin Keith Ford has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/15344">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">chan_pjsip.c: Add parameters to frame in indicate.<br><br>There are a couple of parameters (datalen and data) that do not get set<br>in chan_pjsip_indicate which could cause an Invalid message to pop up<br>for things such as fax. This patch adds them to the frame.<br><br>Change-Id: Ia51be086a0708be905e73d1f433572c49c7e38f8<br>---<br>M channels/chan_pjsip.c<br>1 file changed, 3 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/44/15344/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/channels/chan_pjsip.c b/channels/chan_pjsip.c</span><br><span>index 46fa327..7776a95 100644</span><br><span>--- a/channels/chan_pjsip.c</span><br><span>+++ b/channels/chan_pjsip.c</span><br><span>@@ -1623,7 +1623,9 @@</span><br><span> .frametype = AST_FRAME_CONTROL,</span><br><span> .subclass = {</span><br><span> .integer = condition</span><br><span style="color: hsl(0, 100%, 40%);">- }</span><br><span style="color: hsl(120, 100%, 40%);">+ },</span><br><span style="color: hsl(120, 100%, 40%);">+ .datalen = datalen,</span><br><span style="color: hsl(120, 100%, 40%);">+ .data.ptr = (void *)data,</span><br><span> };</span><br><span> char condition_name[256];</span><br><span> SCOPE_ENTER(3, "%s: Indicated %s\n", ast_channel_name(ast),</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/15344">change 15344</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/+/15344"/><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: Ia51be086a0708be905e73d1f433572c49c7e38f8 </div>
<div style="display:none"> Gerrit-Change-Number: 15344 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Benjamin Keith Ford <bford@digium.com> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>