I was wondering if anyone knows how accurate the values are when you do a "sip show peers" from the CLI. My configuration is: Asterisk box (192.168.1.102) -> gigabit switch <- PC running x-lite (192.168.1.100) the CLI reports 101 ms delay however, ping is showing <1ms delay Where is the extra 100ms coming from? The softphone response? Here is a dump of some data: CLI> sip show peers Name/username Host Dyn Nat ACL Port Status 2006/2006 192.168.1.110 D 5060 OK (10 ms) 2005/2005 192.168.1.110 D 5060 OK (10 ms) 2004/2004 192.168.1.100 D 29786 OK (101 ms) 2003/2003 192.168.1.106 D N 12700 OK (219 ms) 2001 (Unspecified) D N 0 UNKNOWN 5 sip peers [Monitored: 4 online, 1 offline Unmonitored: 1 online, 0 offline] # traceroute 192.168.1.100 traceroute to 192.168.1.100 (192.168.1.100), 30 hops max, 40 byte packets 1 rolan6 (192.168.1.100) 0.069 ms 0.069 ms 0.074 ms # ping 192.168.1.100 PING 192.168.1.100 (192.168.1.100) 56(84) bytes of data. 64 bytes from 192.168.1.100: icmp_seq=1 ttl=128 time=0.086 ms 64 bytes from 192.168.1.100: icmp_seq=2 ttl=128 time=0.111 ms 64 bytes from 192.168.1.100: icmp_seq=3 ttl=128 time=0.246 ms 64 bytes from 192.168.1.100: icmp_seq=4 ttl=128 time=0.319 ms 64 bytes from 192.168.1.100: icmp_seq=5 ttl=128 time=0.106 ms 64 bytes from 192.168.1.100: icmp_seq=6 ttl=128 time=0.215 ms --- 192.168.1.100 ping statistics --- 6 packets transmitted, 6 received, 0% packet loss, time 4999ms rtt min/avg/max/mdev = 0.086/0.180/0.319/0.086 ms
Tomislav Parcina
2007-Apr-04 05:12 UTC
[asterisk-users] Re: Correct latency values in "sip show peers"
Rolz wrote:> I was wondering if anyone knows how accurate the values are when you do a > "sip show peers" from the CLI. > > My configuration is: > > Asterisk box (192.168.1.102) -> gigabit switch <- PC running x-lite > (192.168.1.100) > > the CLI reports 101 ms delay > however, ping is showing <1ms delay > Where is the extra 100ms coming from? The softphone response?I'm not sure, but I think that ping isn't OSI ISO Layer 7, while softphone is. So, this 100 ms can come from there. -- Tomislav Parcina firstname.lastname@email.t-com.hr