1 / 41

Voice over IP

Voice over IP. Andreas Mettis University of Cyprus November 23, 2004. Overview. What is VoIP and how it works. Reduction of voice quality. Quality of Service for VoIP. VoIP.

gabe
Download Presentation

Voice over IP

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Voice over IP Andreas Mettis University of Cyprus November 23, 2004

  2. Overview • What is VoIP and how it works. • Reduction of voice quality. • Quality of Service for VoIP

  3. VoIP VoIP (voice over IP - that is, voice delivered using the Internet Protocol) is a term used in IP telephony for a set of facilities for managing the delivery of voice information using the Internet Protocol (IP). In general, this means sending voice information in digital form in discrete packets rather than in the traditional circuit-committed protocols of the public switched telephone network (PSTN).

  4. How VoIP Works The OSI Model

  5. Analog to Digital • Voice is nothing but air vibration. • The microphone converts this vibration into an equivalent variation of an electrical current. • The amplitude of this current is measured 8000 times every second. • Each reading is coded in binary (ones and zeros). • Each code is made up of 8 bits.

  6. Codec Standards

  7. Packet by Packet Transmission

  8. Transport Layer • The Real-time Transport (RTP) Protocol provides end-to-end network transport functions suitable for applications transmitting real-time data such as audio, video or simulation data, over multicast or unicast network services. • RTP does not address resource reservation and does not guarantee quality-of-service for real-time services.

  9. Transport Layer • The User Datagram Protocol (UDP), provides a simple, but unreliable message service for transaction-oriented services. • Each UDP header carries both a source port identifier and destination port identifier, allowing high-level protocols to target specific applications and services among hosts.

  10. Network Layer • The Internet Protocol (IP), is the routing layer datagram service of the TCP/IP suite. The IP is used to route packets from host to host. • The IP packet header contains routing information and control information associated with datagram delivery.

  11. Data Link/ Physical Layer • The Ethernet header is attached to the VoIP frame. • At the Physical Layer the data are sent from the sender to the receiver.

  12. VoIP Packet

  13. Reduction of voice quality

  14. Mean Option Score • In order to assess the quality of voice communications in the presence of impairments, it is crucial to study the individual as well as collective effects of the impairments and produce quantitative measures that reflect the subjective rating that listeners would give. • MOS is valuable in that it addresses the human perceived experience, which is the ultimate measure of interest.

  15. Application Layer

  16. Application Layer

  17. Voice Activity Detection • VAD uses the fact that two communication partners seldom speak at the same time. • Bandwidth saving up to 50%. • Difficult to distinguish between ambient noise and silence in transmission. • Voice clipping.

  18. Packet Size

  19. Delay • Delay incurred in encoding (Algorithmic delay) • Packetization delay (function of the amount of speech data included in a packet) • Sender to receiver delay 1) Propagation delay 2) Transmission delay 3) Queuing delay

  20. Packet losses and Delay

  21. Echo • Echo is caused by the reflection of signals at the four-to-two wire hybrids. This type of echo is present when a voice call involves a combination of VoIP segment in the Internet and a circuit segment in the switched telephone network. • Another cause of echo is the PC-based phones that are equipped with a microphone and loudspeakers.

  22. Why bother about VoIP? • MONEY,MONEY,MONEY,MONEY,MONEY,MONEY,MONEY,MONEY!!!!!!!!!!

  23. Quality of Service

  24. Algorithms used • Echo Cancellation • Loss Recovery: Forward error correction adds redundancy information into voice streams for aiding the loss correction. • Error Concealment: A replacement for a lost packet is produced which is similar to the original lost packet. This is possible because voice signals exhibit large amounts of short-term self similarity.

  25. Worst Case Design Advantages • QoS is guarantee. Disadvantages • Too expensive. • The utilization is very small.

  26. Sender 1 PATH R Sender 2 R PATH RESV (merged) R RESV Receiver A R RESV R Receiver B RSVP • The sender sends the PATH, which describes the traffic that is going to create. • The receiver sends the RESV, that it is used to make reservations at every intermediate node. • The RESV packets are routed using the Reverse Path Algorithm.

  27. RSVP Advantages • It is possible to assign bandwidth reliably for eachVoIP session. Disadvantages • Some resources remain not used when VoIP data has burst character. • The load of routers becomes high and application toa very large scale network becomes difficult.

  28. Virtual Private Networks Advantages • QoS can be high. Disadvantages • Utilization of the network might be low. • Might cause starvation for other VoIP traffic.

  29. Differentiated Services Model

  30. Diffserv

  31. DSCP

  32. DSCP – Expedited Forwarding • EF – PHB ensures a minimum departure rate, independently of any other traffic attempting to transit across the node. • EF – PHB provides a low loss, low jitter assured bandwidth, end to end service through DS domains.

  33. DSCP - Assured Forwarding (green, yellow, red) • Best Effort Forwarding

  34. Admission Control • Admission control unit makes admission decision to the new request. • Admission Criteria is a set of conditions used to determine if an incoming call is to be accepted. • Network QoS state and flow information are necessary for the admission control unit.

  35. Combination of Diffserv and Call Admission • SIP proxy observes flow information from the router using SNMP. • When a SIP message arrives from the SIP terminal it decides the acceptability of this new call based on flow information and the SIP message log.

  36. Diffserv Packet Marking Rule • Green: Basic data of all communication sessions. • Yellow: Additional data of important sessions. • Red: Additional data of normal sessions.

  37. Behavior of the System • Basic data can be protected from packet loss by dropping additional data packet of normal communication. • In order to guarantee quality of each session, it is necessary to make VoIP flow less than suitable quantity on each link of the network.

  38. Call Admission Method Three kind of VoIP sessions which exist in a system. • Sessions generating data traffic • Sessions currently in the signaling stage and generating future traffic. • Sessions currently in the signaling stage, but which will terminate without generating traffic in the future because of some kind of error.

  39. Call Admission Method • It is impossible to determine whether the session currently in the signaling stage will generate traffic or terminate by future error. • The log of SIP INVITE message is used and the worst time processing of SIP signaling is recorded to log as TTL value for each SIP INVITE message. • TTL is the worst time to process SIP signaling and is known from statistical data.

  40. Conclusions • VoIP is rather easy to implement but difficult to guarantee QoS. • The combination of Diffserv and Call Admission provide a good mechanism for QoS for VoIP. • VoIP offers a lower QoS compared with the PSTN, and can also offers lower costs to the organizations and people that use it. • Still need to find better solutions for providing QoS for VoIP.

  41. References • [1] Athina P. Markopoulou, Fouad A. Tobagi and Mansour J. Karam, “Assessing the Quality of Voice Communications over Internet Backbones”, pp747-760, 2003. • [2] Xiuzhong Chen, Chunfeng Wang, Dong Xuan, Zhongcheng Li, Yinghua Min and Wei Zhao, “Survey on QoS Management of VoIP”, Proceedings of the 2003 International Conference on Computer networks and Mobile Computing (ICCNMC’ 03). • [3] Masaaki Noro 1, Takahiro KIKUCHI 1, Ken-ichi BABA 2,Hideki SUNAHARA 1,3, Shinji SHIMOJO, “QoS Support for VoIP Traffic to Prepare Emergency”, Proceedings of the 2004 International Symposium on Applications and the Internet Workshops (SAINTW’04) • [4] http://www.protocols.com/ • [5] Dr. Christos Panayiotou lecture notes. • [6] Siemens. Information and Communications networks. • [7] HiPath 4000 V1.0, IP Distributed Architecture, Service Manual.

More Related