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)

Cisco: QoS
Cisco: QoSCisco: QoS
Cisco: QoS
 
Fast Convergence in IP Network
Fast Convergence in IP Network Fast Convergence in IP Network
Fast Convergence in IP Network
 
Ss7 Introduction Li In
Ss7 Introduction Li InSs7 Introduction Li In
Ss7 Introduction Li In
 
Dense wavelength division multiplexing (dwdm) technique
Dense wavelength division multiplexing (dwdm) techniqueDense wavelength division multiplexing (dwdm) technique
Dense wavelength division multiplexing (dwdm) technique
 
Fundamentals of sdh
Fundamentals of sdhFundamentals of sdh
Fundamentals of sdh
 
Minilink TN Ethernet Config.pdf
Minilink TN Ethernet Config.pdfMinilink TN Ethernet Config.pdf
Minilink TN Ethernet Config.pdf
 
FTTH Basics
FTTH BasicsFTTH Basics
FTTH Basics
 
Introduction into SIP protocol
Introduction into SIP protocolIntroduction into SIP protocol
Introduction into SIP protocol
 
Ericsson TN Cards in Details
Ericsson TN Cards in DetailsEricsson TN Cards in Details
Ericsson TN Cards in Details
 
VoIP (Voice over Internet Protocol)
VoIP (Voice over Internet Protocol)VoIP (Voice over Internet Protocol)
VoIP (Voice over Internet Protocol)
 
DMRC SDH theory
DMRC SDH theoryDMRC SDH theory
DMRC SDH theory
 
Synchronization in SDH network
Synchronization in SDH networkSynchronization in SDH network
Synchronization in SDH network
 
config_mini link
config_mini linkconfig_mini link
config_mini link
 
Fundamental of Quality of Service(QoS)
Fundamental of Quality of Service(QoS) Fundamental of Quality of Service(QoS)
Fundamental of Quality of Service(QoS)
 
Mini link tn configuration
Mini link tn configurationMini link tn configuration
Mini link tn configuration
 
OLSR | Optimized Link State Routing Protocol
OLSR | Optimized Link State Routing ProtocolOLSR | Optimized Link State Routing Protocol
OLSR | Optimized Link State Routing Protocol
 
Sdh concept
Sdh conceptSdh concept
Sdh concept
 
Sdh total final
Sdh total finalSdh total final
Sdh total final
 
Telecommunication basics
Telecommunication basicsTelecommunication basics
Telecommunication basics
 
IP Over Satellite
IP Over SatelliteIP Over Satellite
IP Over Satellite
 

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
 
Introduction to VoIP, RTP and SIP
Introduction to VoIP, RTP and SIP Introduction to VoIP, RTP and SIP
Introduction to VoIP, RTP and SIP ThousandEyes
 
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
 

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
 
Introduction to VoIP, RTP and SIP
Introduction to VoIP, RTP and SIP Introduction to VoIP, RTP and SIP
Introduction to VoIP, RTP and SIP
 
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
 

Recently uploaded

Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsArshad QA
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfkalichargn70th171
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Steffen Staab
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...harshavardhanraghave
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxbodapatigopi8531
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...Health
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...ICS
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️Delhi Call girls
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...OnePlan Solutions
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...panagenda
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxComplianceQuest1
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionSolGuruz
 

Recently uploaded (20)

Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with Precision
 

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.