SlideShare a Scribd company logo
1 of 18
Introduction to VoIP
- Tausun Akhtary
What is VoIP
● VoIP is short form for Voice over Internet Protocol.
● As the term says VoIP lets analog voice data travel through internet as data packets.
How does VoIP work (Brief workflow)
VoIP Adapter
Analog voice input
Source
Digital Data Packets
………...
Internet
Digital Data Packets
Destination
Analog voice output
VoIP Adapter
VoIP technical workflow (Sender)
Analog voice input Digital Data Packets
The analog signal is
converted to it’s
digital counterpart
using Voice Codecs
The binary output
data from converter
is loaded into IP
payloads (data
packets) according
to Protocols
Binary
Data
Output
VoIP Adapter/ VoIP Gateway
A/D Converter Packetizer
Internet
VoIP technical workflow (Receiver)
Digital Data Packets Analog Voice
Binary
Data
Input
VoIP Adapter/ VoIP Gateway
A/D ConverterPacketizer
Internet
The received data
packets are
merged into binary
data streams
according to the
Protocols
The binary data
stream is
converted to
analog voice data
using Voice
Codecs
Explanation (Protocols)
● Protocols - A VoIP protocol determines the frame structures of data packet and how the data
packet is transported across a network.
● Two protocols are necessary for VoIP service:
○ a signaling protocol and
○ a speech transmission protocol.
Signaling Protocols
Call signaling is used in Voice over IP (VoIP ) systems to establish connections between endpoints, or
between an endpoint and a gatekeeper. The most commonly used VoIP signaling protocols are as
follows:
❏ SIP (Session Initiation Protocol) – SIP is a standards-based protocol that is used and supported
by the vast majority of VoIP phone systems and services.
❏ SCCP (Cisco Skinny Client Control Protocol) – SCCP is a proprietary protocol used by Cisco's
Call Manager and IP phones.
❏ MGCP – MGCP is an older VoIP protocol. It is no longer widely used and or supported.
❏ H.323 – Similar to MGCP, H.323 is an older VoIP protocol but is no longer widely used and or
The raw data is encapsulated into TCP/IP stack following the below structure:
Speech Transmission Protocols
VOIP data packets
RTP
UDP
IP
Why UDP
over TCP
TCP Header
vs UDP
Header
RTP( Real Time Transport Protocol)
● VoIP data packets live in RTP (Real-Time Transport Protocol) packets which are inside UDP-IP
packets.
● Firstly, VoIP doesn't use TCP because it is too heavy for real time applications, so instead a UDP
(datagram) is used.
● Secondly, UDP has no control over the order in which packets arrive at the destination or how
long it takes them to get there (datagram concept). Both of these are very important to overall
voice quality (how well you can understand what the other person is saying) and conversation
quality (how easy it is to carry out a conversation). RTP solves the problem enabling the receiver
to put the packets back into the correct order and not wait too long for packets that have either lost
their way or are taking too long to arrive (we don't need every single voice packet, but we need a
continuous flow of many of them and ordered).
RTP Packet Structure
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|V=2|P|X| CC |M| PT | sequence number |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| timestamp |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| synchronization source (SSRC) identifier |
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
| contributing source (CSRC) identifiers |
| .... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
RTP Packet Structure (Contd.)
Where:
● V indicates the version of RTP used
● P indicates the padding, a byte not used at bottom packet to reach the parity packet dimension
● X is the presence of the header extension
● CC field is the number of CSRC identifiers following the fixed header. CSRC field are used, for
example, in conference case.
● M is a marker bit
● PT payload type
Explanation( Voice Codecs)
● Voice Codecs - A voice codec is responsible for the compression of the voice stream within a
digital packet. It also determines sound quality and bandwidth required to send the packet.
The most common voice codecs are:
❏ GSM – 13 Kbps
❏ iLBC – 15 Kbps
❏ G.71 1 - 64 Kbps
❏ G.722 - 48/56/64 Kbps
❏ G.726 - 16/24/32/40 Kbps
❏ G.728 - 16 Kbps
❏ G.729 - 8 Kbps
Challenges
The user expects a quality of service (QoS) as good as he/she would get on a PSTN dial-up connection.
To achieve this goal, VoIP designers were faced with the following degradations:
❏ Mouth-to-ear delay, Talker echo and Distortion, Silence suppression.
❏ Impact of erred frames (packets) or Lost frames (packets)
❏ Variation of packet arrival time, jitter buffering
❏ Prioritizing VoIP traffic over regular Internet and data services;
❏ Voice coding algorithm standardization;
Why Use VoIP
There are two major reasons to use VOIP
● Lower Cost
● Increased functionality
VoIP over PSTN
● While using PSTN line, we typically pay for time used to a PSTN line manager company: more
time we stay at phone and more we pay. In opposite with VoIP mechanism we can talk all the time
with every person we want (the needed is that other person is also connected to Internet at the
same time), as far as we want (money independent) .
● In addition we couldn't talk with other than one person at a time. Now we can talk with many
people at the same time with VoIP.
● Moreover, at the same time, we can exchange data with people are you talking with, sending
images, graphs and videos.
Thank You :)

