[sr-dev] [kamailio] tmx: Fix relayed_replies counter (#420)
Stefan Mititelu
notifications at github.com
Fri Nov 27 11:11:51 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
```
In the current implementation, running _kamctl fifo get_statistics tmx:_ on a fresh kamailio prints:
```
...
tmx:local_replies = 1
tmx:received_replies = 2
tmx:relayed_replies = 1
```
After this patch:
```
...
tmx:local_replies = 1
tmx:received_replies = 2
tmx:relayed_replies = 3 (2 x 200 + 1 x 180)
```
---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/420#issuecomment-160104670
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20151127/244c6a1a/attachment.html>
More information about the sr-dev
mailing list