Basic VOIP

42
Voice Over Internet Protocol SV thực hiện: Trần Minh Hòa 1071090 Dương Văn Hưng 1071093 Phạm Đoàn An Khương 1071099 Bùi Thanh Tịnh 1071143 GV hướng dẫn: TS. Lương Vinh Quốc Da 1

description

 

Transcript of Basic VOIP

Page 1: Basic VOIP

Voice Over Internet Protocol

SV thực hiện:

Trần Minh Hòa 1071090

Dương Văn Hưng 1071093

Phạm Đoàn An Khương 1071099

Bùi Thanh Tịnh 1071143

GV hướng dẫn:

TS. Lương Vinh Quốc Danh

1

Page 2: Basic VOIP

Kế hoạch thực hiện đề tài

• Tổng quan VoIP

• Xem xét các yếu tố cấu thành VoIP

• Định tuyến cuộc gọi qua cổng Analog Voice

• Thực hiện phát tín hiệu thoại qua cổng Digital Voice

• Khảo sát VoIP Gateways và Gateway Control Protocols

2

Page 3: Basic VOIP

Kế hoạch thực hiện đề tài

• Xác định các đặc tính của Dial Plan

• Cấu hình nâng cao Dial Plan

• Cấu hình H.323 Gatekeeper

• Thiết lập hệ thống VoIP thực tế

3

Page 4: Basic VOIP

Buổi 1 Tổng quan VoIP

• Giới thiệu VoIP• Các kỹ thuật chuyển mạch• Các mô hình kết nối qua mạng VoIP• Các thành phần cấu thành mạng VoIP• Các giao thức mạng• Cách thức hoạt động• Nhân tố ảnh hưởng• Ưu Nhược điểm• Ứng dụng

4

Page 5: Basic VOIP

Giới thiệu VoIP

5

Mạng điện thoại truyền thống PSTN (thoại) và mạng Internet (data) tách biệt nhau

Page 6: Basic VOIP

Giới thiệu VoIP

6

Voice và Data sẽ được truyền tải trên IP qua cùng 1 mạng

Page 7: Basic VOIP

Chuyển mạch kênh

• Kênh dành riêng cho 2 thiết bị đầu cuối

• Tốc độ truyền dẫn luôn cố định

• Độ trễ nhỏ

7

Page 8: Basic VOIP

Chuyển mạch gói

• Dữ liệu được chia nhỏ ra thành các gói

• Mỗi gói sẽ được chuyển riêng rẽ

• Đến nơi nhận sẽ được hợp lại thành dữ liệu ban đầu

8

Page 9: Basic VOIP

Các mô hình kết nối VoIP

• PC to PC via the Internet

9

InternetInternet

Page 10: Basic VOIP

Các mô hình kết nối VoIP

10

• PC to Phone

InternetInternet

GATEWAY

PSTNPSTN

Page 11: Basic VOIP

Các mô hình kết nối VoIP

11

• Phone to Phone via the Internet

InternetInternet

GATEWAYGATEWAY

PSTNPSTN PSTNPSTN

Page 12: Basic VOIP

Các mô hình kết nối VoIP

Using VoIP with your Cell Phone

• Cell Phone to PC via Internet

• Cell Phone to Cell Phone via 3G Internet

• PC to Cell Phone

12

Page 13: Basic VOIP

Components of a VoIP Network

13

Page 14: Basic VOIP

VoIP Protocols

• VoIP Signaling Protocols: control and call-signaling protocol

• Media Transmission Protocols:

14

Page 15: Basic VOIP

VoIP Signaling Protocols

• H.323

• MGCP: Media Gateway Control Protocol

• SIP: Session Initiation Protocol

• SCCP: Skinny Client Control Protoco

15

Page 16: Basic VOIP

H.323

• Defined by the International Telecommunication Union (ITU) for multimedia conferences over LANs

• A standard that specifies the components, protocols, and procedures that provide multimedia communication services, real-time audio, video, and data communications over packet networks, including IP networks.

16

Page 17: Basic VOIP

H.323

17

Page 18: Basic VOIP

MGCP

• MGCP is a client/server call control protocol built on a centralized control architecture

• MGCP is a plain-text protocol used by call-control devices to manage IP telephony gate-ways

18

Page 19: Basic VOIP

19

Page 20: Basic VOIP

SIP

• SIP is a peer-to-peer protocol where user agents (UAs) initiate sessions, similar to H.323.

• SIP is a protocol developed by the Internet Engineering Task Force (IETF) Multiparty Multimedia Session Control (MMUSIC) Working Group as an alternative to H.323

