HC VI
KHOA VI
***
TT NGHIP I HC
ng dn
c hin
Lp : D06VT1
: 2006 2010
H
/ 2010
T NGHII HC
H :
Lp : D06VT1
: 2006 2010
c n T - Vi
N
Ni dung c ba ph
010
2/2010
ng d
HC VI
CI CH T NAM
c Lp - T Do - H
KHOA VI
***
***
D06VT1
NHNG DN
m: (bng ch
ng dn
D06VT1
NHN BIN
n bin
D06VT1 i
i
iii
v
1
2
1.1 2
1.2 3
1.2.1 3
1.2.2 4
1.2.3 6
1.3 14
1.3.1 14
1.3.2 15
1.3.3 16
1.3.4 17
1.3.5 19
1.4 21
1.5 22
1.5.1 PC to PC 22
1.5.2 PC to Phone 23
1.5.3 Phone to Phone 24
1.6 24
1.7 25
27
2.1 27
2.2 -model) 32
2.2.1 32
2.2.2 33
2.3 43
2.3.1 43
D06VT1 ii
2.3.2
46
2.3.2.1 ng, kch bn 47
2.3.2.2 48
2.3.2.3 Kt qu ng 53
2.4 57
58
3.1 59
3.2 n 60
3.3 62
3.3.1 62
3.3.2 63
3.3.3 65
3.4 67
68
69
D06VT1 iii
mi mng VoIP chun H.323 3
giao th 4
c ca h thng VoIP 5
H thng VoIP d 7
Thit b u cui H.323 8
Chn ca gateway H.323 9
Gatekeeper H.323 13
nh 1.8 c ca MCU 14
18
t lp cuc gi qua Proxy 20
t lp cuc gi ch Redirect Server 21
Kt ni t 22
Kt ni t n thoi 23
Kt ni t n thoi tn thoi 24
28
PESQ: ca ti (20ms) 29
31
Kt ni tham kho c 33
tr trong h thng thoi qua nn IP 44
ng logic ca doanh nghip 47
ng trong phn mm OPNET 48
C 49
C 49
2.10 C 51
C 52
C 52
ng VoIP gn trong mng 53
Kt qu xp chng VoIP gn 54
D06VT1 iv
Kt qu tr End-to-End 54
55
Hiu sut s dng trong Router 55
56
Kt qu 57
Cng VoIP 178 ca Viettel 60
62
mc ca VNPT 63
S t gi 22
i 25
tm thi cho h s 41
m 42
Thng nm 50
D06VT1 v
DSL
Digital Subcriber Line
ETSI
European Telecommunications
Standard Institute
GSM
Global System for Mobile
HTTP
HyperText Transfer Protocol
Ie
Impairment equipment
IETF
Internet Engineering Task
Force
IP
Internet Protocol
ISDN
Integrated Services Digital
Network
ITU
International
Telecommunication Union
LAN
Local Area Network
LSTR
MCU
Multipoint Control Unit
MGC
Media Gateway Controller
MGW
Media Gateway
MOS
mean opinion score metal
oxide semiconductor
Nc
Circuit Noise
OLR
Overall Loudness Rating
OSI
Open Systems Interconnection
Reference Model
PCM
Pulse Code Modulation
PESQ
Perceptual Evaluation of
Speech Quality
PSTN
Public Switched Telephone
Network
Qdu
Quantizing Distortion Unit
QoS
Quality of Service
RLR
Receive Loudness Rating
RTP
Real-Time Transport Protocol
SGW
Signalling Gateway
SIP
Session Initiation Protocol
D06VT1 vi
SLR
Send Loudness Rating
SS7
Signaling System # 7
STMR
Masking Rating
TA
Telephony Adapter
Ta
Absolute delay
TCP
Transmission Control Protocol
TELR
Talker Echo Loudness Rating
Tr
Round-Trip Delay
UDP
User Datagram Protocol
VoIP
Voice over Internet Protocol
Internet
WAN
wide area network
D06VT1 1
Khi khoa hc k thui to ra nhiu ca ci vt
ch ginh dn ti thi k
n nay. nay t nhi
thc v
c gi gim xung rt nhiu, mang li ln
m bc chng dch v
i s di nhau mt
n tng dch v a
c thc hi
th
III
Trong sut thi k c s t, ch bo ca
i li cthy ,
c ting dn em trong sut th
tt c c thnhi bc
tc hi . Em mong nhc nhi
c hi
D06VT1 2
1.1
T khi Alexander Grn tho
tn tho t d thii vi, t chic
n thoi c nh trong mn nhn thong cm tay ca t
n thoi mang li d
kt n
p vich v truy
c gc l thi vc g
c t tin phi tr rt tng ln ti l
p th u kt ni quc t. T t cu
mng v trong vio ra mt th gi v n
n trong bi c bi
i truyn thng t ra thi u hn ch v mt
m v c gi VoIP r t
nhiu so vn thoi chuyn mn th dng
m nh truyu tho
hiu thoc g
c gng cho mt cuc gi
s gig ch phi tr dn m
ch v
c g
Internet Telephony, IP Telephony, Broadband Telephony, Voice over Broadband.
i gian th
t ni trong m
c chuy li
lc chuyn thit b ci nhng truyn kt ni
i s dng cn thop s
nghi thu chua IETF) hay H.323 (ca ITU-T), kt ni ti mt
ta doanh nghip dch vng :
- dng ta vn phi quay
s c gng.
D06VT1 3
Ting cc :
Call setup : i gnh v a ch
i nhu 1 kt n c vi nhn (b). Khi
a ch i nhn t
gii s thit lp 1 kt ni d liu voice.
Voice data proccessing : ng nghe hay microphone, gi
tn t s
c chuy u s b s dng thu c bi chuyi.
Nhng thit b n thoi h tr VoIP
i ng dm (softphone), nn thoi
t b u hp chuyi (Telephony Adapter -
u s i nhm tit kii l
o m li c vn
chuyng IP. Trong sut tit giao thc
u khin cuc gt lp, quay s, ngt kt ni
- m b tin c
chng dch v
1.2
1.2.1
Khuyn ngh ca ITU-T v n t thng truy
n dn m mt h tng mng bao gm
u cuu khich v c s
dng cho truyn (voice, video, data).
mi mng VoIP chun H.323
D06VT1 4
1.2.2
H.323 cung cp nhiu loch v voice, video, data.
1.2 minh h
Ti lp ng dng, dch v Audio bao gn G (G.711, G.722, G.723.1,
G.728, G.729), dch v Video bao gm cac chu
c RTCP, RAS, RTP t lp truyn ti dn giao thc
UDP.
Vi dch v d liu/ fax : s dng chu
li
Vch v b sung : ch nm trong lp truyn tc
u khin, dn TCP.
n ngh giao tha ITU ho
u khi t np, tr nh tuyn
cuc gi.
c t o mu cu
H.245.
c t ch v b
ch v chuyn cuc gi, chuyng cuc gi, gi cuc gi, dng
cuc gi , i cuc gi, ch dn ch, nhn d
cuc gu cuc g dn cuc gi.
D06VT1 5
c t ng giu cui H vu cui chuyn
m
RTP (Real-Time Transfer Protocol) : Giao thc vn chuyn thi gian thc cung
cn chuyng dng truyn d liu thi gian thc
li ch v m c
m gi ngua ch m bo chng dch v
chch v thi gian thc b liu UDP trong H.323.
m bao giao thc thi gian th
trong mc hiu khin lung, nhn dng lu
ng thi gian thc.
c ca h thng VoIP s dng H.323
cho Audio.
c ca h thng VoIP
c dng s dch v p ISDN giao th
H.323 d p vi ng thoi truyn th th
hiu s h tr cho vic thit lp cuc g
thut truyn ti bn tin cho chu khiu RAS.
m :
Ch u cuc gi : s dng mu cuc gi cho
m cui tt ni vm cu
t lp cuc gi dt
lp cuc gi cho ISDN (khuyn ngh ITU-T Q.931). Chu
cuc gi s dnh dng theo chun H.225
D06VT1 6
Chu khin H.245 : S dng mu khi truyn ti
u khin gim cui hay gim cun
t u khi hay b u khi m (MC).
u khic s dng bi chu khit
vu cuc gi.
Chu khim v sau :
o c hi ng
in.
o gi
(codec) gim cui.
o Quym cu
gii quyt trong sut cuc gi.
o Ch c hay kh
ng truyn.
o B : thit l ng
thi thng nh m cui.
Ch u RAS : s d
hu n
m cu dng
bnh dng theo H.225.
1.2.3
t b n ct mng VoIP da
c H.323. Theo khuyn ngh H.323, m
bu cu
D06VT1 7
H thng VoIP d
a> H.323
Thit b u cum cup giao din
trc tip ging. Mng VoIP s cung c n thoi
thi gian thc vm cuu cui H.323 hay khu khi
m MCU u khin ch thng hay d liu
gia hai thit b. Mu cui H.323 ph i
PCM 64kbps theo chu tr
G.723.1.
ti cha mu cui H.323 bao gm
n thit b p H.225, chu khin h
thn vi mt c u cui thoi H.323 bt buc pht
khu khin h thng, H.225, giao din m
Khu khin h thng cung c vu cu
cung cu khin cuc gu, to
logic.
Lp H.225 thc hinh dng audio, thit l i
ng d liu khiu.
D06VT1 8
Thit b u cui H.323
Giao din mi dng bch
hp trong mng IP s dch v TCP, UDP.
i h tr :
Giao thu cuc gi H.225
Giao thu khin H.245
n
n t bt buc trong thit b u cui
ng g
t bu c
u video t ngu truy u
video nh i thit b hin th
b> Gateway H.323
Mm cung h tr
tin thi gian thc giu cu ng IP vu cu
mng chuyn mch PSTN hoc mt b
D06VT1 9
n trong cu cui trong mt m
truyc tip vi gateway. Ch ti khi cn m rng
t t ng h
giao thm cu
Chn ca gateway H.323
Media Gateway : MGW
Media Gateway cung c thc hin ch
n trong mng IP (RTP/UDP/IP) vn trong
m
MGW bao g
Chuya ch a ch
n.
Chuyi lung : chuyi gia m
mng SCN bao gm chuyt ting vng.
D nh tuy a m ng
SCN
Bo mm bo tt ni vi
Gateway
Kt cui chuyn mm tt c n cn
cn thi kt cui cuc gi chuyn m
D06VT1 10
Kt cui chuyn m : cha tt c i kt ni
ng chuyn m i
gi
Giao din vi mng SCN : kt cui
sang tr u khin bi ch
Chi gia
i, fax, d liu c liu trong
mng chuyn mc hin ch
hu thoi, trit ting vng, trit khong l
chuyu tit t
c hin chuyi giu DTMF trong mng SCN
p trong mng chuyn m
u tho
thu nh i vi
mi cuc g s dng trong viu khin cuc
gi.
OA & M : vn logic
cung cc tip phc v u khin cuc gi
tn t qu thng.
Chn vi h thng qung
Giao din mng chuyn mt cui mng chuyn m
Media Gateway Controller ( MGC )
Mu khic g
n t kt nc c gi
u khin MGW, nhu SCN t
hiu IP t GK.
bao gi ch
Chn tin H.225.0
Chn tin H.245
Chn : thit lm nhn dng ci s dng
thit b hoc phn t mng.
u khin GW chp nhn lung d li
mt lung d liu
D06VT1 11
u chuyn mm tt c u cuc g
th thc hin bu cui trong m theo chu
bao gi vi mu cui
H.323 ch nhm H.245.
Giao diu chuyn m cui giao thu chuyn
m i v ng
qu c ch t ni trc tip vi
n t MGC t c
u khin cuc gi.
u khin GW : bao gu khin kt ni logic, qun
i giao di t SS7 sang H.225.0)
xa : bao g kh dng c
trung k c kh dng ca mng IP, t l nh
tuyc gi.
u : chuy i gi u m u mng SCN
trong phi hp hong vi SGW.
n tin s d
t b ngoi vi.
OA & M : vn logic
cung cc tip phc v u khin cuc gi
tn t qu thng.
Chn vi h thng qun ng
Giao din mng chuyn mt cui mng chuyn m
n t c thc cao. MGC
chm qu hi
cnh s d trit
ting vt trong GW chu s qua MGC). MG chm qu
c th t b phn c chuyn m ng
t GW.
Signalling Gateway : SGW
SGW cung cu gia m h tr
chu gia m u trong mng
SCN (R2, CCS7).
bao gi ch
D06VT1 12
Kt nu khin cuc gi SCN
Kt nu t mng SCN : phi hp hong v
u ca MGWC.
Ch u : chuyi gi u mng IP vu
mng SCN khi phi hp hong vi MGWC.
Bo mm bo mt cu t GW.
Chn tin s dn
t b ngoi vi.
OA & M : vn logic
cung cc tip phc v u khin cuc gi
tn t qu thng.
Chn vi h thng qung
Giao din mng chuyn mt cui mng chuyn m
SG s m v u trong mng PSTN
ng c chuy
dng hng IP.
c> Gatekeeper H.323
t thc
th a ch u khin truy nhp
u cung thi qum cui trong mng
m cui s dng giao th truyi Gatekeeper.
Khi khm cui mt Gatekeeper, nu muc
vi mm cu khi to mt cuc gi s dng mt
bim cu a ch E.164 hay ma ch e-mail.
N x c cuc gi ma ch m
cua ch a ch thc cm cua
ch a ch ca mt proxy hay mt gatekeeper thc hinh tuy
hiu cuc gi.
V mt thit b c lp c t ng
p v n t m t thit b v
mng H.323 bao gm tp hm cuc gc qu
bi mm cui trong zone ph
Gatekeeper thc hi
D06VT1 13
a ch : chuya ch nh danh sang ma ch IP
u khip : gii hn truy nhp tng d
hn ch c gi
u khi cc hiu
chp.
Quch v tm cu
c hi
u khin cuc gi : GK quy
u cho cuc g
Cc gi : hn ch c gi di.
Qu i hn s ng truy nh ng thi t
ng IP
Quc gn ghi cc gc hin.
Gatekeeper H.323
d>
m cu
i ngh u khi liu t
m cu thit lp mt hi ngh n mnh m kt ni
D06VT1 14
u cui trong mt hi ngh m-i ngh
m. Mt MCU bao gm 2 phn : mt b u khim (MC) bt bu
mt b x n .
MC cung cu khin h tr i ngh gia 3 hay nhiu
m cui tham gia mt hi ngh c hii kh i mm
cui trong mt hi ngh. MC gi mt tp kh m cu ch th
ho s d th sa li t gi ti
t b u cuu cui hi ngh .
MP nh m cui trong mt hi ngh
lm cui.
thc hin, chuyn mch, hay x i s u
khin c x t lu hay nhiu lu
tin ph thuu ca hi ngh c h tr.
MCU.
c ca MCU
n ca khu khim bao gm :
B u khim : cung cp chu khin.
B x m : thu nh i, video, data.
1.3
1.3.1
Giao thc khi tt giao thu
khin lp ng dm v thit l c gi gia 2 hay
nhim cun bi IETF cho hi ngh n qua
D06VT1 15
mng c chu
trong h thng truy t kin
c kt hp vc ca I
c truyn dn d liu thi gian thc), cung cn hi
QoS, RTSP (giao thc to lung thi gian th u khii
mng PSTN, SDP (giao th n, tuy
ng ca SIP l thut c giao
th c client-server) bao
gm tp hc gi t SIP client ti SIP server. Server x u
li client bng mt bt vt
SIP transaction.
SIP h tr 5 ho thit l
tin :
nh v tr a ch,
ng cuc gi.
nh kh nh cp thp
nht cch v chung gim cui qua SDP.
u mt cuc g
gm cui b gi
i ngh l tr
li bm cui b g
Thit l g gi : Nu cuc g
t lm cung thi
tr i gia cuc gm cu
trong hi ngh -gi
u khin cuc g c gi.
1.3.2
SIP s d thit l
phn t o ra mt hi ngh gia hai hay nhiu
m cung SIP s nh bi ma ch SIP duy nht.
M a ch a ch e- nh dng :
a ch E.164 .
t domaii hostname hoa ch IP.
a ch t s n thoi v th