You are on page 1of 51

A10& DSL D& T Gr oup

A10& DSL D& T Gr oup


AG_SP01_E1_P1
AG_SP01_E1_P1
H.248 Protocol
H.248 Protocol
V1.1
V1.1
2
Objectives
Objectives
Upon the completion of this chapter, you
will be able to:
Understand the concept of H.248 protocol
Understand the components of H.248
protocol
Describe the Call Flow Scenario (CFS)
3
Course Outline
Course Outline
Concept of H.248 Protocol
Components of H.248 Protocol
Call Flow Scenario
4
Background story
Background story
First generation IP phone based on H.323 system
PSTN/ISDN
GW
GK
H323 Terminal
Media translation
Signaling switch
Call control
Limited Function
extensibility
Limited system capacity
extensibility
5
Evolution of H.248
Evolution of H.248
6
Questions in mind
Questions in mind
Who will use H.248 to communicate with each other?
What is the function of H.248
What is the characteristics of H.248
7
H.248 Protocol
H.248 Protocol
Softswitch
SG
MG
BICC/SIP-T
H.248
RTP/RTCP
SIGTRAN
ISUP/MTP
TDM Trunk
Control
Edge
8
H.248
H.248
MG
IAD
Answer of Q1.
Answer of Q1.
9
Answer of Q2.
Answer of Q2.
What is the function of H.248?
It is primarily used to separate the call control logic from the
media processing logic in a gateway.
10
Answer of Q3.
Answer of Q3.
Characteristics:
ASN.1 and Text encode mode
Open extensibility
Better support on multi-media service and multi-meeting
11
Course Outline
Course Outline
Concept of H.248 Protocol
Components of H.248 Protocol
Call Flow Scenario
12
Context and Termination
Context and Termination
Media Gateway Media Gateway
Contexts Contexts
Termination Termination
Termination Termination
Termination Termination
Termination Termination
Termination Termination
Termination Termination
Termination Termination
Termination Termination
Term. X Term. X
Terminations Terminations
Context. X Context. X
13
Terminology Interpretation
Terminology Interpretation
Termination
DefinitionSource and Destination of a media stream.
Semi-permanent termination: physical termination. For example:
ports in a IAD
Ephemeral termination: a information stream. For example: a
RTP voice media.
Root termination: Device itself.
Context
Definition: represents the relationship between a group of
terminations. (who hears/sees whom)
Null context: empty context. Represents terminations that havent
establish relationship with others.
14
Connect Model
Connect Model
CONTEXT CONTEXT
Termination Termination
SCN Bearer SCN Bearer
Channel Channel
Termination Termination
SCN Bearer SCN Bearer
Channel Channel
Media Gateway Media Gateway
15
Null Context
Null Context
Null CONTEXT Null CONTEXT
Termination Termination
SCN Bearer SCN Bearer
Channel Channel
Termination Termination
SCN Bearer SCN Bearer
Channel Channel
Media Gateway Media Gateway
16
Call waiting Sample
Call waiting Sample
Media Gateway
CONTEXT C1
Term. T2
RTP Stream
Term. T1
SCN Bearer
Channel
Term. T3
SCN Bearer
Channel
CONTEXT C2
17
Call waiting Sample
Call waiting Sample
Media Gateway
CONTEXT C1
Term. T2
RTP Stream
Term. T3
SCN Bearer
Channel
CONTEXT C2
Term. T1
SCN Bearer
Channel
18
Context
Context
Context Characteristic
ContextID: Identification of Context
Topology: Direction of media stream flow
Priority: Priority information related to context
Emergency call id: identification of emergent call info. Call
19
Termination
Termination
Termination ID
Identification of termination, assigned by MG
Termination descriptor
Property: service status, media passage property
Event: on_hook, off_hook etc.
Signal: dialing tone, DTMFsignaling etc.
Statistics: accumulate statistical data and report to MGC
20
Descriptor
Descriptor
Descriptor
Definition: a syntax element (data structure), used
to describe the property of termination
H248 V1. defines 19 descriptors7 categories
Status: TerminationState, Modem;
Media stream: Media_stream, local, remote, local control
multiplex;
Event related: Event, digitmap, eventbuffer,
Observedevents; Signals;
21
Package
Package
Package
Definition: systematic extensibility of defining characteristics that
havent been defined in termination
Common Packages
al (analog line management package)
cg (call procedure management package)
dd (DTMF detection package)
au (audio unit package)
22
Transaction
Transaction
Sender
Receiver
TransactionRequest
TransactionReply/
TransactionPending
TransactionResponseAck
23
Transaction
Transaction
TransactionRequest(TransactionId {
ContextID {Command _ Command},
. . .
ContextID {Command _ Command } })
TransactionReply(TransactionID {
ContextID { Response _ Response },
. . .
ContextID { Response _ Response } })
TransactionPending(TransactionID { } )
Transaction
API
Structure
TransactionResponseAck(TransactionID { }
TransactionID{ })
24
Commands
Commands
MG MGC
Add
MGCMG
Add a termination
to a context,
Create a context
when contextID is
not specified
25
Commands
Commands
MGC
Add
Modify
MGCMG
Modify the
property,event or
signal parameters of
a terminal
MG
26
Commands
Commands
MGC
Add
Modify
subtract
MGCMG
Delete a terminal
from a context
Delete the context
if there is no more
terminals in the
context
MG
27
Commands
Commands
MGC
Add
Modify
subtract
Move
MGCMG
Move a terminal
from one context to
another
MG
28
Commands
Commands
MGC
Add
Modify
subtract
Move
AuditValue
MGCMG
Obtain the current
status, event, signal
and statistics
information of a
terminal
MG
29
Commands
Commands
MGC
Add
Modify
subtract
Move
AuditValue
AuditCapability
MGCMG
Obtain the possible
capacity
(characteristics,
event, signal) of a
MG
MG
30
Commands
Commands
MGC
Add
Modify
subtract
Move
AuditValue
AuditCapability
Notify
MGMGC
Allows the MG to
notify the SS for
any event change
MG
31
Commands
Commands
MGC
Add
Modify
subtract
Move
AuditValue
AuditCapability
Notify
ServiceChange
MGCMGor
MGMGC
MGCMG
Start service
Quit service
MGMGC
Start service
Quit service
Registration
MG
32
Transport
Transport
Softswitch
MG
H.248
TCP/UDP
IP
H.248
Three-way Handshake
Port 2944: Text-encoded
Port 2945: Binary-encoded
33
Transport
Transport
Restart timer of
every MG is needed
to protected against
restart avalanche
Timer should be
initiate a random
value between 0 and a
Maximum waiting
delay(MWD)
MGC
MG MG MG MG
ServiceChange
Restart Avalanche
34
Course Outline
Course Outline
Concept of H.248 Protocol
Components of H.248 Protocol
Call Flow Scenario
35
Scenarios
Scenarios
Gateway Log-in/out
Call Setup
Call Termination
36
Gateway log in/out
Gateway log in/out
SS IAD
SVC_CHG_REQ
SVC_CHG_REPLY
MEGACO/1
[10.66.100.12]:2944
Transaction = 9998 {
Context = - {
ServiceChange =
ROOT {Services {
Method=Restart,
ServiceChangeAddress=294
4, Profile=ResGW/1}
}
}
}
MEGACO/1
[10.66.100.1]:2944
Reply = 9998 {
Context = -
{ServiceChange = ROOT {
Services
{ServiceChangeAddress=294
4, Profile=ResGW/1} } }
}
37
SS IAD
NTFY_REQ
MEGACO/1
[10.66.100.12]:2944
Transaction = 49414
{ Context = -
{
Notify = AG58900 {
ObservedEvents = 2000
{
20020403T08131100 :
al/of
}
}
}
MEGACO/1
[10.66.100.1]:2944
P=49414{
C=-{
N=AG58900}}
IAD
Off_hook
NTFY_REPLY
Call Setup
Call Setup
38
SS IAD
MEGACO/1
[10.66.100.12]:2944
Reply = 25218
{
Context = -
{
Modify = AG58900
}
}
IAD
MOD_REQ
MOD_REPLY
Dial-tone
MEGACO/1
[10.66.100.1]:2944
T=25218{ C=-{
MF=AG58900{
DM=DM999264604954 {
(0x.|11x|[2-
8]xxxxxxx)},E=2002{
dd/ce{ DM=DM999264604954
},al/on,al/fl},SG{
cg/dt}}}}
Call Setup
Call Setup
Off_hook
NTFY_REQ
NTFY_REPLY
39
SS IAD
MEGACO/1
[10.66.100.12]:2944
Transaction = 49415
{
Context = -
{ Notify = AG58900{
ObservedEvents = 2002 {
20020403T08131500 :
dd/ce
{ ds = 26778086" ,
Meth = UM } } } } } MEGACO/1
[10.66.100.1]:2944
Reply=49415{
Context=-{Notify=
AG58900}}
IAD
NTFY_REPLY
NTFY_REQ
Call Setup
Call Setup
Off_hook
NTFY_REQ
NTFY_REPLY
MOD_REQ
Dial-tone
MOD_REPLY
Dialing
40
SS IAD
MEGACO/1
[10.66.100.12]:2944
Reply = 10003 {
Context = 2000 {
Add = AG58900,
Add=RTP/00000{
Media {
Stream = 1 {
Local {
v=0
c=IN IP4 10.66.100.12
m=audio 2222 RTP/AVP 0 4
a=ptime:30
a=recvonly}}}}}}
MEGACO/1
[10.66.100.1]:2944
Transaction = 10003
{Context = $ {
Add = AG58900,Add = $
{Media {Stream = 1
{LocalControl {Mode =
ReceiveOnly,nt/jit=40 ;
in ms},Local {v=0 c=IN
IP4 $ m=audio $
RTP/AVP 0 4
a=ptime:30}}}}}}
IAD
ADD_REQ
ADD_REPLY
Call Setup
Call Setup
Off_hook
NTFY_REQ
NTFY_REPLY
MOD_REQ
MOD_REPLY
NTFY_REQ
NTFY_REPLY
41
SS IAD
MEGACO/1
[10.66.100.1]:2944
Transaction = 50003
{Context = $ {
Add = AG58901 { Media {
Stream = 1 {LocalControl
{Mode=SendReceive} }},
Events=1234{al/of},
Signals {al/ri}},Add = $
{Media {Stream =1
{LocalControl
{Mode=SendReceive,
nt/jit=40 ; in ms}, Local {
v=0
c=IN IP4 $
m=audio $ RTP/AVP 0 4 8
a=ptime:30},
Remote {
v=0
c=IN IP4 10.66.100.12
m=audio 2222 RTP/AVP 0 4
a=ptime:30} ;}}}}}
MEGACO/1
[10.66.100.13]:2944
Reply = 50003 {
Context = 5000 {
Add = AG58901,
Add = RTP/00002{
Media {
Stream = 1 {
Local {
v=0
c=IN IP4 10.66.100.13
m=audio 1111 RTP/AVP 0
}} ; }}}}
IAD
ADD_REQ
ADD_REPLY
Call Setup
Call Setup
Off_hook
NTFY_REQ
NTFY_REPLY
MOD_REQ
MOD_REPLY
NTFY_REQ
NTFY_REPLY
ADD_REQ
ADD_REPLY
ring
42
SS IAD
MEGACO/1
[10.66.100.12]:2944
Reply = 10005
{ Context = 2000
Modify = AG58900
Modify = RTP/00000
}
}
MEGACO/1
[10.41.6.1]:2944
Transaction = 10005 {
Context = 2000 {
Modify = AG58900 {
Signals {cg/rt}},
Modify = RTP/00000 {
Media {
Stream =1 {Remote {
v=0
c=IN IP4 10.66.100.13
m=audio 1111 RTP/AVP 0
}} ;}}}}
IAD
MOD_REQ
MOD_REPLY
Ring_back
Call Setup
Call Setup
43
SS IAD
MEGACO/1
[10.66.100.1]:2944
Reply = 50005 {
Context = 5000 {
Notify = AG58901}
}
MEGACO/1
[10.66.100.13]:2944
Transaction = 50005
{Context = 5000 {
Notify = AG58901
{ObservedEvents =1234 {
19990729T22020002:al/
of}}}}
IAD
MOD_REPLY
Offhook NTFY_REQ
NTFY_REPLY
Call Setup
Call Setup
MOD_REQ
Ring_back
44
SS IAD
MEGACO/1
[10.66.100.1]:2944
Transaction = 10006 {
Context = 5000 {
Modify = AG58901 {
{E=2001{al/on,al/fl},
Signals { }}}}
MEGACO/1
[10.66.100.13]:2944
Reply = 10006 {
Context = 5000
{Modify = AG58901 }}
IAD
MOD_REPLY
Offhook
NTFY_REPLY
MOD_REQ
MOD_RERLY
Call Setup
Call Setup
MOD_REQ
Ring_back
NTFY_REQ
45
SS IAD
MEGACO/1
[10.66.100.12]:2944
Reply = 10006 {
Context = 2000
{Modify = AG58900,
Modify = RTP/00000}}
MEGACO/1
[10.66.100.1]:2944
Transaction = 10006 {
Context = 2000 {
Modify = AG58900
{ Signals={ } },
Modify = RTP/00000
{Media {
Stream = 1 {
LocalControl {
Mode=SendReceive
}}}}}}
IAD
MOD_REPLY
Offhook
NTFY_REPLY
MOD_REQ
MOD_RERLY
MOD_REQ
MOD_REPLY
Conversation Established
Call Setup
Call Setup
MOD_REQ
Ring_back
NTFY_REQ
46
SS IAD
MEGACO/1
[10.66.100.1]:2944
Reply = 50008 {
Context = 5000
{Notify = AG58901}
}
MEGACO/1
[10.66.100.13]:2944
Transaction = 50008 {
Context = 5000 {
Notify = AG58901
{ObservedEvents =1235 {
19990729T24020002:al/
on} } } }
IAD
NTFY_REQ
NTFY_REPLY
Onhook
Call Termination
Call Termination
47
SS IAD
MEGACO/1
[10.66.100.1]:2944
Transaction = 10007 {
Context = 2000 {
Modify= AG58900
{signals { cg/bt }}}}
MEGACO/1
[10.66.100.12]:2944
Reply = 10007 {
Context = 5000 {
Modify = AG58900 }}
IAD
NTFY_REPLY
Onhook
MOD_REQ
MOD_REPLY
Call Termination
Call Termination
NTFY_REQ
48
SS IAD
MEGACO/1
[10.66.100.1]:2944
Transaction = 50009 {
Context = 5000 {
Subtract = AG58901
{Audit{Statistics}},
Subtract = RTP/00002
{Audit{Statistics}}}}
MEGACO/1
[10.66.100.13]:2944
Reply = 50009 {
Context = 5000 {
Subtract = AG58901 {
Statistics {
nt/os=45123, ;
nt/dur=40 ; }},
Subtract = RTP/00002{
Statistics {
rtp/ps=1245,
nt/os=62345,
rtp/pr=780,
nt/or=45123,
rtp/pl=0,
rtp/jit=27,
rtp/delay=48 }}}}
IAD
NTFY_REPLY
SUB_REQ
SUB_REPLY
Onhook
MOD_REQ
MOD_REPLY
Call Termination
Call Termination
NTFY_REQ
49
SS IAD
IAD
SUB_REQ
SUB_REPLY
Onhook
NTFY_REPLY
Conversation Terminated
SUB_REQ
SUB_RERLY
MEGACO/1
[10.66.100.1]:2944
Transaction = 50009 {
Context = 2000 {
Subtract = AG58900
{Audit{Statistics}},
Subtract = RTP/00000
{Audit{Statistics}}}}
MEGACO/1
[10.66.100.12]:2944
Reply = 50009 {
Context = 2000 {
Subtract = AG58900 {
Statistics {
nt/os=45123, ;
nt/dur=40 ; }},
Subtract = RTP/00000 {
Statistics {
rtp/ps=1245,
nt/os=62345,
rtp/pr=780,
nt/or=45123,
rtp/pl=0,
rtp/jit=27,
rtp/delay=48 }}}}
MOD_REQ
MOD_REPLY
Call Termination
Call Termination
NTFY_REQ
50
SS7 - H.248 SS7 signaling
SS7 - H.248 SS7 signaling
Softswitch
TG
TG
SG
SG
Database
Application
Server
ZTE
LS1
ZTE
LS2
3. Analysis & Routing
1
.

I
A
M
2
.

I
A
M
4. Add
5. Reply of Add
6. Add
7. Reply of Add
8
.

I
A
M
11. ACM
9
.

I
A
M
1
0
.

A
C
M
1
4
.

A
C
M
13. ACM
12. Modify(Notify)
17. Modify
16. ANM
1
9
.

A
N
M
18. ANM
1
5
.

A
N
M
uni v.zt e.c om.c n
uni v.zt e.c om.c n

You might also like