20

Page 21: Basic VOIP

SIP

• SIP is a common standard based on the logic of the World Wide Web and is very simple to implement, it is widely used with gateways and proxy servers within service provider networks for internal and end-customer signaling.

21

Page 22: Basic VOIP

SIP

22

Page 23: Basic VOIP

SCCP

• is a client-server protocol

• SCCP is a Cisco proprietary protocol that is used for the communication between Cisco UCM and terminal endpoints

23

Page 24: Basic VOIP

SCCP

24

Page 25: Basic VOIP

Media Transmission Protocols

• Real-Time Transport Protocol

• RTP Control Protocol

• Secure RTP

25

Page 26: Basic VOIP

Real-Time Transport Protocol

26

Page 27: Basic VOIP

Real-Time Transport Protocol

• Defined a standardized packet format for delivering audio and video over the Internet.

• Developed by the Audio-Video Transport Working Group of the IETF

• Provide end-to-end network transport functions intended for applications with real-time transmission requirements, such as audio and video, include payload-type identification, sequence numbering, time stamping, and delivery monitoring

27

Page 28: Basic VOIP

RTP Control Protocol

• RTP provides out-of-band control information for an RTP flow

• used for QoS reporting

• provides a mechanism for hosts involved in an RTP session to exchange information about monitoring and controlling the session

28

Page 29: Basic VOIP

Secure RTP

29

Page 30: Basic VOIP

Secure RTP

• Published by IETF

• Designed to provide encryption, message authentication, and integrity, and replay protection to RTP data in both unicast and multicast applications.

30

Page 31: Basic VOIP

Cách thức hoạt động

– Số hóa tín hiệu Analog• Lấy mẫu (Sampling) • Lượng tử hóa (Quantization)• Mã hóa (Encoding)• Nén giọng nói (Voice Compression)

– Tạo Voice Datagram: đóng gói dữ liệu– Gắn Header theo các chuẩn: RTP, UDP, IP,…– Chuyển các gói tin đến IP nhận thông qua

Network

31

Page 32: Basic VOIP

Cách thức hoạt động

– IP nhận nhận các gói tin– Xử lý các gói tin– Giải nén các gói tin– CODEC tín hiệu Digital thành Analog

32

Page 33: Basic VOIP

Lấy mẫu (Sampling)

33

Page 34: Basic VOIP

Lượng tử hóa (Quantization)

34

Page 35: Basic VOIP

Nén giọng nói (Voice Compression)

35

Page 36: Basic VOIP

Nhân tố ảnh hưởng

• Factors influence:– Echo: amplitude and delay– Jitter: individual packets, contention, or

congestion– Delay: distance, coding, compression,

serialization, and buffers– Packet Loss: unstable network, network

congestion, or too much variable delay in the network

36

Page 37: Basic VOIP

Ưu điểm

Ưu điểm:

• Giảm chi phí cuộc gọi (các cuộc gọi đường dài và quốc tế)

• Tích hợp mạng thoại, mạng số liệu và mạng báo hiệu

• Khả năng mở rộng

37

Page 38: Basic VOIP

Ưu điểm

• Truyền voice dưới dạng số nên chống được nhiễu tốt

• Tiết kiệm băng thông• Khả năng đa dich vụ (multimedia)• Nhiều tính năng mới• Tính cơ động

38

Page 39: Basic VOIP

Nhược điểm

• Chi phí đầu tư ban đầu lớn.• Vấn đề về bảo mật.

• Vấn đề về nguồn điện.

• Kỹ thuật phức tạp.

• Khó đạt được thời gian thực (real time).

• Tiếng vọng.

39

Page 40: Basic VOIP

Lợi ích

• Giảm chi phí điện thoại đường dài (ghép kênh thống kê thay TDM,v.v…)

• Đơn giản hóa: Mạng voice và dữ liệu dùng chung tối thiểu hóa các thiết bị trong một cơ sở hạ tầng

• Các ứng dụng đa dịch vụ và đa phương tiện

40

Page 41: Basic VOIP

Ứng dụng của VoIP

• Dịch vụ thoại qua Internet

• Thoại thông minh

• Dich vụ tính cước cho bị gọi

• Dich vụ Callback Web

• Dịch vụ Fax qua IP

• Dich vụ Call Center

41

Page 42: Basic VOIP

Nội dung trình bày kỳ tới

• IP Networking and Audio Clarity

• How to Improve Voice Quality

• Transporting Modulated Data over IP Networks

• Processing Voice Packets with Codecs and DSPs

42