Professional Documents
Culture Documents
1
2.1. Tổng quan VoIP
3
2.1. Tổng quan VoIP
5
2.1. Tổng quan VoIP
Evolution of VoIP
-With the rapid growth of Internet and deregulation
of the telecommunications industry, infrastructure
convergence in the form of building voice applications
on top of data networks led to the birth of VoIP
-There are two fundamental technologies that are
necessary for the existence of VoIP, namely telephone
and Internet 6
2.1. Tổng quan VoIP
7
2.1. Tổng quan VoIP
8
2.1. Tổng quan VoIP
9
2.2. Kỹ thuật VoIP
10
2.2. Kỹ thuật VoIP
1. IP-enabled workstation:
-The end users that are involved in VoIP communication must have
IP-enabled devices that are compatible with VoIP protocols and
allow routing through IP-based networks.
-The workstation can be a soft phone installed in a computer with
access to an IP network.
-IP-enabled mobile and fixed telephones can also be used to
implement VoIP technology.
11
2.2. Kỹ thuật VoIP
2. VoIP server:
-The VoIP server is the centralized node that initiates, manages, and
terminates communication between the caller and the callee.
The VoIP server must implement the call signaling protocols (SIP,
H.323, etc.) and ensure proper routing of IP packets to their
destination.
Call admission control is one of the primary functions of the server.
It can also be used for QoS provisioning mechanisms.
12
2.2. Kỹ thuật VoIP
3. Gateway:
One way to increase the interoperability of VoIP is by
implementing it in diverse networks having different characteristics
which is made possible using gateways.
Gateways ensure proper coordination in between these networks
and further allow VoIP users to communicate to PSTN-based
telephones.
Moreover, firewalls can be implemented in gateways to achieve
secured communication with appropriate packet filtering rules.
13
2.2. Kỹ thuật VoIP
4. Gatekeeper:
A gatekeeper is a management tool that oversees authentication,
authorization, telephone directory, and PBX services.
Commercial entities implementing VoIP can maintain the billing
information along with the call details in the gatekeeper.
Although it can be incorporated in the server, generally gatekeepers
are implemented separately to simplify the server operations.
14
2.2. Kỹ thuật VoIP
15
2.2. Kỹ thuật VoIP
16
2.2. Kỹ thuật VoIP
The audio signal as recorded by the input device is sampled at a
very high rate (at least 8000 times per second or more) and
transformed into digital form by an analog-to-digital (A/D)
converter
The digitized data is further compressed into very small samples
that are collected together into larger chunks and placed into data
packets for transmission over the IP network. This process is
referred to as packetization
Generally, a single IP packet will contain 10 or more milliseconds of
audio, with 20 or 30 ms being most common
17
2.2. Kỹ thuật VoIP
There are a number of ways to compress this audio, the algorithm for
which is referred to as a “compressor/ de-compressor”, or simply Codec.
Many Codecs exist for a variety of applications (e.g., movies and sound
recordings). Most of the Codecs are defined by standards of the ITU-T
With respect to VoIP, the Codecs are optimized for compressing voice,
which significantly reduces the bandwidth used compared to an
uncompressed audio stream and ensures high quality of VoIP
transmission.
After binary information is encoded and packetized at the sender end,
packets encapsulating voice data can be transmitted on the network.
18
2.2. Kỹ thuật VoIP
19
2.2. Kỹ thuật VoIP
20
2.2. Kỹ thuật VoIP
22
2.3. VoIP Gateway
24
2.3. VoIP Gateway
26
2.3. VoIP Gateway
27
2.4. Media Gateway Controller
28
2.4. Media Gateway Controller
29
2.4. Media Gateway Controller
There are four possible signaling protocol options
between an MGC and gateways.
ITU-T Rec. H.323. This is employed where all network elements (NEs)
have software intelligence.
SIP (session initiation protocol) is used when the end devices have
software intelligence and the network itself is without such intelligence.
MGCP (media gateway control protocol) is another gateway control
protocol.
Megaco (ITU-T Rec. H.248) is a gateway control protocol applicable
when end devices are without software intelligence and the network has
software intelligence.
2.5. Chuẩn ITU-T Rec. H.323
31
2.5. Chuẩn ITU-T Rec. H.323
32
2.5. Chuẩn ITU-T Rec. H.323
33
2.5. Chuẩn ITU-T Rec. H.323
34
2.5. Chuẩn ITU-T Rec. H.323
Terminal
35
2.5. Chuẩn ITU-T Rec. H.323
36
2.5. Chuẩn ITU-T Rec. H.323
39
2.5. Chuẩn ITU-T Rec. H.323
Gatekeeper
-An optional entity, the gatekeeper, provides pre-
call and call-level control services to H.323
endpoints.
-Gatekeepers are logically separated from the other
network elements in H.323 environments. It
performs address translation, admissions control,
bandwidth control, and zone management. 40
2.5. Chuẩn ITU-T Rec. H.323
41
2.5. Chuẩn ITU-T Rec. H.323
42
2.5. Chuẩn ITU-T Rec. H.323
c) Protocol Suite
43
2.5. Chuẩn ITU-T Rec. H.323
44
2.5. Chuẩn ITU-T Rec. H.323
45
2.5. Chuẩn ITU-T Rec. H.323
d)Call Flow
The H.323 call flow comprises of several phases,
such as the initiation phase, capability negotiation
phase, master–slave determination phase, and finally
the dialogue phase.
46
2.5. Chuẩn ITU-T Rec. H.323
48
2.5. Chuẩn ITU-T Rec. H.323
50
2.5. Chuẩn ITU-T Rec. H.323
52
2.5. Chuẩn ITU-T Rec. H.323
53
2.6. Giao thức SIP
SIP is an application-layer control protocol that
can establish, modify, and terminate multimedia
sessions (conferences) such as Internet telephony
calls with simple call flows and messages.
54
2.6. Giao thức SIP
55
2.6. Giao thức SIP
a) SIP Actors: refer to all those entities who are
involved in the creation, management, and
termination of SIP sessions.
User Agents
A. User agent client (calling party): is a logical
entity that creates a new request and then uses
the client transaction state machinery to send it.
The role of UAC lasts only for the duration of that
56
transaction.
2.6. Giao thức SIP
59
2.6. Giao thức SIP
A. Requests
-SIP requests are distinguished by having a
Request-Line for a start-line.
-A Request-Line contains a method name, a
Request-URI, and the protocol version separated by
a single space (SP) character. The Request-Line ends
with CRLF
-The syntax is Method Request-URI SIP-Version. 61
2.6. Giao thức SIP
62
2.6. Giao thức SIP
B. Responses
-The syntax is SIP-version Status-Code Reason-
Phrase.
-SIP responses are of two types:
• Provisional (1xx class)—provisional responses are used by
the server to indicate progress, but they do not terminate
SIP transactions.
• Final (2xx, 3xx, 4xx, 5xx, 6xx classes)—final responses
terminate SIP transactions. 63
2.6. Giao thức SIP
64
2.6. Giao thức SIP
65
2.6. Giao thức SIP
66
2.6. Giao thức SIP
1. The proxy server accepts the INVITE request from the client.
2. The proxy server identifies the location by using the supplied
addresses and location services.
3. An INVITE request is issued to the address of the location
returned.
4. The called party user agent alerts the user and returns a success
indication to the requesting proxy server.
5. An OK (200) response is sent from the proxy server to the calling
party.
6. The calling party confirms receipt by issuing an ACK request,
which is forwarded by the proxy or sent directly to the called party.
67
2.6. Giao thức SIP
68
2.6. Giao thức SIP
1. The redirect server accepts the INVITE request from the calling
party and contacts location services with the supplied information.
2. After the user is located, the redirect server returns the address
directly to the called party. Unlike the proxy server, the redirect server
does not issue an INVITE.
3. The user agent sends an ACK to the redirect server acknowledging
the completed transaction.
4. The user agent sends an INVITE request directly to the address
returned by the redirect server.
5. The called party provides a success indication (200 OK), and the
calling 69
2.6. Giao thức SIP
70
2.6. Giao thức SIP
71