<p>RTPProxy has the Q command ( both in 12 and 20 releases ) which allows for fetching statistics on a per call basis<br>
Implement a mechanism ( function or pvar ) for fetching them -  eg fetching the call stats at BYE time, for storing them in CDRs or for attaching them to a BYE header ( similar to P-RTP-Stat )</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href="https://github.com/OpenSIPS/opensips/issues/750">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AFOciVemvVitzeu19SKsQUtmxmEDIh2Jks5pY8J5gaJpZM4HCYOe.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/OpenSIPS/opensips/issues/750"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>