<p>I doesn't look ok, because the stats will be built only for rpc process, not for all kamailio processes.</p>

<p>Iirc, the pkg stats were refactored because they were initially slow, but probably not available in 4.1. Anyhow, this solution doesn't seem ok, either a full backport or some other solution if you want to push something to 4.1.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly or <a href="https://github.com/kamailio/kamailio/pull/567#issuecomment-210115549">view it on GitHub</a><img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZW2MR4f6ft3t--X4SXG85Ml_6U0Nks5p3pfQgaJpZM4IHcCr.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/567#issuecomment-210115549"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>