Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add latency calculation to sip pings. #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

atibdialpad
Copy link

Add latency calculation to sip pings.
Display '-' whenever latency can't be calculated like in aggressive mode, 100% loss, etc

Sample outputs :

  1. normal case :
    /usr/local/sipping/sipping.py -c 5 -S <source_ip> -p 5060 -q -d <destinatio_ip>

--- statistics ---
5 packets transmitted, 5 packets received, 0.0% packet loss, 48.74 ms avg latency

  1. aggressive mode
    /usr/local/sipping/sipping.py -c 5 -S <source_ip> -p 5060 -q -d <destination_ip> -a

--- statistics ---
5 packets transmitted, 0 packets received, 100.0% packet loss, - ms avg latency

…n't be calculated like in aggressive mode, 100% loss, etc
@atibdialpad
Copy link
Author

Hey @pbertera can you please have a look ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant