[asterisk-users] Why high latency on internal lan?

Stefan Schmidt sst at sil.at
Thu Oct 21 13:24:15 CDT 2010


Am 21.10.2010 20:03, schrieb sean darcy:
> I have a 100MB internal lan. aastra's are wired. asterisk box is wired 
> next to the switch. But look:
> 
> 
> sip show peers
> ........
> 142/142                    10.10.10.42      D       A  5060     OK (137 ms)
> 144/144                    10.10.10.44      D       A  5060     OK (136 ms)
> 145/145                    10.10.10.45      D       A  5060     OK (168 ms)
> 150/150                    10.10.10.50      D       A  5060     OK (136 ms)
> 152/152                    10.10.10.52      D       A  5060     OK (133 ms)
> 153/153                    10.10.10.53      D       A  5060     OK (135 ms)
> 
> ping from the asterisk box to any of the internal phones is < 1ms.
> 
>   My traceroute  [v0.75]
> PBX 
>                                   Thu Oct 21 13:58:36 2010
> 
> Host 10.10.10.42 
> Loss%   Snt   Last   Avg  Best  Wrst StDev
> 0.0%    65    0.6   0.6   0.5   1.3   0.2
> 
> 
> And latencies to outside sip providers are low:
> jnctn/...      66.227.100.20               5060     OK (7 ms)
> teliax/..    8.14.120.23          N      5060     OK (7 ms)
> 
> What gives? Isn't sip show peers measuring latency? Why so different 
> from ping? And, more importantly, do I have a problem?
> 
> sean
> 
> 
hello sean,

the value you see with sip show peers is the latency of an sip option
message from asterisk to your peer. this has nothing to do with ICMP
messages like ping.

the reason for this could be high sip traffic on your asterisk server.
or maybe some locks in the background which needs long to be solved
until the incoming package could be processed.
you didnt say which version you use so its hard to guess.

Even if all these phones are in use they could response slower to an
option message than if they are idle.

best regards

stefan



More information about the asterisk-users mailing list