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
_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to