<p>Joshua Colp <strong>submitted</strong> this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/18645">View Change</a></p><div style="white-space:pre-wrap">Approvals:
Joshua Colp: Looks good to me, but someone else must approve; Approved for Submit
Kevin Harwell: Looks good to me, approved
</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">res_pjsip: Actually enable session timers when timers=always<br><br>When a pjsip endpoint is defined with timers=always, this has been a<br>functional noop. This patch correctly sets the feature bitmap to both<br>enable support for session timers and to enable them even when the<br>endpoint itself does not request or support timers.<br><br>ASTERISK-29603<br>Reported-By: Ray Crumrine<br><br>Change-Id: I8b5eeaa9ec7f50cc6d96dd34c2b4aa9c53fb5440<br>---<br>M res/res_pjsip/pjsip_configuration.c<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/res/res_pjsip/pjsip_configuration.c b/res/res_pjsip/pjsip_configuration.c</span><br><span>index 53a0e9b..1bde576 100644</span><br><span>--- a/res/res_pjsip/pjsip_configuration.c</span><br><span>+++ b/res/res_pjsip/pjsip_configuration.c</span><br><span>@@ -220,7 +220,7 @@</span><br><span> } else if (!strcasecmp(var->value, "required")) {</span><br><span> endpoint->extensions.flags |= PJSIP_INV_REQUIRE_TIMER;</span><br><span> } else if (!strcasecmp(var->value, "always") || !strcasecmp(var->value, "forced")) {</span><br><span style="color: hsl(0, 100%, 40%);">- endpoint->extensions.flags |= PJSIP_INV_ALWAYS_USE_TIMER;</span><br><span style="color: hsl(120, 100%, 40%);">+ endpoint->extensions.flags |= (PJSIP_INV_SUPPORT_TIMER | PJSIP_INV_ALWAYS_USE_TIMER);</span><br><span> } else if (!ast_false(var->value)) {</span><br><span> return -1;</span><br><span> }</span><br><span></span><br></pre><div style="white-space:pre-wrap"></div><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/18645">change 18645</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/+/18645"/><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: I8b5eeaa9ec7f50cc6d96dd34c2b4aa9c53fb5440 </div>
<div style="display:none"> Gerrit-Change-Number: 18645 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Trevor Peirce <trev@acrovoice.ca> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@sangoma.com> </div>
<div style="display:none"> Gerrit-Reviewer: Kevin Harwell <kharwell@digium.com> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>