How is a ping test delay “ms” different from status in Asterisk “sip show peers”?

Home » Asterisk Users » How is a ping test delay “ms” different from status in Asterisk “sip show peers”?
Asterisk Users 5 Comments

Hi everyone,

Pinging a phone set I get 0.529 ms round trip delay. Running “sip show
peers” in Asterisk CLI I see anywhere from 5 milli seconds to 280 ms. How
are both of these different and why are they so different? Is the latter
based on SIP packets return?

I have a paging device that shows close to 280 ms which is not right but at
ping it’s 0.5 ms.

Regards,

5 thoughts on - How is a ping test delay “ms” different from status in Asterisk “sip show peers”?

  • Also, Asterisk the userspace process processes OPTIONS requests more slowly – and variably – than an OS network stack processes an ICMP echo request.

  • What’s the point of having the metrics then? They are inaccurate and
    deceiving. If there is no benefit to showing the real metrics then why not
    change it to Status = Reachable than showing a number?

    Thanks,

  • Because it’s still more useful than not having it?

    If I see someone with an Asterisk RTT of ~200 ms in ‘sip show peers’,
    I know their phone is working fine. But if I see 3000 ms, they are
    probably lagged due to bandwidth contention or other problem.