More Related Content

What's hot (20)

GPON-FTTx Training
GPON-FTTx TrainingGPON-FTTx Training
GPON-FTTx Training
 
SIP - Introduction to SIP Protocol
SIP - Introduction to SIP ProtocolSIP - Introduction to SIP Protocol
SIP - Introduction to SIP Protocol
 
Diameter Presentation
Diameter PresentationDiameter Presentation
Diameter Presentation
 
IMS Standards
IMS  StandardsIMS  Standards
IMS Standards
 
Hussain Nahdi CV - Copy
Hussain Nahdi CV  - CopyHussain Nahdi CV  - Copy
Hussain Nahdi CV - Copy
 
35992488 gpon-fundamentals-20070606-a
35992488 gpon-fundamentals-20070606-a35992488 gpon-fundamentals-20070606-a
35992488 gpon-fundamentals-20070606-a
 
SDH presentation
SDH presentationSDH presentation
SDH presentation
 
VoIP – vulnerabilities and attacks
VoIP – vulnerabilities and attacksVoIP – vulnerabilities and attacks
VoIP – vulnerabilities and attacks
 
333731522-GPON-Technical-v1-1.pptx
333731522-GPON-Technical-v1-1.pptx333731522-GPON-Technical-v1-1.pptx
333731522-GPON-Technical-v1-1.pptx
 
Fundamentals of sdh
Fundamentals of sdhFundamentals of sdh
Fundamentals of sdh
 
NGN & IMS
NGN & IMSNGN & IMS
NGN & IMS
 
Volte Introduction
Volte IntroductionVolte Introduction
Volte Introduction
 
LI Solutions
LI SolutionsLI Solutions
LI Solutions
 
Capítulo 3 - QoS - Calidad de Servicio
Capítulo 3 - QoS - Calidad de ServicioCapítulo 3 - QoS - Calidad de Servicio
Capítulo 3 - QoS - Calidad de Servicio
 
Getting the Most Out of Bluetooth 5
Getting the Most Out of Bluetooth 5Getting the Most Out of Bluetooth 5
Getting the Most Out of Bluetooth 5
 
Réseaux mobiles
Réseaux mobiles Réseaux mobiles
Réseaux mobiles
 
VOIP
VOIPVOIP
VOIP
 
Umts call-flows
Umts call-flowsUmts call-flows
Umts call-flows
 
TELEPHONIE SUR IP
TELEPHONIE SUR IPTELEPHONIE SUR IP
TELEPHONIE SUR IP
 
Sip
SipSip
Sip
 

Similar to Introduction to VOIP

RIP RTCP RTSP
RIP RTCP RTSPRIP RTCP RTSP
RIP RTCP RTSPDev Heba
 
Voice Over IP (VoIP) and STREAMING
Voice Over IP (VoIP) and STREAMINGVoice Over IP (VoIP) and STREAMING
Voice Over IP (VoIP) and STREAMINGRagheb Gmira
 
Sip technology overview
Sip technology overviewSip technology overview
Sip technology overviewOded Ben-Dori
 
VoIP and multimedia networking
VoIP and multimedia networkingVoIP and multimedia networking
VoIP and multimedia networkingsangusajjan
 
DT021_4_Notes 4_QOS_Rev_M.pdf
DT021_4_Notes 4_QOS_Rev_M.pdfDT021_4_Notes 4_QOS_Rev_M.pdf
DT021_4_Notes 4_QOS_Rev_M.pdfSubhanshu5
 
ETE405-lec4.pptx
ETE405-lec4.pptxETE405-lec4.pptx
ETE405-lec4.pptxmashiur
 
VOIP: VOICE OVER IP
VOIP: VOICE OVER IPVOIP: VOICE OVER IP
VOIP: VOICE OVER IPVideoguy
 
cs522_presentation.ppt
cs522_presentation.pptcs522_presentation.ppt
cs522_presentation.ppthajAli4
 
Designing an 4K/UHD1 HDR OB Truck as 12G-SDI or IP-based
Designing an 4K/UHD1 HDR OB Truck as 12G-SDI or IP-basedDesigning an 4K/UHD1 HDR OB Truck as 12G-SDI or IP-based
Designing an 4K/UHD1 HDR OB Truck as 12G-SDI or IP-basedDr. Mohieddin Moradi
 
