Академический Документы
Профессиональный Документы
Культура Документы
Telecom Testing
|
-------------------- ----------------------
Wireline Wireless
(Broadband,SS7.....) (GSM,CDMA,Wi-Fi,3G,4G.......technologies)
The steps involved in originating voip telephone call are signalling and
media channel setup,digitization of the analog voice signal, encoding
,packetization and Transmission as Internet protocol packets over a packet switched
network.
IP Phones: IP Phones are the most institutionally established but still the
least obvious of the VOIP tools.
Softphones: It�s use has increased during the global recession as many
persons, looking for ways to cut costs have turned to these tools for free or
inexpensive calling or video conferencing applications.
PROTOCOLS:
� H.323
� Ip multimedia subsysem (IMS)
� Media Gateway Control Protocol (MGCP)
� Session Initiation protocol (SIP)
� Real-Time transport protocal (RTP)
� Session Description Protocol (SDP)
The H.323 protocol was one of the, first viop protocol that found wide spread
implementation for long-distance traffic as well as local area networks. Since
development of newer, less complex protocols , such as MGCP and SIP. The sip has
gained wide spread voip market penetration.
Voip Dis-Advantages:
1) Bandwidth.
2) Electric Power
SIP MESSAGES
Message Syntax:
Start line
Message header
CRLF- Carriage return line feed.
Message body(SDP-Session Describestion Protocol ).
Start Line:
Start line can be request line or status line. Sip Requests start line:
Syntax: Method Sp Request URISp SIP version
Ex: Invite sip:bob@billoxi.com sip/2.0
Via
To
From
Call Id
C-seq
Max-forward
Contact
V- Version SDP = 0
O- Owner = IPv4
S- Session name = VOIP
T- Time= Start and stop time
M- Media =Audio/ Video
A- Attributes =Send only/Recv only
REQUESTS:
RESPONSES:
Examples:
100 - Trying
180 - Ringing
181 - Call being forwarded
183 - Session in progress
200 - Ok
202 - Accepted
301 - Moved permanently
302 - Moved temporarily
401 - Unauthorized
404 - Not found
483 - Too Many Hops
486 - Busy here
407 - Proxy authentication required
408 - Request timeout
487 - Request terminated
491 - Request pending
503 - Service unavailable
VIA: It contains the address at which user is expecting to receive response to this
request.
The Via header field value MUST contain a branch parameter.
The branch parameter value MUST be unique across space and time for all requests
sent by the UA. The exceptions to this rule are CANCEL and ACK for non-2xx
responses. As discussed below, a CANCEL request will have the same value of the
branch parameter as the request it cancels.
* The branch ID inserted by an element always begin with the characters "z9hG4bK".
These 7 characters are used as a "Magic cookie"
FROM :It contains display name and SIP URI that indicates the originator of the
request. The From field MUST contain a new "tag" parameter, chosen by the UAC.
TO : It contains the display name and SIP URI towards which request was originally
directed. A request outside of a dialog MUST NOT contain a To tag; the tag in the
To field of a request identifies the peer of the dialog. Since no dialog is
established, no tag is present.
TAG : Tag in 'To' header are of no help since they are not known until response
arrive.
An initial request from a client will contain a From Tag and the subsequent
provisional response to it from the server will contain a To Tag.
Tags are used by the UAC to distinguish multiple final responses from different
UAS.
CALL-ID: It contains a globally unique identifier for all requests and responses
sent by either UA in a dialog,generated by the combination of random string and
IPaddress.Note that when request are retried after certain failure, These retried
requests are not considered new requests,and therefore do not need new Call-ID.
CALL LEG : The combination of to tag, From tag and call ID is called call leg/peer
to peer connection.
C- SEQ :It contains an sequence number and method Name. The c-seq is incremented
for each new request.
* It is used to identify and order transactions.
CONTACT :It contains a SIP URI that represents the direct route to contact user.
MAX-FORWARD:It serves to limit the number of hops a request can make on the way to
destination. If the Max-Forwards value reaches 0 before the request reaches its
destination, it will be rejected with a 483(Too Many Hops) errors response.
CALLER ID:It is provided by the From SIP header containing the caller's name and
number.
RECORD ROUTE: Record route header is inserted into requests by proxies that want to
be in the path of subsequent request for the same call-id. It is then used by user
agent to route subsequent requests.
SIP ENTITIES:
USER AGENT : User Agent (UA) is the endpoint logical entity. User Agents initiate
and terminate sessions by exchanging requests and responses.
Note: The User Agent initiating a call acts as a UAC when sending the initial SIP
request (INVITE) and as a UAS when it receives a SIP BYE request from the callee.
Some of the devices that can have a UA function in a SIP network are: IP-phones,
telephony gateways, call agents, automated answering services.
REGISTRAR SERVER:
Before endpoints communicate (endpoints are
the caller and the callee i.e UA) they should be registered to a SIP entity known
as REGISTRAR SERVER. It is a UAS and a logical entity.The endpoint registers to a
REGISTRAR Sever and Contact Information of the user specified in the request is
updated at Location Server.
REDIRECT SERVER: Redirect Server is a server that accepts a SIP request and send
3XX Responses with present location address after quieries with Location sever .
Unlike Proxy servers, Redirect Servers do not pass the request on to other servers.
PROXY SERVER:
A Proxy Server is an intermediary entity that acts as both a
server and a client for the purpose of making requests on behalf of other clients.
It also consults database such as DNS and Location Server.
B2BUA Sever(Statefull):
Proxy interprets, and, if necessary, rewrites a request
message before forwarding it. It maintain state during entire transaction.
Ex: Forward on no reply,Forking.
DNS Server: It stores address and its corresponding name pairs. If we send a
website name in a request and it returns exact IP address of it.
SIP Trapezoid:
A single proxy can have the logic to act as an Outbound/Inbound proxy for a A to B
call.
10. H.323 : Most H.323 entities use a reliable transport for signalling.
SIP : Most SIP entities uses an unreliable transport for signalling.
11. H.323 : Routing gatekeepers can detect loops by looking at call identifier
and destination address.
SIP : The via header facilitates detecting loops.
12 . H.323 : Minimum ports for VOIP call 3 ( call signalling, RTP, RTCP )
SIP : Minimum ports for VOIP call 3 ( SIP, RTP, RTCP )