Consider the simple timeout scenario:

                     Messages
INVITE ---------->      1             
407 <----------         1   
ACK ---------->         1              
INVITE ---------->      1           
100 <----------         1      
180 <----------         0    
183 <----------         0       
408 <----------         1
ACK ---------->         1

In the current implementation, running kamctl fifo get_statistics tmx: on a fresh kamailio prints:

...
tmx:local_replies = 2
tmx:received_replies = 1
tmx:relayed_replies = 18446744073709551615

After this patch:

...
tmx:local_replies = 2
tmx:received_replies = 1
tmx:relayed_replies = 0

Fix the above by counting the relayed_total and substracting the relayed_local.


You can view, comment on, or merge this pull request online at:

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

Commit Summary

File Changes

Patch Links:


Reply to this email directly or view it on GitHub.