[asterisk-users] Latency woes, qos the fix?
Stephen Reese
rsreese at gmail.com
Sat Oct 18 23:31:38 CDT 2008
My latency is kind of high and the voice delay is noticeable.
The Asterisk server is on a dedicated host outside of the network. I
am performing PAT/NAT using a Cisco router.
ns1*CLI> sip show peers
Name/username Host Dyn Nat ACL Port Status
vitel-outbound/rsreese 64.2.142.22 5060 Unmonitored
vitel-inbound/rsreese 64.2.142.116 5060 Unmonitored
101/101 68.156.63.111 D N 1038 OK (133 ms)
This seems pretty high when my ping time from a host on the same
network is ~30ms:
Pinging 209.251.157.93 with 32 bytes of data:
Reply from 209.251.157.93: bytes=32 time=30ms TTL=51
Reply from 209.251.157.93: bytes=32 time=27ms TTL=51
Reply from 209.251.157.93: bytes=32 time=36ms TTL=51
Reply from 209.251.157.93: bytes=32 time=28ms TTL=51
Any suggestions or is this normal?
Should I enable qos on my Cisco 3725 router and 2950 switch?
Would I also need to enable the following in the sip.conf
;tos_sip=cs3 ; Sets TOS for SIP packets.
;tos_audio=ef ; Sets TOS for RTP audio packets.
;tos_video=af41 ; Sets TOS for RTP video packets.
;tos_text=af41 ; Sets TOS for RTP text packets.
;cos_sip=3 ; Sets 802.1p priority for SIP packets.
;cos_audio=5 ; Sets 802.1p priority for RTP audio packets.
;cos_video=4 ; Sets 802.1p priority for RTP video packets.
;cos_text=3 ; Sets 802.1p priority for RTP text packets
More information about the asterisk-users
mailing list