<p>Consider the simple basic dialog scenario:</p>
<pre><code> Messages
INVITE ----------> 1
407 <---------- 1
ACK ----------> 1
INVITE ----------> 1
100 <---------- 1
180 <---------- 1
183 <---------- 0
200 <---------- 1
ACK ----------> 1
Pause [ 7000ms] 1
BYE ----------> 1
200 <---------- 1
</code></pre>
<p>Before this patch:</p>
<pre><code>tmx:local_replies = 1
tmx:received_replies = 2
tmx:relayed_replies = 3
</code></pre>
<p>After this patch:</p>
<pre><code>tmx:received_replies = 3
tmx:received_replies_absorbed = 0
tmx:relayed_locally = 1
tmx:relayed_received = 3
tmx:relayed_total = 4
</code></pre>
<hr>
<h4>You can view, comment on, or merge this pull request online at:</h4>
<p> <a href='https://github.com/kamailio/kamailio/pull/442'>https://github.com/kamailio/kamailio/pull/442</a></p>
<h4>Commit Summary</h4>
<ul>
<li>tmx: refactor counters</li>
<li>tmx: Update doku</li>
</ul>
<h4>File Changes</h4>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/kamailio/kamailio/pull/442/files#diff-0">modules/tm/t_reply.c</a>
(15)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/kamailio/kamailio/pull/442/files#diff-1">modules/tm/t_stats.c</a>
(9)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/kamailio/kamailio/pull/442/files#diff-2">modules/tm/t_stats.h</a>
(17)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/kamailio/kamailio/pull/442/files#diff-3">modules/tmx/doc/tmx_admin.xml</a>
(69)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/kamailio/kamailio/pull/442/files#diff-4">modules/tmx/tmx_mod.c</a>
(38)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/kamailio/kamailio/pull/442.patch'>https://github.com/kamailio/kamailio/pull/442.patch</a></li>
<li><a href='https://github.com/kamailio/kamailio/pull/442.diff'>https://github.com/kamailio/kamailio/pull/442.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/442">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZWWgjLJjWoX_UXse5jWguHSon9p5ks5pPriUgaJpZM4G0vhy.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/442"></link>
<meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>