Voice QoS


Published on

  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide
  • Perception of One Aspect Affects Perception of Overall VQ One of the main reasons clarity, delay, and echo are grouped together is that many users will report unacceptable VQ if only one aspect of VQ is unacceptable. For example, users rarely distinguish between distortion and annoying echo; they simply report unacceptable call quality. While network equipment manufacturers and service providers often need to distill voice-quality issues into distinct areas, users do not. Clarity and Delay Are Orthogonal Aspects of VQ Distortion and fidelity are independent of end-to-end delay in that a voice signal can experience significant delay yet sound very good. The converse is also true: A voice signal can sound very distorted but travel end-to-end too quickly to be perceived by the user. For VQ to be perceived as acceptable, however, clarity must be reasonably good, and delay must be reasonably short. Echo Depends on Delay and Affects Clarity As this tutorial later explains in detail, echo is perceptible only when network delay (defined in this case as the roundtrip delay from the talker to the point of echo) is above a certain threshold. In other words, echo coming from any remote point in the network will not be heard unless it is delayed long enough to be audibly separate from the original spoken phrase. Similarly, perceived clarity is often negatively impacted by audible echo, even though the level of distortion in the echo signal itself may be quite low.
  • Voice QoS

    1. 1. Voice QoS LANtel Telecommunication Corp. Senior Product Manager Jeremy Chan
    2. 2. Agenda <ul><li>Voice Quality is Subjective </li></ul><ul><li>Voice Quality Defined </li></ul><ul><li>Clarity Voice Quality </li></ul><ul><li>Delay </li></ul><ul><li>Echo </li></ul><ul><li>Silence Suppression </li></ul>
    3. 3. <ul><li>Voice Quality is Subjective </li></ul>
    4. 4. <ul><li>VQ should be approached from an end-to-end perspective. </li></ul><ul><li>Customers need to receive the same quality of voice transmission they receive with basic telephone services. </li></ul><ul><li>These end-to-end and subjective characteristics of VQ make measuring it an interesting challenge. </li></ul>VQ is Subjective
    5. 5. VoIP QoS <ul><li>VoIP traffic must be guaranteed certain compensating bandwidth, latency, and jitter requirements. </li></ul><ul><li>QoS provides better network service: </li></ul><ul><ul><li>Real-Time Bandwidth </li></ul></ul><ul><ul><li>Important Gateway Processes </li></ul></ul><ul><ul><li>Packet Loss </li></ul></ul><ul><ul><li>Delay </li></ul></ul><ul><ul><li>Nonlinear Codecs </li></ul></ul>
    6. 6. <ul><li>Voice Quality Defined </li></ul>
    7. 7. VoIP Architecture Branch 1 Branch N Server Farm PBX Telephone Telephone Telephone IWF IWF IWF HQ PSTN Packet Network
    8. 8. Service Requirements <ul><li>Loudness distortion </li></ul><ul><li>Noise </li></ul><ul><li>Fading </li></ul><ul><li>Crosstalk </li></ul><ul><li>Echo </li></ul><ul><li>End-to-end delay </li></ul><ul><li>Silence suppression performance </li></ul><ul><li>Echo canceller performance </li></ul><ul><li>Loudness </li></ul><ul><li>Distortion </li></ul><ul><li>Noise </li></ul><ul><li>Fading </li></ul><ul><li>Crosstalk </li></ul><ul><li>Offered services—such as calling card, 1-800/900 services, follow-me, and voice mail </li></ul><ul><li>Availability of users in other countries or regions </li></ul><ul><li>Network availability—down time, busy signals </li></ul><ul><li>Reliability—such as dropped calls or wrong number </li></ul><ul><li>Price </li></ul>Conversation Quality Sound Quality Service Quality
    9. 9. Relationship among Clarity, Delay, and Echo with Regard to VQ <ul><li>clarity </li></ul><ul><ul><li>a voice signal’s fidelity, clearness, lack of distortion, and intelligibility. </li></ul></ul><ul><li>end-to-end delay </li></ul><ul><ul><li>the time it takes a voice signal to travel from talker to listener </li></ul></ul><ul><li>echo </li></ul><ul><ul><li>the sound of the talker's voice returning to the talker’s ear. </li></ul></ul><ul><li>Note: This’s a conceptual model </li></ul><ul><li>The VQ is influenced by </li></ul><ul><li>clarity, delay, and echo . </li></ul>
    10. 10. <ul><li>Perception of One Aspect Affects Perception of Overall VQ </li></ul><ul><ul><li>Users will report unacceptable VQ if only one aspect of VQ is unacceptable. </li></ul></ul><ul><li>Clarity and Delay Are Orthogonal Aspects of VQ </li></ul><ul><ul><li>Clarity must be reasonably good, delay must be reasonably short. </li></ul></ul><ul><li>Echo Depends on Delay and Affects Clarity </li></ul>
    11. 11. <ul><li>Clarity of Voice Quality </li></ul>
    12. 12. Combined PSTN/VoIP Network <ul><li>PSTN telephone </li></ul><ul><ul><li>influences clarity through the quality of its loudspeaker and microphone. </li></ul></ul><ul><li>PSTN network </li></ul><ul><ul><li>uses digital voice transmission for greater efficiency in the backbone </li></ul></ul><ul><li>VoIP gateway </li></ul><ul><ul><li>interconnects the PSTN with the IP network. </li></ul></ul>
    13. 13. Packet Loss <ul><li>As the network, becomes congested, router buffers fill and start to drop packets. </li></ul><ul><li>Route changes as a result of inoperative network links. </li></ul><ul><li>Packet experiences a large delay in the network and arrives too late to be used in reconstructing the voice signal. </li></ul>
    14. 14. Packet Loss Packet Network Normal Packet Loss X
    15. 15. Avoid Packet Lose <ul><li>Assure minimum throughput for selected applications. </li></ul><ul><li>Prioritization (Classification) </li></ul><ul><li>Router flow control </li></ul><ul><li>Dynamic alternative for assigning resources is the resource reservation protocol (RSVP, RFC 2205) </li></ul>
    16. 16. Speech Codecs <ul><li>A speech codec transforms analog voice into digital bit streams, and vice versa. </li></ul><ul><li>Compression is a balancing act between VQ, local computation power, and the delay and network bandwidth required. </li></ul><ul><li>A codec’s effect on VQ is also influenced by packet size, packet loss, and any error-correction mechanisms used by the codec itself. </li></ul>
    17. 17. Other Factors Affecting Clarity <ul><li>Noise </li></ul><ul><ul><li>Noise can originate from analog lines or from bit errors on data transmission lines. </li></ul></ul><ul><li>Voice Activity Detectors </li></ul><ul><li>Echo </li></ul><ul><li>External Environmental Factors </li></ul><ul><ul><li>a result of room noise, end-user mood, end-user expectations, and other intangible factors, the audio quality could still be perceived as unacceptable. </li></ul></ul>
    18. 18. <ul><li>Delay </li></ul>
    19. 19. Delay <ul><li>Delay is the time required for a signal to traverse the network. </li></ul><ul><ul><li>PSTN Delay </li></ul></ul><ul><ul><li>IP Network Delay </li></ul></ul>Time Received Sent Latency Data Packet
    20. 20. PSTN Delay <ul><li>PSTN delay is most often the result of transmission delay on long-distance trunks. </li></ul><ul><li>Switching delay in network nodes. </li></ul>
    21. 21. IP Network Delay <ul><li>IP network delay is primarily determined by the buffering, queuing, and switching or routing delay of IP routers. </li></ul><ul><ul><li>Packet Capture Delay </li></ul></ul><ul><ul><li>Switching/Routing Delay </li></ul></ul><ul><ul><li>Queuing Time </li></ul></ul><ul><ul><li>VoIP Device Delay </li></ul></ul>
    22. 22. End-to-End Latency Packet Network d m = Delay d 1 d 2 d 3 d 4 d 5 d 6
    23. 23. IP Network Delay (cont.) <ul><li>Packet Capture Delay </li></ul><ul><ul><li>Packet capture delay is the time required to receive the entire packet before processing and forwarding it through the router. </li></ul></ul><ul><ul><li>This delay is determined by the packet length and transmission speed. </li></ul></ul><ul><li>Switching/Routing Delay </li></ul><ul><ul><li>Switching/routing delay is the time the router takes to switch the packet. </li></ul></ul><ul><ul><li>This delay depends on the architecture of the route engine and the size of the routing table. </li></ul></ul>
    24. 24. IP Network Delay (cont.) <ul><li>Queuing Time </li></ul><ul><ul><li>This delay is a function of the traffic load on a packet switch, the length of the packets, and the statistical distribution over the ports. </li></ul></ul><ul><ul><li>Designing very large router and link capacities. </li></ul></ul><ul><li>VoIP Device Delay </li></ul><ul><ul><li>Encode the analog voice signal into a digital signal and to decode the digital voice signal back to analog. </li></ul></ul><ul><ul><li>Transmit side -- Packetization delay </li></ul></ul><ul><ul><li>Receive side -- variation in packet interarrival times (Jitter) </li></ul></ul>
    25. 25. Delay’s Effect on User Experience <ul><li><100 ms: users will not notice the delay. </li></ul><ul><li>100 ms ~ 300 ms: users will notice a slight hesitation. </li></ul><ul><li>>300 ms: the delay is obvious to the users. </li></ul>
    26. 26. Jitter Data Packet Time Received Sent Jitter Variable interpacket timing caused by the network a packet traverses.
    27. 27. Solving Delay Example <ul><li>The default G.729 codec requires packet loss far less than 1 percent to avoid audible errors. Ideally, there should be no packet loss for VoIP. </li></ul><ul><li>The ITU G.114 specification recommends less than 150 millisecond (ms) one-way end-to-end delay for high-quality real-time traffic such as voice. (For international calls, one-way delay up to 300 ms is acceptable, especially for satellite transmission. This one-way delay takes propagation delay into consideration—the time required for the signal to travel the distance.) </li></ul><ul><li>Jitter buffers (used to compensate for varying delay) further add to the end-to-end delay, and are usually only effective on delay variations less than 100 ms. Jitter must therefore be minimized. </li></ul>
    28. 28. <ul><li>Echo </li></ul>
    29. 29. Echo Normal Telephony Call Normal Telephony Call with an Echo
    30. 30. Echo <ul><li>If the time between the original spoken phrase and the returning echo is short (25 to 30 ms), or if the echo’s level is very low (approximately -25 dB), it probably will not cause any annoyance or disruption to voice conversations. </li></ul>
    31. 31. Echo Issue <ul><li>Echo is caused by an electrical mismatch between analog telephony devices and transmission media in a portion of the network called the tail circuit. (4 wire to 2 wire) </li></ul><ul><li>Acoustic coupling problems between a telephone’s speaker and microphone. </li></ul>
    32. 32. Solving Echo <ul><li>Echo cancellers </li></ul><ul><ul><li>Deployed in local VoIP gateway </li></ul></ul><ul><li>Using digital circuit </li></ul><ul><ul><li>T1, E1 </li></ul></ul>
    33. 33. <ul><li>Silence Suppression </li></ul>
    34. 34. Silence Suppression <ul><li>To use bandwidth more efficiently, VoIP networks employ functionality known as silence suppression or voice activity detection. </li></ul><ul><li>VAD can realize approximately 50 percent reduction in bandwidth requirements. </li></ul>
    35. 35. VAD Behavior
    36. 36. Silence Suppression (cont.) <ul><li>While a VAD’s performance does not affect clarity directly. </li></ul><ul><li>If it is not operating correctly, it can certainly decrease the intelligibility of voice signals and overall conversation quality. </li></ul><ul><li>Comfort noise generator (CNG) -- Complementary to the transmit-side VAD. </li></ul>
    37. 37. Providing Batter QoS <ul><li>Supporting dedicated bandwidth </li></ul><ul><li>Improving loss characteristics </li></ul><ul><li>Avoiding and managing network congestion </li></ul><ul><li>Shaping network traffic </li></ul><ul><li>Setting traffic priorities across the network </li></ul>
    38. 38. Reference <ul><li>Cisco Voice QoS Quality of Service for Voice over IP </li></ul><ul><li>IEC 1. Voice Quality (VQ) in Converging Telephony and Internet Protocol (IP) Networks 2. Accelerating the Deployment of Voice over IP ( VoIP ) and Voice over ATM ( VoATM ) </li></ul>
    39. 39. <ul><li>Thank You </li></ul>