没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
Design of a Voice over IP System that
Circumvents NAT
Jem Berkes
Timothy Czyrnyj
Justin Olivier
Dominic Schaub
Submitted in partial fulfillment of the requirements for the degree of Bachelor of Science
in Computer Engineering, at the Faculty of Engineering, University of Manitoba.
March 2004
Faculty Supervisors:
Dr. Robert Mcleod, Advisor
Dr. Joe LoVetri, Course Coordinator
Copyright © 2004 Jem Berkes, Timothy Czyrnyj, Justin Olivier, and Dominic Schaub
Abstract
Voice-over-IP (VoIP) provides convenient, low-cost telephone calls over the Internet and
has the potential to supercede analogue telephone systems. Current VoIP systems cannot deliver
low latency communications between two firewall or Network Address Translation (NAT)
protected hosts, which has impeded its widespread adoption among residential Internet users.
This report describes the design and implementation of a functional peer-to-peer VoIP system
targeted for home PC users on residential Internet connections. A suitable VoIP protocol was
developed through network testing and experimentation. This protocol was built into software
using modules implementing connection establishment, audio compression, encryption, packet
queuing and audio processing. A novel connection establishment scheme that provides direct
communication between hosts irrespective of firewalls or NAT was employed to eliminate the
need for a centralized architecture, attaining the lower latency inherent to peer-to-peer
architectures. The decentralized system scales well since each conversation occupies its own
connection independent of any other communications. An external hardware device, capable of
interfacing with both the computer and the analogue telephone lines, provides a bridge between
our VoIP software and conventional telephone lines. The graphical user interface designed for
home PC users allows people to place telephone calls over the Internet and optionally dial real
telephone numbers via the hardware interface. The resulting complete system, with the help of
user directory facilities, succeeds in providing the full VoIP usability as originally intended.
1
Acknowledgements
Our group would like to thank our advisor, Dr. R. D. McLeod, for his advice and
guidance and for his inspiring Telecommunications course. We would also like to thank NSERC
and the Faculty of Engineering for funding the summer 2003 research that evolved into this
project. We thank Karim Abel-Hadi and Jenny Chuang and Michael Trachtenberg for their
assistance in testing our software. Finally, we thank Karim Abel-Hadi again for immense help in
proofreading our report.
2
Contributions
The background research and the preliminary protocol design for this project was a group
effort. Each person dedicated time to learning and understanding the background knowledge
needed to undertake each task. Although each member was assigned one segment of the project,
each member received insight and help from other members from time to time.
Jem Berkes
• Hardware Design
• Hardware Implementation
• UDP Packet Loss and Packet Error Tests (Wired)
• Network Packet Latency Tests (Wired)
• Dynamic Buffering
• Feedback Cancellation
Timothy Czyrnyj
• UDP No-Checksum Interface
• UDP Packet Loss and Packet Error Tests (Wireless)
• Network Packet Latency Tests (Wireless)
• Network Jitter Testing
• The Software Controller and Hardware Interface
• Windows Audio Interface
Justin Olivier
• Existing VoIP research
• Codec Research
• Noise Reduction (IIR Filtering)
• Silence Detections
• Automatic Gain Control
• Preliminary Windows Audio Testing
Dominic Schaub
• Protocol Design
• Network Jitter Solutions
• Encryption
• Graphical User Interface
• Integrated Directory Service
• Controller Module
• Feedback Cancellation
3
Table of Contents
Abstract..............................................................................................................................1
Acknowledgements ...........................................................................................................2
Contributions ....................................................................................................................3
Table of Contents..............................................................................................................4
List of Figures....................................................................................................................6
List of Tables.....................................................................................................................7
Acronyms...........................................................................................................................8
1. Introduction...................................................................................................................9
1.1 What is VoIP?........................................................................................................... 9
1.2 Purpose.................................................................................................................... 10
1.2.1 Protocol design................................................................................................ 10
1.2.2 Software design................................................................................................ 10
1.2.3 Hardware design.............................................................................................. 10
1.3 Goals .......................................................................................................................11
1.4 Unique aspects of our system.................................................................................. 11
1.5 Real-world Impact ..................................................................................................12
2. Research and Network Testing..................................................................................13
2.1 Existing Voice over IP Systems.............................................................................. 13
2.1.1 Speak Freely .................................................................................................... 13
2.1.2 TeamSpeak.......................................................................................................13
2.1.3 Skype ................................................................................................................ 14
2.1.4 HawkVoiceDI...................................................................................................14
2.1.5 ITU Standards.................................................................................................. 14
2.1.6 Strengths of Existing Systems ..........................................................................14
2.1.7 Weaknesses ...................................................................................................... 14
2.2 Audio Codec Research............................................................................................15
2.2.1 µ -Law .............................................................................................................. 15
2.2.2 Adaptive Differential Pulse Code Modulation (ADPCM) ............................... 15
2.2.3 Global System for Mobile Communication (GSM) 6.10..................................15
2.2.4 LPC.................................................................................................................. 15
2.2.5 Codec Comparison .......................................................................................... 16
2.3 Network packet latency........................................................................................... 16
2.3.1 Internet-wide latency tests ............................................................................... 17
2.3.2 Wireless Tests .................................................................................................. 22
2.4 Packet Loss and Bit Error Rate ............................................................................... 24
2.4.1 Internet-wide Tests........................................................................................... 25
2.4.2 Packet Loss, Bit Errors and Wireless Networks .............................................. 28
2.4.3 Checksum-less UDP Packets ........................................................................... 29
2.5 Network Jitter.......................................................................................................... 29
3. Overview of Protocol Design......................................................................................32
3.1.1 Issues affecting Protocol Design ..................................................................... 32
3.1.2 Incorporation of Research into Protocol Design............................................. 33
4
剩余91页未读,继续阅读
资源评论
- henrychan1232013-09-09资料不错,可惜是英文版,研究中
- wokeyi2052015-10-12正在研究学习。。。。
- CHENFENGLI19852013-06-23不错,入门了解的资料
heaterman
- 粉丝: 0
- 资源: 11
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功