Skip to content

Add latency calculation to sip pings. #7

Open
atibdialpad wants to merge 1 commit intopbertera:masterfrom
atibdialpad:sip_latency
Open

Add latency calculation to sip pings. #7
atibdialpad wants to merge 1 commit intopbertera:masterfrom
atibdialpad:sip_latency

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

Comments