Effective and Secure Scheme for Video Multicasting using Real Time Transport ...
Effective and Secure Scheme for Video Multicasting using Real Time Transport ...Effective and Secure Scheme for Video Multicasting using Real Time Transport ...
Effective and Secure Scheme for Video Multicasting using Real Time Transport ...IRJET Journal
 
ETE405-lec4.pdf
ETE405-lec4.pdfETE405-lec4.pdf
ETE405-lec4.pdfmashiur
 
Razin Kabir (063452556)
Razin Kabir (063452556)Razin Kabir (063452556)
Razin Kabir (063452556)mashiur
 
ETE405-lec7.pdf
ETE405-lec7.pdfETE405-lec7.pdf
ETE405-lec7.pdfmashiur
 

Similar to Introduction to VOIP (20)

RIP RTCP RTSP
RIP RTCP RTSPRIP RTCP RTSP
RIP RTCP RTSP
 
Voice Over IP (VoIP) and STREAMING
Voice Over IP (VoIP) and STREAMINGVoice Over IP (VoIP) and STREAMING
Voice Over IP (VoIP) and STREAMING
 
Internet Video
Internet VideoInternet Video
Internet Video
 
VoIP for Beginners
VoIP for BeginnersVoIP for Beginners
VoIP for Beginners
 
A glance-at-voip
A glance-at-voipA glance-at-voip
A glance-at-voip
 
Sip technology overview
Sip technology overviewSip technology overview
Sip technology overview
 
VoIP and multimedia networking
VoIP and multimedia networkingVoIP and multimedia networking
VoIP and multimedia networking
 
DT021_4_Notes 4_QOS_Rev_M.pdf
DT021_4_Notes 4_QOS_Rev_M.pdfDT021_4_Notes 4_QOS_Rev_M.pdf
DT021_4_Notes 4_QOS_Rev_M.pdf
 
ETE405-lec4.pptx
ETE405-lec4.pptxETE405-lec4.pptx
ETE405-lec4.pptx
 
Voip
VoipVoip
Voip
 
VOIP: VOICE OVER IP
VOIP: VOICE OVER IPVOIP: VOICE OVER IP
VOIP: VOICE OVER IP
 
cs522_presentation.ppt
cs522_presentation.pptcs522_presentation.ppt
cs522_presentation.ppt
 
Designing an 4K/UHD1 HDR OB Truck as 12G-SDI or IP-based
Designing an 4K/UHD1 HDR OB Truck as 12G-SDI or IP-basedDesigning an 4K/UHD1 HDR OB Truck as 12G-SDI or IP-based
Designing an 4K/UHD1 HDR OB Truck as 12G-SDI or IP-based
 
Voip basics
Voip   basicsVoip   basics
Voip basics
 
Effective and Secure Scheme for Video Multicasting using Real Time Transport ...
Effective and Secure Scheme for Video Multicasting using Real Time Transport ...Effective and Secure Scheme for Video Multicasting using Real Time Transport ...
Effective and Secure Scheme for Video Multicasting using Real Time Transport ...
 
ETE405-lec4.pdf
ETE405-lec4.pdfETE405-lec4.pdf
ETE405-lec4.pdf
 
VOIP security
VOIP securityVOIP security
VOIP security
 
Razin Kabir (063452556)
Razin Kabir (063452556)Razin Kabir (063452556)
Razin Kabir (063452556)
 
Sania rtp
Sania rtpSania rtp
Sania rtp
 
ETE405-lec7.pdf
ETE405-lec7.pdfETE405-lec7.pdf
ETE405-lec7.pdf
 

Recently uploaded

Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataBradBedford3
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaHanief Utama
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...Christina Lin
 
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfThe Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfPower Karaoke
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfAlina Yurenko
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...stazi3110
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEEVICTOR MAESTRE RAMIREZ
 
software engineering Chapter 5 System modeling.pptx
software engineering Chapter 5 System modeling.pptxsoftware engineering Chapter 5 System modeling.pptx
software engineering Chapter 5 System modeling.pptxnada99848
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - InfographicHr365.us smith
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantAxelRicardoTrocheRiq
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsAhmed Mohamed
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software DevelopersVinodh Ram
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEOrtus Solutions, Corp
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxTier1 app
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024StefanoLambiase
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackVICTOR MAESTRE RAMIREZ
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio, Inc.
 

Recently uploaded (20)

Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief Utama
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
 
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfThe Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdf
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEE
 
software engineering Chapter 5 System modeling.pptx
software engineering Chapter 5 System modeling.pptxsoftware engineering Chapter 5 System modeling.pptx
software engineering Chapter 5 System modeling.pptx
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - Infographic
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML Diagrams
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software Developers
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
 
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort ServiceHot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
 

