Logo VoIP.brujula.net

SIP SoftPhones with Codec G729
VideoConferencing and Encryption
new VoIP.brujula.net/sipphones

ENGLISH español it fr pf de ja cn

Help and Manuals
  • Index
  • FAQ
  • Benefits
    SoftPhones
  • X Ten Lite
  • X Ten PRO
  • X-Lite V3 (with video)
  • EyeBeam Bria
    Hardware Phones
  • Generic ATA
  • Linksys PAP2-NA
  • LinkSys RT31P2
  • LinkSys WRT54GP2-NA
  • LinkSys WIP300
  • Sipura SPA 2000 2100
  • Sipura SPA 3000
  • Grandstream
  • Diphone D10 Plus
  • Dlink dvg1120 DPH 541
  • UTstarcom F1000 F3000
  • Uniden UIP 1868
  • Cisco ATA 186
  • Cisco IP Phone
  • Mitel Phone
    Mobile Phones
  • PalmOS
  • Windows Mobile
  • Nokia Series E, Series N
  • Fring
  • iPhone
    Buy SIP Phones
  • Top Phones
  • Complete List
  • T-Shirt and Swag!
    VoIP IP PBX
  • 3CX Windows
  • Asterisk
  • Trixbox
  • @Home 1.5 @Home 2.7
  • SER
  • Cisco CallManager
  • Linux VoIP Server
    More VoIP Info
  • Codec FAQ
  • Test your Speed
  • VoIP Tutorials
  • VoIP News
    Questions ? voip@brujula.net
  • 2. VoIP QoS Issues

    The advantages of reduced cost and bandwidth savings of carrying voice-over-packet networks are associated with some quality-of-service (QoS) issues unique to packet networks.

    Delay

    Delay causes two problems: echo and talker overlap. Echo is caused by the signal reflections of the speaker's voice from the far-end telephone equipment back into the speaker's ear. Echo becomes a significant problem when the round-trip delay becomes greater than 50 milliseconds. As echo is perceived as a significant quality problem, voice-over-packet systems must address the need for echo control and implement some means of echo cancellation.

    Talker overlap (or the problem of one talker stepping on the other talker's speech) becomes significant if the one-way delay becomes greater than 250 milliseconds. The end-to-end delay budget is therefore the major constraint and driving requirement for reducing delay through a packet network.

    The following are sources of delay in an end-to-end, voice-over-packet call:

    Accumulation Delay (Sometimes Called Algorithmic Delay)

    This delay is caused by the need to collect a frame of voice samples to be processed by the voice coder. It is related to the type of voice coder used and varies from a single sample time (.125 microseconds) to many milliseconds. A representative list of standard voice coders and their frame times follows:


      G.726 adaptive differential pulse-code modulation (ADPCM) (16, 24, 32, 40 kbps)—0.125 microseconds
      G.728 LD–code excited linear prediction (CELP)(16 kbps)—2.5 milliseconds
      G.729 CS–ACELP (8 kbps)—10 milliseconds
      G.723.1 Multirate Coder (5.3, 6.3 kbps)—30 milliseconds

    Processing Delay

    This delay is caused by the actual process of encoding and collecting the encoded samples into a packet for transmission over the packet network. The encoding delay is a function of both the processor execution time and the type of algorithm used. Often, multiple voice-coder frames will be collected in a single packet to reduce the packet network overhead. For example, three frames of G.729 code words, equaling 30 milliseconds of speech, may be collected and packed into a single packet.

    Network Delay

    This delay is caused by the physical medium and protocols used to transmit the voice data and by the buffers used to remove packet jitter on the receive side. Network delay is a function of the capacity of the links in the network and the processing that occurs as the packets transit the network. The jitter buffers add delay, which is used to remove the packet-delay variation to which each packet is subjected as it transits the packet network. This delay can be a significant part of the overall delay, as packet-delay variations can be as high as 70 to 100 milliseconds in some frame-relay and IP networks.

    Jitter

    The delay problem is compounded by the need to remove jitter, a variable interpacket timing caused by the network a packet traverses. Removing jitter requires collecting packets and holding them long enough to allow the slowest packets to arrive in time to be played in the correct sequence. This causes additional delay.

    The two conflicting goals of minimizing delay and removing jitter have engendered various schemes to adapt the jitter buffer size to match the time-varying requirements of network jitter removal. This adaptation has the explicit goal of minimizing the size and delay of the jitter buffer, while at the same time preventing buffer underflow caused by jitter.

    Two approaches to adapting the jitter buffer size are detailed below. The approach selected will depend on the type of network the packets are traversing.

    The first approach is to measure the variation of packet level in the jitter buffer over a period of time and incrementally adapt the buffer size to match the calculated jitter. This approach works best with networks that provide a consistent jitter performance over time, such as ATM networks.

    The second approach is to count the number of packets that arrive late and create a ratio of these packets to the number of packets that are successfully processed. This ratio is then used to adjust the jitter buffer to target a predetermined, allowable late-packet ratio. This approach works best with the networks with highly variable packet-interarrival intervals—such as IP networks.

    In addition to the techniques described, the network must be configured and managed to provide minimal delay and jitter, enabling a consistent QoS.

    Lost-Packet Compensation

    Lost packets can be an even more severe problem, depending on the type of packet network that is being used. Because IP networks do not guarantee service, they will usually exhibit a much higher incidence of lost voice packets than ATM networks. In current IP networks, all voice frames are treated like data. Under peak loads and congestion, voice frames will be dropped equally with data frames. The data frames, however, are not time sensitive, and dropped packets can be appropriately corrected through the process of retransmission. Lost voice packets, however, cannot be dealt with in this manner.

    Some schemes used by voice-over-packet software to address the problem of lost frames are as follows:


      interpolate for lost speech packets by replaying the last packet received during the interval when the lost packet was supposed to be played out; this scheme is a simple method that fills the time between noncontiguous speech frames; it works well when the incidence of lost frames is infrequent; it does not work well if there are a number of lost packets in a row or a burst of lost packets


      send redundant information at the expense of bandwidth utilization; this basic approach replicates and sends the nth packet of voice information along with the (n+1)th packet; this method has the advantage of being able to correct for the lost packet exactly; however, this approach uses more bandwidth and also creates greater delay


      use a hybrid approach with a much lower bandwidth voice coder to provide redundant information carried along in the (n+1)th packet; this reduces the problem of the extra bandwidth required but fails to solve the problem of delay

    Echo Compensation

    Echo in a telephone network is caused by signal reflections generated by the hybrid circuit that converts between a four-wire circuit (a separate transmit and receive pair) and a two-wire circuit (a single transmit and receive pair). These reflections of the speaker's voice are heard in the speaker's ear. Echo is present even in a conventional circuit-switched telephone network. However, it is acceptable because the round-trip delays through the network are smaller than 50 milliseconds and the echo is masked by the normal side tone every telephone generates.

    Echo becomes a problem in voice-over-packet networks because the round-trip delay through the network is almost always greater than 50 milliseconds. Thus, echo-cancellation techniques are always used. ITU standard G.165 defines performance requirements that are currently required for echo cancellers. The ITU is defining much more stringent performance requirements in the G.IEC specification.

    Echo is generated toward the packet network from the telephone network. The echo canceller compares the voice data received from the packet network with voice data being transmitted to the packet network. The echo from the telephone network hybrid is removed by a digital filter on the transmit path into the packet network.

    More than 165 tutorials now available on CD-ROM for professionals on the go <%= dc_link %> Download PDF
    DOWNLOAD PDF of this tutorial

    RELATED PRODUCT PROFILES:
    Texas Instruments - TI VoIP Solutions
    TABLE OF CONTENTS:
    Definition and Overview
    1 VoIP Applications
    2 VoIP QoS Issues
    3 VoIP–Embedded Software Architecture
    4 Voice Packet Module
    5 Signaling, Protocol and Management Modules
    6 VoIP Summary
    7 FoIP Applications
    8 PSTN Fax-Call Procedure
    9 FoIP QoS
    10 FoIP Software Architecture
    11 FoIP Summary
    Self-Test
    Correct Answers
    Glossary
    Comment on This Tutorial wherepage();   Copyright © 2004 International Engineering Consortium

    My Account VoIP.brujula.net
    SIP Number:
    Password:
     
    Forgot password?
    Create Free SIP Account
    now 100,000 users
    in 195 countries

    brujula .net
    Page TOOLS
    Send by EMAIL
    BOOKMARK
    Translate to ES IT FR PF
    HOME PAGE
    IE Toolbar


    VoIP.brujula.net. We provide Internet phone service with free Internet calling and unlimited US, Canada and World plans. We offer prepaid phone service using our voice over IP system and an analog telephone adaptor. The solutions are designed for home phone service, business phone service, call shops and cyber cafes. VoIP.brujula.net supports Xten / Counterpath SIP softphones and Internet telephony equipment such as Sipura 2000, Sipura 3000, Cisco 186, Linksys PAP2 and RT31P2. D-Link DVG-1402SL, UTstarcom F3000. We also support Asterisk PBX and offer VoIP Resellers PBX Software and business opportunities to let entrepreneurs and businesses resell voice over Internet under their own brand name.