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
Does the latency remain more or less the same regardless of the bandwidth load on the pipe? If so, TOS bits (what you refer to as QoS) won't help you. You've either got network issues (very likely if you have an intra-network ping of 30 ms) or the outside host you're sending the traffic to is just that far away in latency terms. Stephen Reese wrote:> 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 > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users-- Alex Balashov Evariste Systems Web : http://www.evaristesys.com/ Tel : (+1) (678) 954-0670 Direct : (+1) (678) 954-0671 Mobile : (+1) (706) 338-8599
On Sun, Oct 19, 2008 at 12:31 AM, Stephen Reese <rsreese at gmail.com> wrote:> My latency is kind of high and the voice delay is noticeable.Then pretty much all you can do is lower the latency to lower the voice delay, or use a connection to th e PSTN that has a marginally lower delay if you have no other options.