![Page 1: Voice/Video over Internet Protocol (VoIP)inst.eecs.berkeley.edu/~ee233/sp06/student... · What is Overlay Network zThe operation of any peer-to-peer system relies on a network of](https://reader034.vdocuments.mx/reader034/viewer/2022042402/5f144b8909865c2e7c768204/html5/thumbnails/1.jpg)
Voice/Video over Internet Protocol
(VoIP) Jason Tien
Mark Lin
May 4 2006
![Page 2: Voice/Video over Internet Protocol (VoIP)inst.eecs.berkeley.edu/~ee233/sp06/student... · What is Overlay Network zThe operation of any peer-to-peer system relies on a network of](https://reader034.vdocuments.mx/reader034/viewer/2022042402/5f144b8909865c2e7c768204/html5/thumbnails/2.jpg)
OutlineIntroductionBenefits compared traditional telephony network (PSTN)Signaling protocol
H.323SIP (Session Initiate Protocol)
ApplicationPre-paid phone cardSkype
Conclusion
![Page 3: Voice/Video over Internet Protocol (VoIP)inst.eecs.berkeley.edu/~ee233/sp06/student... · What is Overlay Network zThe operation of any peer-to-peer system relies on a network of](https://reader034.vdocuments.mx/reader034/viewer/2022042402/5f144b8909865c2e7c768204/html5/thumbnails/3.jpg)
Introduction of VoIPTransmit voice traffic using Internet Protocol (IP) instead of conventional telephony network (PSTN)Packet switch instead of circuit switch
![Page 4: Voice/Video over Internet Protocol (VoIP)inst.eecs.berkeley.edu/~ee233/sp06/student... · What is Overlay Network zThe operation of any peer-to-peer system relies on a network of](https://reader034.vdocuments.mx/reader034/viewer/2022042402/5f144b8909865c2e7c768204/html5/thumbnails/4.jpg)
Why VoIP?
Integration of voice, data, and videoNew functions (ex. video phone)
Universal presence of Internet Lower equipment costLower operation cost
Potentially lower bandwidth requirementPSTN: 8K x 8bit =64Kbps (G.711 standard)
![Page 5: Voice/Video over Internet Protocol (VoIP)inst.eecs.berkeley.edu/~ee233/sp06/student... · What is Overlay Network zThe operation of any peer-to-peer system relies on a network of](https://reader034.vdocuments.mx/reader034/viewer/2022042402/5f144b8909865c2e7c768204/html5/thumbnails/5.jpg)
Challenge of VoIPData
AsynchronousError sensitive
VoiceSynchronousMore tolerant for errors
VoIP must Meet all requirements of traditional telephony network ex. qualityOffer new function and attractive capabilities with lower
costEasy to use
![Page 6: Voice/Video over Internet Protocol (VoIP)inst.eecs.berkeley.edu/~ee233/sp06/student... · What is Overlay Network zThe operation of any peer-to-peer system relies on a network of](https://reader034.vdocuments.mx/reader034/viewer/2022042402/5f144b8909865c2e7c768204/html5/thumbnails/6.jpg)
H.323
Enable the exchange of media stream between H.323 endpointsDeveloped by International Telecommunications Union (ITU)Advantages
PrevalentPowerful
DrawbacksComplex expensive
![Page 7: Voice/Video over Internet Protocol (VoIP)inst.eecs.berkeley.edu/~ee233/sp06/student... · What is Overlay Network zThe operation of any peer-to-peer system relies on a network of](https://reader034.vdocuments.mx/reader034/viewer/2022042402/5f144b8909865c2e7c768204/html5/thumbnails/7.jpg)
H.323 ArchitectureGateway
an H.323 endpoint that provides translation service between the H.323 network and another type of network
Gatekeepercontrol a number of H.323 terminals, gateways, and multipoint controllers (MCs)
Multipoint controllerAn H.323 endpoint that manages multipoint conferences between three or more terminals
![Page 8: Voice/Video over Internet Protocol (VoIP)inst.eecs.berkeley.edu/~ee233/sp06/student... · What is Overlay Network zThe operation of any peer-to-peer system relies on a network of](https://reader034.vdocuments.mx/reader034/viewer/2022042402/5f144b8909865c2e7c768204/html5/thumbnails/8.jpg)
H.323 Operation
1. Discovery
2. Registration
3. Connection Setup
4. Capability Exchange
5. Logical Channel Exchange
6. Payload Transfer
7. Termination
Terminal A Terminal BGatekeeper
![Page 9: Voice/Video over Internet Protocol (VoIP)inst.eecs.berkeley.edu/~ee233/sp06/student... · What is Overlay Network zThe operation of any peer-to-peer system relies on a network of](https://reader034.vdocuments.mx/reader034/viewer/2022042402/5f144b8909865c2e7c768204/html5/thumbnails/9.jpg)
SIPA call processing system for voice/video/dataDeveloped by Internet Engineering Task Force (IETF)Function
Negotiate capabilitiessets up and clears callsFinds called parties in the Internet
AdvantagesSimpler and more flexible signaling protocolVarious pieces of information can be included within messages
![Page 10: Voice/Video over Internet Protocol (VoIP)inst.eecs.berkeley.edu/~ee233/sp06/student... · What is Overlay Network zThe operation of any peer-to-peer system relies on a network of](https://reader034.vdocuments.mx/reader034/viewer/2022042402/5f144b8909865c2e7c768204/html5/thumbnails/10.jpg)
Architecture of SIP
User Agent Client (Caller)
User Agent Server (Callee)
SIP RequestSIP Response
![Page 11: Voice/Video over Internet Protocol (VoIP)inst.eecs.berkeley.edu/~ee233/sp06/student... · What is Overlay Network zThe operation of any peer-to-peer system relies on a network of](https://reader034.vdocuments.mx/reader034/viewer/2022042402/5f144b8909865c2e7c768204/html5/thumbnails/11.jpg)
Operation of SIP
5. OK
6. OK
7. ACK8. ACK
Conversion
![Page 12: Voice/Video over Internet Protocol (VoIP)inst.eecs.berkeley.edu/~ee233/sp06/student... · What is Overlay Network zThe operation of any peer-to-peer system relies on a network of](https://reader034.vdocuments.mx/reader034/viewer/2022042402/5f144b8909865c2e7c768204/html5/thumbnails/12.jpg)
Comparison between H.323 and SIP
SIP H.323
Newer developed protocol simple
Earlier protocol complex
IETF ITU
Many vendors developing products
The majority of existing IP telephony products rely on H.323
Leave issues of reliability to underlying network
Assume the fallibility of network
SIP messages are formatted as text
Binary format doesn’t sit well with the internet
![Page 13: Voice/Video over Internet Protocol (VoIP)inst.eecs.berkeley.edu/~ee233/sp06/student... · What is Overlay Network zThe operation of any peer-to-peer system relies on a network of](https://reader034.vdocuments.mx/reader034/viewer/2022042402/5f144b8909865c2e7c768204/html5/thumbnails/13.jpg)
Prepaid Phone Card
Advantage:
--More services available (e.g. PTT)
--Low cost
![Page 14: Voice/Video over Internet Protocol (VoIP)inst.eecs.berkeley.edu/~ee233/sp06/student... · What is Overlay Network zThe operation of any peer-to-peer system relies on a network of](https://reader034.vdocuments.mx/reader034/viewer/2022042402/5f144b8909865c2e7c768204/html5/thumbnails/14.jpg)
Skype
P2P Overlay Netowork + Proprietary ProtocolDistributed SystemDirectly sharing the computer resources
![Page 15: Voice/Video over Internet Protocol (VoIP)inst.eecs.berkeley.edu/~ee233/sp06/student... · What is Overlay Network zThe operation of any peer-to-peer system relies on a network of](https://reader034.vdocuments.mx/reader034/viewer/2022042402/5f144b8909865c2e7c768204/html5/thumbnails/15.jpg)
What is Overlay NetworkThe operation of any peer-to-peer system relies on a network of peer computers (nodes), and connections (edges) between them. This network is formed on top of –and independently from—the underlying physical computer (typically IP) networkand is thus referred to as an “overlay”network.
![Page 16: Voice/Video over Internet Protocol (VoIP)inst.eecs.berkeley.edu/~ee233/sp06/student... · What is Overlay Network zThe operation of any peer-to-peer system relies on a network of](https://reader034.vdocuments.mx/reader034/viewer/2022042402/5f144b8909865c2e7c768204/html5/thumbnails/16.jpg)
Classification of P2P
Purely Decentralized NetworkGnutella
Partially Centralized NetworkKaZaA
Hybrid Decentralized NetworkNapster
![Page 17: Voice/Video over Internet Protocol (VoIP)inst.eecs.berkeley.edu/~ee233/sp06/student... · What is Overlay Network zThe operation of any peer-to-peer system relies on a network of](https://reader034.vdocuments.mx/reader034/viewer/2022042402/5f144b8909865c2e7c768204/html5/thumbnails/17.jpg)
Purely Decentralized
![Page 18: Voice/Video over Internet Protocol (VoIP)inst.eecs.berkeley.edu/~ee233/sp06/student... · What is Overlay Network zThe operation of any peer-to-peer system relies on a network of](https://reader034.vdocuments.mx/reader034/viewer/2022042402/5f144b8909865c2e7c768204/html5/thumbnails/18.jpg)
Partially Centralized
![Page 19: Voice/Video over Internet Protocol (VoIP)inst.eecs.berkeley.edu/~ee233/sp06/student... · What is Overlay Network zThe operation of any peer-to-peer system relies on a network of](https://reader034.vdocuments.mx/reader034/viewer/2022042402/5f144b8909865c2e7c768204/html5/thumbnails/19.jpg)
Hybrid Decentralized
![Page 20: Voice/Video over Internet Protocol (VoIP)inst.eecs.berkeley.edu/~ee233/sp06/student... · What is Overlay Network zThe operation of any peer-to-peer system relies on a network of](https://reader034.vdocuments.mx/reader034/viewer/2022042402/5f144b8909865c2e7c768204/html5/thumbnails/20.jpg)
Advantage of P2PScalability
A dramatic increase in the number of nodes or documents will have minimal effect on performance and availability.
![Page 21: Voice/Video over Internet Protocol (VoIP)inst.eecs.berkeley.edu/~ee233/sp06/student... · What is Overlay Network zThe operation of any peer-to-peer system relies on a network of](https://reader034.vdocuments.mx/reader034/viewer/2022042402/5f144b8909865c2e7c768204/html5/thumbnails/21.jpg)
Advantage of P2P
Cost—there is no need to buy expensive machines for servers
![Page 22: Voice/Video over Internet Protocol (VoIP)inst.eecs.berkeley.edu/~ee233/sp06/student... · What is Overlay Network zThe operation of any peer-to-peer system relies on a network of](https://reader034.vdocuments.mx/reader034/viewer/2022042402/5f144b8909865c2e7c768204/html5/thumbnails/22.jpg)
Advantage of P2P
Robustness and Reliability
![Page 23: Voice/Video over Internet Protocol (VoIP)inst.eecs.berkeley.edu/~ee233/sp06/student... · What is Overlay Network zThe operation of any peer-to-peer system relies on a network of](https://reader034.vdocuments.mx/reader034/viewer/2022042402/5f144b8909865c2e7c768204/html5/thumbnails/23.jpg)
Issues of P2P
Security and Authenticity
![Page 24: Voice/Video over Internet Protocol (VoIP)inst.eecs.berkeley.edu/~ee233/sp06/student... · What is Overlay Network zThe operation of any peer-to-peer system relies on a network of](https://reader034.vdocuments.mx/reader034/viewer/2022042402/5f144b8909865c2e7c768204/html5/thumbnails/24.jpg)
Issues of P2PPerformance
The time required for performing the operations allowed by the system, typically routing, searching, and retrieval of documents.
FairnessEnsuring that users offer and consume resources in a fair and balanced manner.
Resource Management Capabilities
![Page 25: Voice/Video over Internet Protocol (VoIP)inst.eecs.berkeley.edu/~ee233/sp06/student... · What is Overlay Network zThe operation of any peer-to-peer system relies on a network of](https://reader034.vdocuments.mx/reader034/viewer/2022042402/5f144b8909865c2e7c768204/html5/thumbnails/25.jpg)
Skype Protocol
Any SkypeClient (SC) with a public IP addresshaving sufficient CPU, memory, and network bandwidthisa candidate to become a super node (SN)
![Page 26: Voice/Video over Internet Protocol (VoIP)inst.eecs.berkeley.edu/~ee233/sp06/student... · What is Overlay Network zThe operation of any peer-to-peer system relies on a network of](https://reader034.vdocuments.mx/reader034/viewer/2022042402/5f144b8909865c2e7c768204/html5/thumbnails/26.jpg)
LoginLogin is perhaps the most critical function to the Skype operationDuring this process, a Skype Client (SC)
Authenticates its user name and password with the login serverAdvertises its presence to other peers and its buddiesDetermines the type of NAT and firewall it is behindDiscovers online Skype nodes with public IP addresses
![Page 27: Voice/Video over Internet Protocol (VoIP)inst.eecs.berkeley.edu/~ee233/sp06/student... · What is Overlay Network zThe operation of any peer-to-peer system relies on a network of](https://reader034.vdocuments.mx/reader034/viewer/2022042402/5f144b8909865c2e7c768204/html5/thumbnails/27.jpg)
Network Address Translation
![Page 28: Voice/Video over Internet Protocol (VoIP)inst.eecs.berkeley.edu/~ee233/sp06/student... · What is Overlay Network zThe operation of any peer-to-peer system relies on a network of](https://reader034.vdocuments.mx/reader034/viewer/2022042402/5f144b8909865c2e7c768204/html5/thumbnails/28.jpg)
NAT
![Page 29: Voice/Video over Internet Protocol (VoIP)inst.eecs.berkeley.edu/~ee233/sp06/student... · What is Overlay Network zThe operation of any peer-to-peer system relies on a network of](https://reader034.vdocuments.mx/reader034/viewer/2022042402/5f144b8909865c2e7c768204/html5/thumbnails/29.jpg)
NAT
![Page 30: Voice/Video over Internet Protocol (VoIP)inst.eecs.berkeley.edu/~ee233/sp06/student... · What is Overlay Network zThe operation of any peer-to-peer system relies on a network of](https://reader034.vdocuments.mx/reader034/viewer/2022042402/5f144b8909865c2e7c768204/html5/thumbnails/30.jpg)
NAT
![Page 31: Voice/Video over Internet Protocol (VoIP)inst.eecs.berkeley.edu/~ee233/sp06/student... · What is Overlay Network zThe operation of any peer-to-peer system relies on a network of](https://reader034.vdocuments.mx/reader034/viewer/2022042402/5f144b8909865c2e7c768204/html5/thumbnails/31.jpg)
NAT
![Page 32: Voice/Video over Internet Protocol (VoIP)inst.eecs.berkeley.edu/~ee233/sp06/student... · What is Overlay Network zThe operation of any peer-to-peer system relies on a network of](https://reader034.vdocuments.mx/reader034/viewer/2022042402/5f144b8909865c2e7c768204/html5/thumbnails/32.jpg)
Super Node Density
![Page 33: Voice/Video over Internet Protocol (VoIP)inst.eecs.berkeley.edu/~ee233/sp06/student... · What is Overlay Network zThe operation of any peer-to-peer system relies on a network of](https://reader034.vdocuments.mx/reader034/viewer/2022042402/5f144b8909865c2e7c768204/html5/thumbnails/33.jpg)
Call Placement Case 1The call signaling is always carried over TCPBoth users were on public IP addressThe caller SC established a TCP connection with the callee SC
![Page 34: Voice/Video over Internet Protocol (VoIP)inst.eecs.berkeley.edu/~ee233/sp06/student... · What is Overlay Network zThe operation of any peer-to-peer system relies on a network of](https://reader034.vdocuments.mx/reader034/viewer/2022042402/5f144b8909865c2e7c768204/html5/thumbnails/34.jpg)
Call Placement Case2
The caller was behind port-restricted NAT and callee was on public IP addressThe caller sends signaling information over TCP to an online Skype node which forwarded it to callee over TCPThe online node also routed voice packets from caller to callee over UDP and vice versa
![Page 35: Voice/Video over Internet Protocol (VoIP)inst.eecs.berkeley.edu/~ee233/sp06/student... · What is Overlay Network zThe operation of any peer-to-peer system relies on a network of](https://reader034.vdocuments.mx/reader034/viewer/2022042402/5f144b8909865c2e7c768204/html5/thumbnails/35.jpg)
Call Placement Case 3Both users were behind port-restricted NAT and UDP-restricted firewallCaller SC sent media over TCP to an online node, which forwarded it to callee SC over TCP and vice versaAdvantages of having a node route the voice packets from caller and callee
It provides a mechanism for users behind NAT and firewall to talk to each otherIf other users want to participate in a conference, this node serves as a mixer
Call tear-down
![Page 36: Voice/Video over Internet Protocol (VoIP)inst.eecs.berkeley.edu/~ee233/sp06/student... · What is Overlay Network zThe operation of any peer-to-peer system relies on a network of](https://reader034.vdocuments.mx/reader034/viewer/2022042402/5f144b8909865c2e7c768204/html5/thumbnails/36.jpg)
Skype FunctionsCodec Frequency RangeThe min. and max. audible frequency Skype codecsallow to pass through are 50 Hz and 8000 HzCongestion ControlUplink and downlink bandwidth of 2kbytes/s each was necessary for reasonable call qualityThe voice was almost unintelligible at an uplink and downlink bandwidth of 1.5kbytes/s
![Page 37: Voice/Video over Internet Protocol (VoIP)inst.eecs.berkeley.edu/~ee233/sp06/student... · What is Overlay Network zThe operation of any peer-to-peer system relies on a network of](https://reader034.vdocuments.mx/reader034/viewer/2022042402/5f144b8909865c2e7c768204/html5/thumbnails/37.jpg)
Conclusion
VoIP can bring us a lot more conveniences which can’t be provided by traditional PSTN network. However, there remains some issues to be resolved
VoIP over wireless network, such as admission control, congestion detection…etc.
Security Issue