Introduction to VOIP

  • 1. Introduction to VoIP - Tausun Akhtary
  • 2. What is VoIP ● VoIP is short form for Voice over Internet Protocol. ● As the term says VoIP lets analog voice data travel through internet as data packets.
  • 3. How does VoIP work (Brief workflow) VoIP Adapter Analog voice input Source Digital Data Packets ………... Internet Digital Data Packets Destination Analog voice output VoIP Adapter
  • 4. VoIP technical workflow (Sender) Analog voice input Digital Data Packets The analog signal is converted to it’s digital counterpart using Voice Codecs The binary output data from converter is loaded into IP payloads (data packets) according to Protocols Binary Data Output VoIP Adapter/ VoIP Gateway A/D Converter Packetizer Internet
  • 5. VoIP technical workflow (Receiver) Digital Data Packets Analog Voice Binary Data Input VoIP Adapter/ VoIP Gateway A/D ConverterPacketizer Internet The received data packets are merged into binary data streams according to the Protocols The binary data stream is converted to analog voice data using Voice Codecs
  • 6. Explanation (Protocols) ● Protocols - A VoIP protocol determines the frame structures of data packet and how the data packet is transported across a network. ● Two protocols are necessary for VoIP service: ○ a signaling protocol and ○ a speech transmission protocol.
  • 7. Signaling Protocols Call signaling is used in Voice over IP (VoIP ) systems to establish connections between endpoints, or between an endpoint and a gatekeeper. The most commonly used VoIP signaling protocols are as follows: ❏ SIP (Session Initiation Protocol) – SIP is a standards-based protocol that is used and supported by the vast majority of VoIP phone systems and services. ❏ SCCP (Cisco Skinny Client Control Protocol) – SCCP is a proprietary protocol used by Cisco's Call Manager and IP phones. ❏ MGCP – MGCP is an older VoIP protocol. It is no longer widely used and or supported. ❏ H.323 – Similar to MGCP, H.323 is an older VoIP protocol but is no longer widely used and or
  • 8. The raw data is encapsulated into TCP/IP stack following the below structure: Speech Transmission Protocols VOIP data packets RTP UDP IP
  • 11. RTP( Real Time Transport Protocol) ● VoIP data packets live in RTP (Real-Time Transport Protocol) packets which are inside UDP-IP packets. ● Firstly, VoIP doesn't use TCP because it is too heavy for real time applications, so instead a UDP (datagram) is used. ● Secondly, UDP has no control over the order in which packets arrive at the destination or how long it takes them to get there (datagram concept). Both of these are very important to overall voice quality (how well you can understand what the other person is saying) and conversation quality (how easy it is to carry out a conversation). RTP solves the problem enabling the receiver to put the packets back into the correct order and not wait too long for packets that have either lost their way or are taking too long to arrive (we don't need every single voice packet, but we need a continuous flow of many of them and ordered).
  • 12. RTP Packet Structure 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |V=2|P|X| CC |M| PT | sequence number | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | timestamp | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | synchronization source (SSRC) identifier | +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ | contributing source (CSRC) identifiers | | .... | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  • 13. RTP Packet Structure (Contd.) Where: ● V indicates the version of RTP used ● P indicates the padding, a byte not used at bottom packet to reach the parity packet dimension ● X is the presence of the header extension ● CC field is the number of CSRC identifiers following the fixed header. CSRC field are used, for example, in conference case. ● M is a marker bit ● PT payload type
  • 14. Explanation( Voice Codecs) ● Voice Codecs - A voice codec is responsible for the compression of the voice stream within a digital packet. It also determines sound quality and bandwidth required to send the packet. The most common voice codecs are: ❏ GSM – 13 Kbps ❏ iLBC – 15 Kbps ❏ G.71 1 - 64 Kbps ❏ G.722 - 48/56/64 Kbps ❏ G.726 - 16/24/32/40 Kbps ❏ G.728 - 16 Kbps ❏ G.729 - 8 Kbps
  • 15. Challenges The user expects a quality of service (QoS) as good as he/she would get on a PSTN dial-up connection. To achieve this goal, VoIP designers were faced with the following degradations: ❏ Mouth-to-ear delay, Talker echo and Distortion, Silence suppression. ❏ Impact of erred frames (packets) or Lost frames (packets) ❏ Variation of packet arrival time, jitter buffering ❏ Prioritizing VoIP traffic over regular Internet and data services; ❏ Voice coding algorithm standardization;
  • 16. Why Use VoIP There are two major reasons to use VOIP ● Lower Cost ● Increased functionality
  • 17. VoIP over PSTN ● While using PSTN line, we typically pay for time used to a PSTN line manager company: more time we stay at phone and more we pay. In opposite with VoIP mechanism we can talk all the time with every person we want (the needed is that other person is also connected to Internet at the same time), as far as we want (money independent) . ● In addition we couldn't talk with other than one person at a time. Now we can talk with many people at the same time with VoIP. ● Moreover, at the same time, we can exchange data with people are you talking with, sending images, graphs and videos.