<p style="white-space: pre-wrap; word-wrap: break-word;">Ah, I've got it.</p><p style="white-space: pre-wrap; word-wrap: break-word;">Here's my understood scenario.</p><p style="white-space: pre-wrap; word-wrap: break-word;">1. If the session has created once, it will increases the reference of all the registered sip-supplement modules. <br>Because it well be added to session's supplement callback.</p><p style="white-space: pre-wrap; word-wrap: break-word;">2. The module's reference count will be decreased when the session has gone.<br>Because it will be fired when the SIP messages are coming/going.</p><p style="white-space: pre-wrap; word-wrap: break-word;">If I'm correct, I'm worry about below things.</p><ul><li>This will make it's not possible to unload the module if there's any sessions are exist.</li><li>This will make extra-ordinary counts of references. If there's 1000 sessions are, the reference count would be 1000.</li></ul><p style="white-space: pre-wrap; word-wrap: break-word;">Am I right?</p><p><a href="https://gerrit.asterisk.org/10617">View Change</a></p><ul style="list-style: none; padding: 0;"></ul><p>To view, visit <a href="https://gerrit.asterisk.org/10617">change 10617</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/10617"/><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: comment </div>
<div style="display:none"> Gerrit-Change-Id: I5b82be3a75d702cf1933d8d1417f44aa10ad1029 </div>
<div style="display:none"> Gerrit-Change-Number: 10617 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: sungtae kim <pchero21@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 (1000185) </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: sungtae kim <pchero21@gmail.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Mon, 12 Nov 2018 12:45:37 +0000 </div>
<div style="display:none"> Gerrit-HasComments: No </div>
<div style="display:none"> Gerrit-HasLabels: No </div>