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.