官术网_书友最值得收藏!

Chapter 1. Introduction to SIP

Before we dive into OpenSIPS, it is very important to understand some important concepts related to Session Initiation Protocol (SIP). In this chapter, we will cover a brief tutorial regarding the concepts used later in this book. By the end of this chapter, we will have covered the following topics:

  • Understanding the basics of SIP and its usage
  • Describing the SIP architecture
  • Explaining the meaning of its components
  • Understanding and comparing main SIP messages
  • Interpreting the header fields' processing for the INVITE and REGISTER messages
  • Learning how SIP handles identity and privacy
  • Covering the Session Description Protocol and Real-Time Protocol briefly

SIP was standardized by Internet Engineering Task Force (IETF) and is described in several documents known as Request for Comments (RFC). The RFC 3261 describes SIP version 2. SIP is an application layer protocol used to establish, modify, and terminate sessions or multimedia calls. These sessions can be audio and video sessions, e-learning, chatting, or screen sharing sessions. It is similar to Hypertext Transfer Protocol (HTTP) and designed to start, keep, and close interactive communication sessions between users. Nowadays, SIP is the most popular protocol used in Internet Telephony Service Providers (ITSPs), IP PBXs, and voice applications.

The SIP protocol supports five features to establish and close multimedia sessions:

  • User location: Determines the endpoint address used for communication
  • User parameters negotiation: Determines the media and parameters to be used
  • User availability: Determines if the user is available or not to establish a session
  • Call establishment: Establishes parameters for caller and callee and informs about the call progress (such as ringing, busy, or not found) to both the parties
  • Call management: Facilitates session transfer and closing

The SIP protocol was designed as a part of a multimedia architecture containing other protocols such as Resource Reservation Protocol (RSVP), Real-Time Protocol (RTP), Real-Time Session Protocol (RTSP), Session Description Protocol (SDP), and Session Announcement Protocol (SAP). However, it does not depend on them to work.

主站蜘蛛池模板: 乌兰浩特市| 渭源县| 吉林省| 盐池县| 务川| 郸城县| 辉南县| 保定市| 牡丹江市| 临清市| 内丘县| 古交市| 克什克腾旗| 泗洪县| 孝感市| 博乐市| 镇雄县| 深圳市| 阿城市| 柳林县| 广东省| 滁州市| 平凉市| 甘谷县| 寿阳县| 贡觉县| 朝阳市| 鞍山市| 娄底市| 安远县| 西乌珠穆沁旗| 原阳县| 绥阳县| 颍上县| 罗城| 肥城市| 新和县| 旌德县| 南阳市| 凤凰县| 文水县|