H.248 Protocol ISSUE2
H.248 Protocol ISSUE2
H.248 Protocol ISSUE2
H.248/MeGaCo protocol
ISSUE 2.0
Fixed
Fixed Network
Network Curriculum
Curriculum
Development
Development Section
Section
Objective
H.248/MeGaCo commands
2
References
3
About this session
Section 1 Overview
4
Bearer Control Protocols
5
Concept
6
H.248 Implementation in SoftX3000
CP
G MRS
. 323 M
/ H
C P/SIP
MG
IP Core
n MG
SoftPhone
i g tr a CP/
H.2
S 48
8
. 24
H
IAD
SS7
E1
PSTN TMG8010
E-phone E-phone
7
Terms
Media Gateway (MG):
An MG converts media provided in one type of network to the
format required in another type of network.
Media Gateway Controller (MGC):
It controls the call state pertaining to connection control of media
channels of MG.
Termination:
A Termination is a logical entity on an MG, capable of sending
and/or receiving one or more streams. A Termination is described
by a number of characterizing properties, which are grouped in a
set of descriptors included in commands. One termination belongs
to one and only one context at any time.
Context: A context is the association among terminations. It
describes topology relationships among terminations and
media-mixed/switched parameters. 8
Terms
Context: A context is the association among terminations. It
describes topology relationships among terminations and
media-mixed/switched parameters.
M ed ia G atew ay
CCoonntext
text Te rminatio n
SC N Be a re r C hanne l
Te rmina tio n
R TP Stre a m
* Te rmina tio n
SC N Be a re r C hanne l
C o n text N u ll C o n text
Termina tio n Te rmina tio n
R T P Stre a m
* SC N Be a re r C ha nne l
C o n text
Te rmina tio n Te rmina tio n
R T P Strea m
* SC N Be a re r C hanne l
9
Four Attributes of a Context
10
Protocol Stack
H.248 H.248
UDP/TCP/SCTP MTP3-B
SSCF
SSCOP
IP
AAL5
ATM
Transport media
Physical layer
11
About this session
Section 1 Overview
12
Message Mechanism of H.248
Message Message
Transaction
TransactionI
Context ContextID1
Command
CMD1 Des-1 Des-n
Descriptor
...CMDn
ContextIDn
...
TransactionIDn
13
Protocol Message
14
Message Structure
Megaco/H.248 message
15
Code of Protocol Message
16
Commands
H.248 protocol defines eight commands, all of which are sent to MG by
MGC except the command “Notify”, which is sent to MGC by MG. The
17
Commands (cont.)
Section 1 Overview
19
Scenario 1 – Registration
MG SoftX3000
SVC_CHG_REQ
SVC_CHG_REPLY
20
Scenario 2 – Initiation of MG
MG SoftX3000
MOD_REQ
MOD_REPLY
21
Scenario 3 – Successful call
UserA Termination1 SoftX3000 Termination2 UserB
Off-hook
1 NTFY_REQ
NTFY_REPLY
2 MOD_REQ
dial-tone MOD_REPLY
dialing 3 NTFY_REQ
NTFY_REPLY
4 ADD_REQ
ADD_REPLY
5 ADD_REQ
ADD_REPLY
6 MOD_REQ
7 MOD_REQ Ringing
MOD_REPLY
Ringback tone MOD_REPLY Off-hook
8 NTFY_REQ
NTFY_REPLY
9 MOD_REQ
22
MOD_REPLY
Scenario 3 – Successful call (cont.)
UserA Termination1 SoftX3000 Termination2 UserB
10 MOD_REQ
MOD_REPLY
Conversation
On-hook 11 NTFY_REQ
NTFY_REPLY
12 MOD_REQ
MOD_REPLY
13 SUB_REQ 14 MOD_REQ
SUB_REPLY MOD_REPLY Busy-tone
15 MOD_REQ On-hook
16 NTFY_REQ
MOD_REPLY
NTFY_REPLY
17 SUB_REQ
SUB_REPLY
18 MOD_REQ
MOD_REPLY
23
Scenario 4 – Successful trunk call
SG TG SoftX3000 AMG UserB
IAM
1 ADD_REQ
ADD_REPLY 2 ADD_REQ
ADD_REPLY
3 MOD_REQ
MOD_REPLY Ringing
4 MOD_REQ
MOD_REPLY
ACM
5 NTFY_REQ Off-hook
NTFY_REPLY
6 MOD_REQ
MOD_REPLY
7 MOD_REQ
MOD_REPLY
ANM
Conversation
24
Scenario 4 – Successful trunk call (cont.)
8 NTFY_REQ On-hook
NTFY_REPLY
9 MOD_REQ
MOD_REPLY
10 SUB_REQ
SUB_REPLY
REL
RLC
11 SUB_REQ
SUB_REPLY
25
Summary