<p>PKG_MEM is not defined or use anywhere else in the code, so assuming <code>PKG_MALLOC</code> is meant here.</p>

<hr>

<h4>You can merge this Pull Request by running</h4>
<pre>  git pull https://github.com/shimaore/opensips pkg_mem_events</pre>
<p>Or view, comment on, or merge it at:</p>
<p>&nbsp;&nbsp;<a href='https://github.com/OpenSIPS/opensips/pull/139'>https://github.com/OpenSIPS/opensips/pull/139</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Allow for `event_pkg_threshold` support.</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/139/files#diff-0">cfg.y</a>
    (4)
  </li>
</ul>

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