Separation of Media and Call Control Gateways switched network as a native circuit-switched system and vice versa Signaling path and media path are different in Signaling path and medi
Trang 1Media Gateway Control and the Softswitch Architecture
Ng Tai Hung
Trang 2Voice over IP
Reduced bandwidthReduced bandwidth
Replacing all traditional circuit-switched
networks is not feasible.
VoIP and circuit-switching networks coexist
Trang 3Separation of Media and Call Control
Gateways
switched network as a native circuit-switched
system and vice versa
Signaling path and media path are different in
Signaling path and media path are different in VoIP systems.
proxies)
SS7, Signaling System 7
Trang 4Separation of Media and Call Control
functions
Signaling conversion
The call-control entities use signaling to communicate.
Media conversion
A slave function (mastered by call-control entities)
and signaling from the media path
Trang 5Separation of Media and Call Control
Advantages of Separation
sink
control multiple gateways
control multiple gateways
MGCP, Media Gateway Control Protocol
IETF
Trang 6Softswitch Architecture [1/2]
Trang 7Softswitch Architecture [2/2]
Signaling (SS7) SCP
Internet
SS7 Network
MGCP/
(SS7) Gateway
Trunking Gateway
Call Agent SCP
Residential Gateway
STP
Trunking GatewayTrunkingGateway
CO
Switch
Residential GatewayResidentialGateway
Trang 8It is possible to use different network components from different vendors.
It is possible to focus on one area.
Trang 9Softswitch/PSTN Interworking
the MGCs
Trang 10Requirements for Media Gateway Control [1/2]
Including the capability to negotiate the media formats
media streams
specified events within the media streams, and
the corresponding actions
Trang 11Requirements for Media Gateway Control [2/2]
certain QoS requirements
from an MG to an MGC
The management of associations between an MG
and an MGC
In the case of failure of a primary MGC
MGC can control different MGs
MGCs
Trang 12Protocols for Media Gateway Control
The first protocol is MGCP
Trang 13Relation with H.323 Standards
Internet
Signaling (SS7) Gateway
Trunking Gateway
Gatekeeper
Terminal or Gateway RTP
H.225/RAS H.225/Q931 H.245
MGCP
Trang 14H323, SIP & MGCP, MEGACO
GW GK
MCU
TN
TN TN
Trang 15H323, SIP & MGCP/MEGACO
signaling & media
control are coupled
Trang 16MGCP Connection Establishment
Trang 17Do what the CA instructs
Do what the CA instructs
A line or trunk on circuit-switched side to an RTP port on the IP side
Trunking Gateway to CO/Switches
Residential Gateway to PSTN Phones
Access Gateway
Likely to be the SIP
Trang 18circuited-switched line and an RTP port on the IP side.
Trang 19MGCP Endpoints [1/3]
DS0 channel
such as DS1 (1.544 Mbps) or E1 (2.048 Mbps)
Analog line
The gateway shall be required to extract the data and forward it as IP packets.
Trang 20Announcement server access point
No external circuit-switched channels
Interactive voice response (IVR) access point
MGCP Endpoints [2/3]
Interactive voice response (IVR) access point
Conference bridge access point
Packet relay
networks
Trang 21MGCP Endpoints [3/3]
Wiretap access point
ATM trunk-side interface
Trang 22GW’s Domain Name + Local Name
Trang 23The connections to be created
MGCP Calls and Connections
The connections to be created
The session descriptions to be exchanged between the connections
Trang 249 commands to handle Connection/Endpoints
All commands are acknowledged.
Trang 25Separated by a single empty line
One command can be included within another
Only one level of encapsulation
E.g., when instructing a gateway to create a connection, CA can simultaneously instruct the gateway to notify the CA of certain events.
Trang 27MGCP Parameters [2/6]
Connection-related statistical information
Average latency, jitter, packets sent/received/lost
GW -> CA
That an endpoint should detect during quarantine period That an endpoint should detect during quarantine period
E.g., off-hook, on-hook, hook-flash, DTMF digits…
Trang 28MGCP Parameters [3/6]
In response to an audit command
A list of events associated with the current state
To indicate the maximum size MGCP packet supported by
an MG
Included in the response to an AUEP command
Included in the response to an AUEP command
Events and signals are grouped into packages
Analog line endpoint
Trang 29Group events and signals into packages
with the two character “x-”
Combined NAS/VOIP GW Access GW (VOIP)
Access GW (VOIP + NAS) Residential GW
Trang 30MGCP Parameters [4/6]
Events that occur during the period in which the GW is
waiting for a response to a Notify command
Process the events or discard them
When a GW deletes/restarts a connection
When a GW deletes/restarts a connection
An SDP session description
A list of events that an endpoint is to watch for
Associated with each event, the endpoint can be instructed
to perform actions
E.g., collect digits, or apply a signal
Trang 31MGCP Parameters [5/6]
RequestInfo (F)
NotifiedEntity
RequestIdentifier (X)
To correlate a given notification from a GW
RestartDelay (RD)
will be brought back into service
RestartMethod (RM)
Trang 33under-qualified, do nothing further
matched, send the collected digits to CA
over-qualified, send the digits to CA
Trang 34MGCP Response
Header
E.g., I: A3C47F21456789F0 (ConnectionId)
E.g., I: A3C47F21456789F0 (ConnectionId)
Session Description
Trang 35Call Setup Using MGCP
Trang 37Call Flow for RGW to TGW
Trang 40Call Flow for RGW to TGW
D: (11x|080xxxxxx|57xxxxx|002x.T)
ACK to RQNT(1)
200 1201 OK
R: RequestEvents D: DigitMap
E: Embedded Request R: Notification Request N: Notify immediately S: Signal Request
D: Digit Map
Trang 41Call Flow for RGW to TGW
NTFY(2) : Notify from RGW
ACK to NTFY(2)
200 2002 OK
X: RequestIdentifier O: ObservedEvent
Trang 42Call Flow for RGW to TGW
p: packetize period(ms) a: Compression Algo.
M: Mode X: RequestIdentifier R: RequestEvents
I: ConnectionId
Trang 43Call Flow for RGW to TGW
ACK to CRCX(3) Session Description
G726~G732 encoded audio sample at 8 kHZ
Trang 44Call Flow for RGW to TGW
Trang 45Call Flow for RGW to TGW
Session Description from ACK(4)
ACK to MDCX(5)
200 1206 OK
M: Mode
Trang 46Call Flow for RGW to TGW
S: SignalRequests
Trang 47Call Flow for RGW to TGW
Trang 48Call Flow for RGW to TGW
ACK to DLCX(8)
200 1210 OK
P: PS=1245, OS=62345, PR=780, OR=45123, PL=10, JI=27, LA=48
PS: Packets sent OS: Octets sent PR: Packets received OR: Octets received PL: Packets lost JI: Average Jitter (ms) LA: Average Latency (ms)
Trang 49T
Trang 51Usage of Commands
DeleteConnection()
ConnectionId in the parameter line
GW responds with Connection parameters
Only EndpontId (and CallId) in the parameter line
GW does not respond with Connection parameters
Reason-Code & Connection-Parameters in Command
Trang 53Usage of Commands
{RequestedEvents
DigitMapSignalRequestsRequestIdentifier, … }
EndPointIdList is returned
Trang 55Interworking between MGCP and SIP
Trang 56Interworking between MGCP and SIP