<p>Kevin Harwell <strong>merged</strong> this change.</p><p><a href="https://gerrit.asterisk.org/9005">View Change</a></p><div style="white-space:pre-wrap">Approvals:
Kevin Harwell: Looks good to me, but someone else must approve; Approved for Submit
Richard Mudgett: Looks good to me, approved
</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">res_pjsip_endpoint_identifier_ip: Unregister the module for headers.<br><br>Asterisk uses Reference Counting to track whether a module can be unloaded.<br>Every consumer who requires a module, increases the reference count. When the<br>consumer goes, is unloaded itself, it has to decrease the reference count on<br>all its used/required modules. That way<br> core stop gracefully<br>works on the command-line interface (CLI): One module after the other is<br>unloaded. A recent change broke this for the module res_pjsip.<br><br>ASTERISK-27861<br><br>Change-Id: I261abcb411d026bbb0691cc78f28300bfd3103a3<br>---<br>M res/res_pjsip_endpoint_identifier_ip.c<br>1 file changed, 1 insertion(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/res/res_pjsip_endpoint_identifier_ip.c b/res/res_pjsip_endpoint_identifier_ip.c<br>index 555d653..2468786 100644<br>--- a/res/res_pjsip_endpoint_identifier_ip.c<br>+++ b/res/res_pjsip_endpoint_identifier_ip.c<br>@@ -766,6 +766,7 @@<br> ast_cli_unregister_multiple(cli_identify, ARRAY_LEN(cli_identify));<br> ast_sip_unregister_cli_formatter(cli_formatter);<br> ast_sip_unregister_endpoint_formatter(&endpoint_identify_formatter);<br>+ ast_sip_unregister_endpoint_identifier(&header_identifier);<br> ast_sip_unregister_endpoint_identifier(&ip_identifier);<br> <br> return 0;<br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/9005">change 9005</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/9005"/><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: merged </div>
<div style="display:none"> Gerrit-Change-Id: I261abcb411d026bbb0691cc78f28300bfd3103a3 </div>
<div style="display:none"> Gerrit-Change-Number: 9005 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Alexander Traud <pabstraud@compuserve.com> </div>
<div style="display:none"> Gerrit-Reviewer: Alexander Traud <pabstraud@compuserve.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 </div>
<div style="display:none"> Gerrit-Reviewer: Kevin Harwell <kharwell@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Richard Mudgett <rmudgett@digium.com> </div>