Beruflich Dokumente
Kultur Dokumente
VoIP
1 August 4, 2010
Objectives of VoIP
WHAT is VoIP VoIP Network Architecture The VoIP Protocols & Call Flows VoIP and PSTN Interworking
August 4, 2010
What Is VoIP?
Voice over Internet Protocol Also called IP Telephony or Internet Telephony Nowadays, not only Voice but also Video Calls are broken down into IP packets using CODECs, and transmitted over networks as data Packets are re-assembled at the receiving end and the CODEC returns the call to analog form
VoIP Terminal
Microphone /Speaker
VoIP Terminal
CODEC
Analog
Microphone /Speaker
Analog
CODEC
VoIP Technology
Making a Phone Call Means
Calling someone
Signaling
Call setup or session initiation Also known as Signaling Uses the network control plane (layer 4) Key protocols: SIP, H.323 Requires a Signaling Gateway / Proxy Server
Having a conversation
Media
Real-Time data Streaming: layer 3 packets Uses UDP (packets not resent if lost) Key protocol: RTP Common CODECs: G.711, G.723.1, AMR Requires a Media Gateway
2. 3.
August 4, 2010
SGW
ISUP/ SIGTRAN
SIP-T/SIP-I/BICC
MGC
SIP
P SI
Registrar
MGC
SIP
SGW
Signaling Media
SI P
Redirect Server
8 CP 24 G H. o/M ac eg M
M eg H. ac 2 4 o/ 8 M GC P
Redirect Server
SIP
Proxy
SIP
Proxy
TDM
RT P
TE
SIP
SIP
TE
RTP
MGW
MGW
TDM
Proxy: receive SIP client message and forward it;, Network Access Control, Routing, reliable request retransmission, and security; Redirect Server: Alternate Routing for users, provides next hop(s) information; Registrar: Registration, Session Control, Authentication, Authorization; Application Server (ASP): ???????????????????? MGC (Media Gateway Controller): also called softswitch/call agent; Responsible for Call routing, signaling, call services, billing, address translation; SGW (Signaling Gateway): conversion at transport level between the SS7 based and the IP based, does not interpret the application layer (e.g. MAP, CAP, BICC, ISUP);
7
MGW (Media Gateway): Perform media conversion between VoIP RTP & TDM. August 4, 2010
ISUP ISUP
ISUP
AS
SIP
SI P
ISUP SIGTRAN
ISUP
P SI
Registrar Registrar
SIP-SIP Call SIPDomain
TE
RTP
SIP
e M
CP
SIP
SIP
Proxy
RTP
Proxy
TE
RTP
MGW
8 August 4, 2010
MGW
SGW
ISUP/ SIGTRAN
SIP-T/SIP-I/BICC
MGC
SIP
P SI
Registrar
MGC
SIP
ISUP/ SIGTRAN
SGW
Signaling Media
SI P
Redirect Server
8 CP 24 G H. o/M ac eg M
M eg H. ac 2 4 o/ 8 M GC P
Redirect Server
SIP
Proxy
SIP
Proxy
RT P
TE
SIP
SIP
TE
RTP
MGW
MGW
TDM
H.323 Gatekeeper
P RT
MCU
RTP
H.323 Gatekeeper
23 H.3
RTP
H.323
H.323
H.323
MGW
RTP
TE
RTP
TE
RTP
MGW
H.323 Gatekeeper: Virtual switch, translating network address; Admissions control, bandwidth control; Call authorization, bandwidth management; Supplementary services, directory services, call management services MGW (Media Gateway): Perform media conversion between TDM & VoIP RTP; MCU (Multi-point Control Unit): Bridge conferencing connections.
10 August 4, 2010
H.323 Gatekeeper
P RT
H.323 RTP
H.323
MCU
RTP
H.323 Gatekeeper
23 H.3
RTP
H.323
H.323
H.323
MGW
RTP
TE
RTP
TE
RTP
MGW
11
August 4, 2010
A device control protocol that grew out of MGC Available as a binary or text implementation Instructs MGs to setup and teardown voice calls and manages media resources (available circuits and IP ports) Signals endpoint events to the MG (e.g. off-hook, on-hook)
13
August 4, 2010
Protocol Comparisons
H.323
Binary
Based on Q.931
SIP
Text
Parameters can be added easily
Deployed in the first and second generation VoIP solutions ISDN-based signaling facilitates SS7 interworking Designed to support voice and video communications
Gaining global popularity as the VoIP protocol of choice SIP-T/SIP-I provides SS7 interworking Contains a service framework (SIMPLE) for presence, messaging, and video
MGCP
Text Adopted by cable operators for device control
NCS / TGCP
MEGACO/H.248
Text and binary implementations Adopted by 3GPP standards for device control Used in fixed and wireless VoIP Networks
Call Basics
1. Registration All VoIP implementations require a device or user to register with the network for security
Register Function
4. Calls to the PSTN are made through the MGC and media is converted through the MG SSP
MGC
4 4
PSTN
IP Network
This is called RAS in H.323 and the registrar in SIP 1 1 3 3
MG
3 3
4 4 4 4
2 2 2. Calls can be made direct to another IP phone. 3. Or calls can be routed to a softswitch, then to the called party
15 August 4, 2010
Register 200 OK Invite Invite 180 Ringing 200 OK 200 OK ACK ACK RTP Bye 200 OK
16 August 4, 2010
Bye 200 OK
17
August 4, 2010
18
August 4, 2010
SIP
MGCP
Media
SSP /LE
CRCX MGCP provides device control for setup and tear down on voice session and resource management
IAM SS7 ISUP provides call signaling and media control with device control embedded in the class 5 switch
SDP (embedded in SIP and MGCP) defines media set capabilities and codec selection for the RTP session RTP provides the transport and delivery of packetized real-time media. RTCP monitors quality and reports information about participants in an open RTP session.
19
August 4, 2010
VoIP can interworking with different networks VoIP SIP PSTN VoIP H.323 VoIP PSTN VoIP SIP VoIP SIP VoIP SIP VoIP H.323 VoIP Mobile CS Network VoIP IMS (IP Multimedia Subsystem)
20
August 4, 2010
AS
ISUP/ SIGTRAN ISUP/ SIGTRAN
SIP
SIP
SGW MGC
M eg H. a c 24 o/ 8 M G CP
SGW MGC
8 CP 24 G H. o/M ac eg M
Redirect
SIP
P SI
Registrar Registrar
SIPSIP-SIP Call Domain
SI P
Redirect
SIP
TE
SIP
SIP
TDM
RTP
Proxy
RTP
Proxy
TE
RTP
TDM
MGW
MGW
Signaling Convergence
SGW
ISUP SIGTRAN
4 H.2 8
MGC
SIP-T/SIP-I BICC
VoIP
RTP
TDM
MGW
Media Convergence
21
August 4, 2010
SIP for Telephony (SIP-T) Defined by IETF Transport ISUP Message across IP network as attachment of SIP message
SIP Interworking (SIP-I) Define by ITU-T Mapping between SIP and ISUP messages
SGW
ISUP/ SIGTRAN
SIP-T/SIP-I/BICC
MGC
SIP
P SI
Registrar
MGC
SIP
ISUP/ SIGTRAN
SGW
Signaling Media
SI P
Redirect Server
8 CP 24 G H. o/M ac eg M
M eg H. ac 2 4 o/ 8 M GC P
Redirect Server
SIP
Proxy
SIP
Proxy
TDM
22
RT P
TE
SIP
SIP
TE
RTP
MGW
August 4, 2010
MGW
TDM
Media Gateway:
Converge (Compress/Decompress and Packetize/Depacketize) the voice data between PSTN and the IP network.
SGW
MGC
SIP
P SI
Registrar
MGC
SIP
SGW
Signaling Media
SI P
Redirect Server
8 CP 24 G H. o/M ac eg M
M eg H. ac 2 4 o/ 8 M GC P
Redirect Server
SIP
Proxy
SIP
Proxy
TDM
23
RT P
TE
SIP
SIP
TE
RTP
MGW
August 4, 2010
MGW
TDM
Functions:
Transfer Signaling over IP Flow Control, Congestion Control, In-sequence delivery of signaling messages Identification of the originating and terminating signaling points & voice circuits Error Detection, Retransmission, Outages Recovery and other error correction Detection of the status of peer entities (e.g., in service, out-of-service, etc.) Security mechanisms to protect the integrity of the signaling information
SGW
SUA: Change at SCCP Layer APP. TCAP SCCP MTP3 MTP2 MTP1
Change to SCTP/IP Change to MTP3/MTP2/MTP1 Change to SUA Change to SCCP Upper layers No Change
Step3:
The upper layer(s) of the selected layer remain no change The lower layers of the selected layer are changed to SCTP/IP;
SS7 Over IP
TCAP
TUA SUA M3UA M2PA ISDN IUA DPNSS /DASS DUA V5 V5UA
ISUP TUP
ISUP ISUA SCCP MTP3 MTP2
SIGTRAN
SS7 Apps SS7 Apps ISUP TUP TCAP SCCP MTP3 SUA MTP3 M2UA SCTP IP DL L1 M2UA SIGTRAN TUA SCTP IP DL L1 TUA IUA SCTP IP DL L1 IUA DUA SCTP IP DL L1 DUA ISUP TUP TCAP TCAP SCCP ISDN/ QSIG DPNSS /DASS SS7 Apps TCAP TUP
ISUP
V5
26
August 4, 2010
SS7 Apps TCAP ISUP TUP SCCP MTP3 M2PA SCTP IP DL L1 M2PA
SS7 Apps TCAP ISUP TUP TCAP SCCP MTP3 M2UA SCTP IP DL L1 M2UA SIGTRAN TUA SCTP IP DL L1 TUA IUA SCTP IP DL L1 IUA DUA SCTP IP DL L1 DUA ISUA SCTP IP DL L1 ISUA V5UA SCTP IP DL L1 V5UA ISDN/ DPNSS QSIG /DASS ISUP V5
27
August 4, 2010
SS7 Apps TCAP ISUP TUP SCCP MTP3 M2PA SCTP IP DL L1 M2PA
SS7 Apps TCAP ISUP TUP TCAP SCCP MTP3 M2UA SCTP IP DL L1 M2UA SIGTRAN TUA SCTP IP DL L1 TUA IUA SCTP IP DL L1 IUA DUA SCTP IP DL L1 DUA ISUA SCTP IP DL L1 ISUA V5UA SCTP IP DL L1 V5UA ISDN/ DPNSS QSIG /DASS ISUP V5
28
August 4, 2010
29
August 4, 2010
SUA supports
SCCP unordered and in-sequence connectionless services; Bi-directional connection-oriented services with/without flow control
SS7 Apps TCAP SCCP ISUP TUP SS7 Apps TCAP SUA SCTP IP DL L1 SUA SS7 Apps TCAP ISUP TUP SCCP MTP3 M2PA SCTP IP DL L1 M2PA SIGTRAN SS7 Apps TCAP ISUP TUP TCAP SCCP MTP3 M2UA SCTP IP DL L1 M2UA TUA SCTP IP DL L1 TUA IUA SCTP IP DL L1 IUA DUA SCTP IP DL L1 DUA ISUA SCTP IP DL L1 ISUA V5UA SCTP IP DL L1 V5UA ISDN/ DPNSS QSIG /DASS ISUP V5
M3UA SCTP IP DL L1
31 August M3UA 4, 2010
Thank You
32
August 4, 2010
33
August 4, 2010
34
August 4, 2010