Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Part 4
H.248/MeGaCo in IMS
Introduction
Why learn about
H.248/MeGaCo?
Used by IMS control nodes
SGC, MGC, MRFC
Controls media resources
SGC MGC MRFC
BGF, MGW, MRFP (all
functions in the MRS) H.248 H.248 H.248
Media conversion,
pinholeing and merging BGF MGW MRFP
Necessary for MRS
understanding the signaling
in IMS
Scope and Objectives
Scope
H.248 H.248
T1 MGW T2 MGW
4. BYE 1. REL
MGC
MGW
H.248 Concepts and
terminology
Virtual Media Resources
H.248 Connection Model
Termination types:
Physical, ex. isup1/14/1/19
Ephemeral, ex. mgw/0x0a002000a
H.248 Connection Model
Packages
Additional Properties, Events, Signals and Statistics which
have been defined and grouped for interoperability
Used to accommodate variations in Termination
characteristics
A Termination can support a set of packages
A control node can audit a Termination to determine which
Packages it supports.
H.248 Commands
Add
Subtract
Move
Modify
AuditValue
AuditCapabilities
Notify
ServiceChange
Descriptors
Parameters to a command
Consist of a name and a list of items
General Format:
DescriptorName[=<ID>]{parm=value,parm=value}
Example:
LocalControl{Mode=SendReceive,tdmc/ec = ON}
Examples of Descriptor types
Media Descriptor
Describes the traffic and the Termination state for the media streams
Termination State Descriptor
Describes the current service state of a Termination
Stream Descriptor
The parameters of a single bi-directional stream for the Termination.
Local Control Descriptor
To control the transmission mode of the Streams
Local Descriptor
Characteristics of the traffic of a Received Stream
Remote Descriptor
Characteristics of the traffic of a Transmitted Stream
Events Descriptor
Contains a Request ID and a list of events that the MGW is requested
to detect and report
Media Descriptors
Media {
Stream = 1 {
LocalControl { Mode = SendReceive },
Local {v=0
c=IN IP4 125.125.125.111
m=audio 1111 RTP/AVP 4
a=ptime:30 },
Remote {v=0
c=IN IP4 124.124.124.222
m=audio 2222 RTP/AVP 4
a=ptime:30 }
}
}
Transactions
TRANSACTIONID
ACTION:
CONTEXTID1 COMMAND1 COMMAND2
COMMAND3 COMMAND4
ACTION:
CONTEXTID2 COMMAND1
ACTION:
CONTEXTID3 COMMAND1 COMMAND2
COMMAND3
Transaction Example
MGC to MG1:
MEGACO/1 [123.123.123.4]
Transaction = 10006 {
Context = 2000 {
Modify = isup1/1/2/3 {
Media
{Stream=1{LocalControl{Mode=SendReceive}}
}
},
Modify = 0x0200a002
Media
{Stream=1{LocalControl{Mode=Inactive}}
}
}
}
}
MG1 to MGC:
MEGACO/1 [124.124.124.222]
Reply = 10006 {
Context = 2000 {
Modify = isup1/1/2/3 , Modify = 0x0200a002 }}
Text Encoding of H.248
!/1 [10.59.203.210]
T=2475484 {
C=*{O-AV=port_236{AT{M,E}}},
C=-{O-AV=port_236{AT{M,E}}}
}
MEGACO/1 [10.59.203.210]
Termination=2475484 {
Context =*{LocalControl-AuditValue=port_236 {Audit{Media,Events}}},
Context =-{LocalControl-AuditValue=port_236 {Audit{Media,Events}}}
}
H.248 Signaling
SIP to PSTN Session 1
ISUP
INVITE 4
Tel:+4687191234 MGC Gateway Switch
1 IAM +4687061234
SDP Alice
T1
IP
Alice MGW
Bob
+4687061234
Example Message 2
Internet Protocol, Src: MGC (192.168.3.106), Dst: MGW (192.168.3.84)
SCTP, Src Port: h248 (2944), Dst Port: h248 (2944)
MEGACO
MEGACO/2 [192.168.3.106]
Transaction = 1102 {
Context = $ {
Add = isup1/14/1/1 {
Media {Stream = 1 {LocalControl {Mode: Inactive tdmc/ec = ON}}}
} ,
Add = $ {
Media {
Stream = 1 {
LocalControl {
Mode: SendReceive
Reserve Value: ON
Reserve Group: OFF
} ,
Local {v=0 c=IN IP4 $ m=audio $ RTP/AVP 8 106 a=rtpmap:8
PCMA/8000 a=rtpmap:106 telephone-event/8000
} ,
Remote {v=0 c=IN IP4 147.214.150.92 m=audio 8500 RTP/AVP 8 106
a=rtpmap:8 PCMA/8000
a=rtpmap:106 telephone-event/8000
}}} ,
Events = 40 {g/cause}
}}}
Example Message 3
Internet Protocol, Src: MGW (192.168.3.84), Dst: MGC (192.168.3.106)
SCTP, Src Port: h248 (2944), Dst Port: h248 (2944)
MEGACO
MEGACO/2 <MGW>
Reply = 1102 {
Context = 33554497 {
Add = isup1/14/1/1,
Add = MGW/0x17020017 {
Media {
Stream = 1 {
LocalControl {
Mode = SendReceive,
ReservedGroup = OFF,
ReservedValue = ON
},
Local {v=0 c=IN IP4 192.168.3.83 m=audio 4140 RTP/AVP 8 106
a=rtpmap:8 PCMA/8000
a=rtpmap:106 telephone-event/8000
}}}}}}
SIP to PSTN Session 2
Example Messages 6 & 7
Internet Protocol, Src: MGC (192.168.3.106), Dst: MGW (192.168.3.84)
SCTP, Src Port: h248 (2944), Dst Port: h248 (2944)
MEGACO
MEGACO/2 [192.168.3.106]
Transaction = 1103 {
Context = 33554497 {
Modify = isup1/14/1/1 {
Media {
Stream = 1 {
LocalControl {
Mode = ReceiveOnly
}}}}}}
Signaling flows
18. 180 Ringing
19. 180 Ringing 20. ANM
21. 200 OK
22. 200 OK
23. 200 OK
24. 200 OK
25. ACK
26. ACK
27. ACK
28. ACK
Contexts
Commands and BGF MGW MRFP
Descriptors MRS
For more in-depth instructor led training, visit MyLearning and search for
IMS Signaling, LZU 108 7193