Professional Documents
Culture Documents
248/RTP/RTCP
N G N F A C U L T Y ,A L T T C G H A Z IA B D
MDCP
SGCP
MGCP
Early 1998
Late 1998
family
MEGACO/H.248
1999-2000
MEGACO/H.248
H.248/Megaco has been developed jointly by
IETF and ITU .
It is fundamentally based on two key concepts:
termination and context.
Terminations identify media flows or resources,
implement signals (e.g. announcements, tones
etc), and generate events (e.g. on hook, off
hook), have properties and maintain statistics.
Call Agent
Media
Gateway
Media
GatewayController
Controller
Media
MediaGateway
GatewayController
Controller
PSTN,
PSTN,
ATM, etc.
etc.
ATM,
Megaco/H.248 Protocol
trunks
Trunking
Gateway
Media
Residential
Gateway
UDP
IP
Ethernet
MEGACO/H.248
Access Gateway:
A type of gateway that provides a User to
Network Interface (UNI) such as ISDN.
Descriptor: A syntactic element of the
protocol that groups related properties.
For instance, the properties of a media
flow on the MG can be set by the MGC by
including the appropriate descriptor in a
command.
MEGACO/H.248
Media Gateway (MG):
MEGACO/H.248
Media Gateway (MG):
MEGACO/H.248
MEGACO/H.248
Stream:
Bidirectional media or control flow
received/sent by a media gateway as part of
a call or conference.
Trunk: A communication channel between
two switching systems such as T1 or E1
line.
Trunking Gateway: A gateway between SCN
network and packet network that typically
terminates a large number of digital circuits.
MEGACO Features
MEGACO Connection
Model
The connection model for the protocol
describes the logical entities, or objects,
within the Media Gateway that can be
controlled by the Media Gateway Controller.
MEGACO
TERMINATION
CONTEXT
MGC
MEGACO Connection
Model
TERMATIONS:
A Termination sources and/or sinks one or
more streams. In a multimedia conference,
a Termination can be multimedia and
sources or sinks multiple media streams.
The media stream parameters, as well as
modem, and bearer parameters are
encapsulated within the Termination.
MEGACO
FEATURES OF TERMINATIONS:
1. Terminations may have signals applied to
them.
2. Signals are MG generated media streams
such as tones and announcements or line
signals such as hook switch.
3. Terminations may be programmed to detect
events,or action by MG.
MEGACO
Terminations are referred by a termination
ID,which is an arbitrary number chosen by
the MG.
ROOT TERMINATIONS:
Generally a command is related to the
termination. But in some cases it must refer
to the entire gateway. A special Termination
ID ROOT is reserved for this purpose.
MEGACO Connection
Model
CONTEXT:
A Context is an association between a
collection of Terminations. There is a
special type of Context, the null Context,
which contains all Terminations that are not
associated to any other Context. For
instance, in a decomposed access gateway,
all idle lines are represented by
Terminations in the null Context.
CONNECTION MODEL
MEGACO Connection
Model
Media Flow
Topology of a Context
describe the media flow between
Terminations within a Context
Context
SCN 1
RTP
SCN 2
Concept of Context
MEGACO
MGC
MEGACO
MG
RTP
MG
Context
IP
Termination
SCN Channel
Termination
RTP Stream
MEGACO
TransactionRequest
Consists of a number of commands
Usually requested by an MGC
Transacion Reply
A number of responses by MG
MEGACO
Packages:
MEGACO Commands
Add
Adds a termination to a context
Modify
Change the property values of a termination
E.g., to issue signals or to detect specific events
Subtract
Remove a termination from a context
The response provides statistics
MEGACO COMMANDS
Move
From one context to another
Cannot be moved to the null context
AuditValue
Retrieve current values for properties, events, and signals
AuditCapabilities
Retrieve the possible values of properties, signals, and
events
COMMANDS
Notify
Inform the MGC of events that have occurred
Accompanied by a Request ID
Service Change
Inform an MGC that a group of termination will
be taken out of service or will resume service
Message structure
Megaco/H.248 message
Header Transaction Transaction ... Transaction
Req or Reply Req or Reply
Req or Reply
Trans Hdr Action ... Action
Ctx Hdr Ctx Properties Command ... Command
Cmd Hdr Descriptor ... Descriptor
MGC
MG
Destination
10. 200 OK
11. ANM
12. MODIFY (trunk, both)
13. Reply
14. ACK
15. BYE
16. REL
19. 200 OK
THANKS