<p>Kevin Harwell has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/14571">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">chan_pjsip: don't use PJSIP_SC_NULL as it only exists pjproject 2.8+<br><br>A patch made a reference to the PJSIP_SC_NULL enumeration value, which<br>was added to pjproject 2.8 and above thus making it so Asterisk would<br>fail to compile with prior versions of pjproject.<br><br>This patch removes the reference, and instead initializes the value<br>to '0'.<br><br>ASTERISK-28886 #close<br><br>Change-Id: I68491c80da1a0154b2286c9458440141c98db9d7<br>---<br>M channels/chan_pjsip.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/71/14571/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 692151a..c77bced 100644</span><br><span>--- a/channels/chan_pjsip.c</span><br><span>+++ b/channels/chan_pjsip.c</span><br><span>@@ -1999,7 +1999,7 @@</span><br><span>               /* Check for NOTIFY complete or error. */</span><br><span>            pjsip_msg *msg;</span><br><span>              pjsip_msg_body *body;</span><br><span style="color: hsl(0, 100%, 40%);">-           pjsip_status_line status_line = { .code = PJSIP_SC_NULL };</span><br><span style="color: hsl(120, 100%, 40%);">+            pjsip_status_line status_line = { .code = 0 };</span><br><span>               pj_bool_t is_last;</span><br><span>           pj_status_t status;</span><br><span> </span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/14571">change 14571</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/+/14571"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 16 </div>
<div style="display:none"> Gerrit-Change-Id: I68491c80da1a0154b2286c9458440141c98db9d7 </div>
<div style="display:none"> Gerrit-Change-Number: 14571 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Kevin Harwell <kharwell@digium.com> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>