Session Initiation Protocol
Name : Ilyas Ismail
batch :48
Roll :37
Reg :D-107210
Submitted to : Mohammad Shariful Islam
SIP Basics
• Session Initiation Protocol (SIP) – is an application
layer protocol and is intended for the organization,
modification and completion of communication
session: multimedia conferences, telephone calls and
distribution of multimedia information
• This protocol is designed by IETF committee (Internet
Engineering Task Force); protocol specifications are in
RFC 2543.
SIP is based on the following principles:
• Personal mobility for users. A unique identifier is assigned to user, and
the network provides communications services to him, regardless of
where it is
• scalability of the network (characterized primarily by the possibility of
increasing the number of network elements in its expansion)
• extensibility of the protocol is characterized by the ability to
supplement the protocol with new features with the introduction of
new services and adapt it to different applications Another important
principle of SIP is its independence of transport technologies. As
transport protocols can be used UDP or TCP.
SIP network architecture
Main functional elements:
• Redirect Server
• Registrar/ Location Server
• PSTN
• GW
• Proxy Server
• User Agent
Network elements necessary for SIP
• User Agent (UA) - an application that consists of two parts:
1. User agent client, UAC - an application that initiates the SIP-request (request)
2. User agent server, UAS - application communicate with the user after the SIP-
request, return response (response) at the request of the user.
User Agent
method (request)
UAC
UAS
Response
UAS
UAC
SIP message structure
• A SIP message is either a request from a client to a server, or a response
from a server to a client Both Request and Response messages use the
generic-message format Both types of messages consist of a start-line, one
or more header fields (also known as "headers"), an empty line
• (i.e., a line with nothing preceding the carriage-return line-feed (CRLF))
indicating the end of the header fields, and an optional message-body.
• Start Line
• Headers
• Empty Line
• Message body
Methods:
• "INVITE“
• "ACK“
• "OPTIONS“
• "BYE“
• "CANCEL“
• "REGISTER"
Thanks