<p>these new commits on top of those proposed in issue <a href="https://github.com/kamailio/kamailio/issues/461" class="issue-link js-issue-link" data-url="https://github.com/kamailio/kamailio/issues/461" data-id="124853997" data-error-text="Failed to load issue title" data-permission-text="Issue title is private">#461</a> now define 3 modes for the <code>tcp:closed</code> event route:</p>

<ul>
<li>
<strong>0</strong>: globally disabled</li>
<li>
<strong>1</strong>: globally enabled</li>
<li>
<strong>2</strong>: manual (enabled when <code>tcp_enable_closed_event()</code> was applied)</li>
</ul>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/kamailio/kamailio/pull/504'>https://github.com/kamailio/kamailio/pull/504</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>tcp: define new flag to control tcpop's tcp:closed</li>
  <li>tcpops: per-connection control over tcp:closed</li>
  <li>tcpops: add "disabled mode" to closed_event param</li>
  <li>tcpops: update README</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/kamailio/kamailio/pull/504/files#diff-0">modules/tcpops/README</a>
    (97)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/kamailio/kamailio/pull/504/files#diff-1">modules/tcpops/doc/functions.xml</a>
    (43)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/kamailio/kamailio/pull/504/files#diff-2">modules/tcpops/doc/params.xml</a>
    (29)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/kamailio/kamailio/pull/504/files#diff-3">modules/tcpops/tcpops.c</a>
    (10)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/kamailio/kamailio/pull/504/files#diff-4">modules/tcpops/tcpops.h</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/kamailio/kamailio/pull/504/files#diff-5">modules/tcpops/tcpops_mod.c</a>
    (64)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/kamailio/kamailio/pull/504/files#diff-6">tcp_conn.h</a>
    (1)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/kamailio/kamailio/pull/504.patch'>https://github.com/kamailio/kamailio/pull/504.patch</a></li>
  <li><a href='https://github.com/kamailio/kamailio/pull/504.diff'>https://github.com/kamailio/kamailio/pull/504.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/kamailio/kamailio/pull/504">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZXNROLZLOag4py6PwC-V5UyUIMhWks5piPQzgaJpZM4HVy4W.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/kamailio/kamailio/pull/504"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>