[sr-dev] [kamailio] Better counting of received_replies counter (#442)

Stefan Mititelu notifications at github.com
Mon Dec 14 14:16:04 CET 2015


Consider the simple basic dialog scenario:
```
                        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
```
Before this patch:
```
tmx:local_replies = 1
tmx:received_replies = 2
tmx:relayed_replies = 3
```
After this patch:
```
tmx:received_replies = 3
tmx:received_replies_absorbed = 0
tmx:relayed_locally = 1
tmx:relayed_received = 3
tmx:relayed_total = 4
```
You can view, comment on, or merge this pull request online at:

  https://github.com/kamailio/kamailio/pull/442

-- Commit Summary --

  * tmx: refactor counters
  * tmx: Update doku

-- File Changes --

    M modules/tm/t_reply.c (15)
    M modules/tm/t_stats.c (9)
    M modules/tm/t_stats.h (17)
    M modules/tmx/doc/tmx_admin.xml (69)
    M modules/tmx/tmx_mod.c (38)

-- Patch Links --

https://github.com/kamailio/kamailio/pull/442.patch
https://github.com/kamailio/kamailio/pull/442.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/442
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20151214/be1a32d7/attachment.html>


More information about the sr-dev mailing list