<p>Kevin Harwell has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/9014">View Change</a></p><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;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/14/9014/1</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 50ac157..e737b6f 100644<br>--- a/res/res_pjsip_endpoint_identifier_ip.c<br>+++ b/res/res_pjsip_endpoint_identifier_ip.c<br>@@ -768,6 +768,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/9014">change 9014</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/9014"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: certified/13.21 </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I261abcb411d026bbb0691cc78f28300bfd3103a3 </div>
<div style="display:none"> Gerrit-Change-Number: 9014 </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-Reviewer: Alexander Traud <pabstraud@compuserve.com> </div>