GI!I THI"U VoIP (Voice over IP) GV : Nguy#n Xuân Khánh Email : xuankhanh@ptithcm
[email protected] .edu.vn
N$i dung • !"nh ngh # a VoIP • T$i sao dùng VoIP • Các d$ng thông tin VoIP • Các giao th%c VoIP • T&ng quan v' thi(t l)p cu*c g+i
%&nh ngh ' a VoIP • VoIP là s, v)n chuy-n tho$i b.ng th/ t0c IP • Phân bi1t gi2a Internet Telephony và VoIP
<
T(i sao dùng VoIP
• Giá thi(t b" th4p h5n so v6i các thi(t b" chuy-n m$ch kênh • Tích h7p 897c các %ng d0ng tho$i và d2 li1u • Yêu c:u b;ng thông th4p • S, ph& bi(n r *ng rãi c/a IP
<
Các d(ng thông tin VoIP PC to PC
IP Network H.323 Terminal
H.323 Gatekeeper
H.323 Terminal
DNS Server
Các d(ng thông tin VoIP PC to phone
PSTN
IP Network
Telephone
H.323 Terminal Media gateway
H.323 Gatekeeper
DNS Server
Các d(ng thông tin VoIP Phone to phone
PSTN
IP Network
PSTN
Telephone
Telephone Media gateway
H.323 Gatekeeper
Media gateway
DNS Server
<
Các giao th)c VoIP
Các thành ph*n trong m(ng VoIP- SIP
Các thành ph*n trong m(ng VoIP - H323
H.323 Terminal
H.323 MCU
H.323 Terminal
Packet Network
H.323 Gatekeeper
H.323 Terminal
H.323 Gateway
GSTN
Narrowband ISDN
Broadband ISDN
Thi(t b" 8:u cu
Video I/O Equipment
Audio I/O Equipment
Video Codec H.261, H.263 Audio Codec G.711, G.722, G.723, G.728, G.729
User Data Applications T.120, etc.
H.225.0 Layer System Control H.245 Control
System Control User Interface
Receive Path Delay
Call Control H.225.0
RAS Control H.225.0
Local Area Network Interface
Gateway
H.323 Terminal
H.323 Gatekeeper
GSTN
H.323 MCU
Packet Based Network
H.323 Gateway (1)
Guaranteed QoS LAN
H.323 Terminal
H.323 Terminal
N- ISDN
B-ISDN H.310 terminal operating in H.321 mode
V.70 Terminal
H.324 Terminal
Speech Terminal
H.322 Terminal
Speech Terminal
H.320 Terminal
H.321 Terminal
H.321 Terminal
Gateway (tt) H.323 Terminal Network
Function
Conversion Function
SCN Terminal Function
SCN
Gateway A
H.323 MCU Network
Function
Conversion Function
SCN Terminal Function
SCN
Gateway B
H.323 Terminal Network
Function
Conversion Function
SCN MCU Function
SCN
Gateway C
H.323 MCU Network
Function
Conversion Function
Gateway D
SCN MCU Function
SCN
X= l> tín hi1u trong Gateway IP Fax PC Memory: Applications Echo Cancel
Voice Encoders/ Decoders
Internet
IP Stack Adapter
V.17 PC Cards
PSTN
POTS
Voice Card
Ethernet Adapter
Ethernet
Ki(n trúc ph:n m'm trong Gateway
Signaling Network Management Module Voice
Voice Packet Module DSP
Telephony Signaling Module Network Protocol Module MICROPROCESSOR
Voice & Signaling Packet
Module gói tho$i Tone Detector Gain Control
PCM Interface
Echo Canceler G.165, G.168
Voice Activity Detector
Voice Codecs G.711 G.723.1 G.726
Tone Generator
Adaptive Playout Unit
G.728 G.729A/B Comfort Noise Generator
Resampler
Packet Loss Manager
Packet Protocol
Assembler/ Disassemble r To Micro Sequencer
VOICE
Fax Interface Unit Modem V.21 V.27ter V.29 V.17
Fax Protocol T.30
Network Driver
Message Processing Unit
Module báo hi1u, qu?n l> và giao th%c m$ng TELEPHONY SIGNALING
NETWORK MANAGEMENT
CALL PROCESSING CAS FXS/FXO Loop Start Ground Start Signaling
Configuration Fault Management Performance Call Detail Records
CCS ISDN PRI/ BRI QSG
SNMP Agent Telephone MIBs
Pulse Dialing
Protocol MIBs
E&M Signaling
ADDRESS TRANSLATION Number !!!!!..IP Digit Collection
Number !..!!.!DLCI Number !!!..VPI/VCI
Protocol Conversion
NETWORK PROTOCOLS
VOIP H.323
DSP CONTROL
VTOA AAL1/2/5
Packet Interface To DSP Software Download
VOFR FRF.11
To Network
Gatekeeper Zone
T1
GK
T2
GK
GW
T3
T4
R
R
T5
MCU
: Gatekeeper
GW : Gateway MCU : Multipoint Control Unit T
: Terminal External Database Zone
Third Party Application Policies and Configuration
MCU
H.323 Other
Gatekeeper
Gateway
Neighbor Gatekeeper (other zones)
Terminal
Ch%c n;ng c/a Gatekeeper !
Ch%c n;ng b@t bu*c • Chuy-n 8&i 8"a chA • !i'u khi-n ch4p nh)n cu*c g+i • !i'u khi-n b;ng thông • Qu?n l> m$ng
!
Ch%c n;ng nhi1m > • Báo hi1u 8i'u khi-n cu*c g+i • C4p quy'n cu*c g+i • Qu?n l> b;ng thông • D"ch v0 qu?n l> cu*c g+i • D"ch v0 th9 m0c
MCU (Multipoint Control Unit)
• MCU qu?n l> cu*c g+i gi2a 3 hoBc nhi'u h5n 3 8:u cu
MP (Multipoint Processor) • H.323 8"nh ngh # a 4 lo$i h*i ngh" 8a 8i-m: t)p trung, phân b<, hDn h7p v6i audio t)p trung và hDn h7p v6i video t)p trung
<
T!ng quan v" báo hi#u thi$t l% p cu&c g'i - SIP site1.net
site2.net Location server
DNS
INVITE
Proxy INVITE [email protected]
Ringing 200 OK
Proxy
ACK
INVITE Ringing 200 OK
Media Streams User1
User2
INVITE SDP proposes media type(s), IP & ports to send to 200 OK SDP accepts/rejects media, gives IP & ports to send to Khoa ViEn thông 2 - B* môn
T&ng quan v' thi(t l)p cu*c g+i VoIP H323
PSTN
PSTN
FAX
FAX
Telephone
Telephone T1/E1 RADIUS/AAA Server Gateway
Gateway Local POP
Local POP H.323 Gatekeeper
T&ng quan v' thi(t l)p cu*c g+i VoIP-H323 (tt)
(2)
(1)
(3)
RADIUS/AAA Server
QoS WAN
PSTN
PSTN Telephone
Telephone Gateway
H.323 Gatekeeper
Gateway
T&ng quan v' thi(t l)p cu*c g+i VoIP –H323 (tt)
Gateway RADIUS/AAA Server
QoS WAN
PSTN
(5)
Telephone
(4)
(6)
H.323 Gatekeeper
Gateway
PSTN Telephone
T+ng quan v, thi-t l.p cu$c g/i VoIP-H323 (tt)
(9)
(9) Gateway
Server RADIUS/AAA
Gateway
QoS WAN
PSTN
PSTN Telephone
Telephone
(7)
(8) H.323 Gatekeeper
<
M$t vài m(ng th0c t!&! % À $ &' (
!"#$ % À $ &' (
n x E1 SS7
NMS Client Router 7200 n x Gateway Cisco AS5xxx !&! ! $+ À $) *
!"#$ -&. $+ $) (
!& ! - &. $+ $) (
8 4 0 2 x
E1 SS7 Gateway Cisco AS5xxx
!"#$ /). $ #%O
s p b k
!& ! / ) . $ #%O
E1 SS7
e n i l d e s a e l
NMS Client
s p b k e 8 n i 4 l 0 d 2 e x s a n e l
n x 2 0 4 l 8 e a k s b e p d s l i n e
L C P I n x t ? ? c Q u i !
HCM NOC
Router 7200 Switch
Gateway Cisco AS5xxx
n x Gateway Cisco AS5xxx n x E1 SS7
PSTN HCM
! À
$) $ *+
Router 7200
n
k b p s 0 4 8 n x 2 d l in e l e a s e
!"#$
n x E1 R2 n x Gateway Cisco AS5xxx
Billing Server
NMS Server