VoIP parameters
This is the main problem that the penetration of both VoIP and all IP applications presents today.
Guaranteeing quality of service over the Internet, which only supports “best effort” (best effort) and may have bandwidth limitations on the route, is currently not possible; Therefore, various problems arise in terms of guaranteeing the quality of the service.
The voice must be encoded in order to be transmitted over the IP network. To do this, codecs are used that guarantee the coding and compression of the audio or video for subsequent decoding and decompression before being able to generate a usable sound or image.
Depending on the codec used in the transmission, more or less bandwidth will be used. The amount of bandwidth used is usually directly proportional to the quality of the data transmitted.
Among the most used codecs in VoIP are G.711, G.723.1 and G.729 (specified by the 'ITU-T').
These codecs have the following encoding bandwidths:
• - G.711: 56 or 64 kbps bit-rate").
• - G.722: bit-rate of 48, 56 or 64 kbps.
• - G.723: bit-rate of 5.3 or 6.4 kbps.
• - G.728: 16 kbps bit-rate.
• - G.729: bit-rate of 8 or 13 kbps.
This does not mean that it is the bandwidth used, since the traffic added by the lower layers of the TCP/IP protocol must be added. For example, the G729 codec uses 31.5 kbps" of bandwidth in its transmission.
Once the transit delays and the processing delay are established, the conversation is considered acceptable below 150 ms (which is 1.5 tenths of a second) and would already produce significant delays.
Frame loss (frames lost): during their journey through the IP network, frames can be lost as a result of network congestion or data corruption. Furthermore, for real-time traffic such as voice, retransmission of lost frames at the transport layer is not practical because it causes additional delays. Consequently, voice terminals have to retransmit with lost voice samples, also called Frame Erasures.
The effect of lost frames on voice quality depends on how the terminals manage Frame Erasures.
In the simplest case, if a voice sample is lost, the terminal will leave a gap in the voice stream. If too many frames are lost, it will sound crackly with missing syllables or words.
One possible recovery strategy is to play back the previous voice samples. This works well if only a few samples are lost. To better combat bursts of errors, interpolation systems are usually used. Based on previous speech samples, the decoder will predict the lost frames. This technique is known as packet loss concealment (PLC).
ITU-T G.113 Appendix I provides some interim planning guidance on the effect of frame loss on voice quality. The impact is measured in terms of Ie, the deterioration factor. This is a number in which 0 means no deterioration. The larger value of Ie means more severe deterioration. The following table is derived from G.113 Appendix I and shows the impact of lost frames on the Ie factor.
To improve the level of service, we have aimed to reduce the bandwidth used, to this end we have worked under the following initiatives:
• - The suppression of silences provides more efficiency when making a voice transmission, since the bandwidth is better used by transmitting less information.
• - Header compression applying RTP/RTCP standards.
To measure the quality of service QoS, there are four parameters such as bandwidth, delay, delay variation (jitter) and packet loss.
To solve this type of problem, three basic types of QoS can be implemented in a network:
• - Best Effort Delivery (best effort): This method simply sends packets as they are received, without applying any real specific task. That is, it has no priority for any service, it just tries to send the packets in the best way.
• - Integrated Services: this system's main function is to pre-agree on a path for the data that needs priority. Furthermore, this architecture is not scalable, due to the amount of resources it needs to reserve the bandwidth of each application. RSVP (resource reservation protocol) was developed as the mechanism to schedule and reserve the bandwidth required for each of the applications that are transported over the network.
• - Differentiated Services: this system allows each network device to have the possibility of handling packets individually, in addition each router and switch can configure its own QoS policies, to make its own decisions about the delivery of packets. Differentiated services use 6 bits in the IP header (DSCP: Differentiated Services Code Point). The services for each DSCP are as follows:
• - Prioritization of packets that require lower latency. Current trends are:
- PQ (Priority Queueing): This prioritization mechanism is characterized by defining 4 queues with high, medium, normal and low priority. In addition, it is necessary to determine which packets will be in each of said queues, however, if these are not configured, they will be assigned by default to the normal priority. On the other hand, as long as there are packets in the high queue, no packets with medium priority will be attended to until the high queue is empty, as well as for other queue types.
- WFQ (Weighted fair queuing): This method divides the traffic into flows, it provides a fair amount of bandwidth to the active flows in the network, flows that are with low traffic volume will be sent faster. That is, WFQ prioritizes those applications with lower volume, these are associated as more sensitive to delay (delay) such as VoIP. On the other hand, it penalizes those that it does not associate as real-time applications such as FTP.
- CQ (Custom Queuing): This mechanism assigns a percentage of available bandwidth for each type of traffic (voice, video and/or data), and also specifies the number of packets per queue. The queues are served according to Round Robin (RR). The RR method assigns bandwidth to each of the different types of traffic on the network. With this method it is not possible to prioritize traffic since all queues are treated in the same way.
• - The implementation of IPv6, which provides greater addressing space and the possibility of tunneling.