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

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.

主站蜘蛛池模板: 祥云县| 昌吉市| 津市市| 富平县| 博罗县| 彰化市| 海林市| 梅河口市| 澄城县| 通江县| 万盛区| 江安县| 肥东县| 柘荣县| 灵宝市| 大同市| 德庆县| 泰宁县| 察雅县| 孟州市| 兴和县| 塔河县| 武汉市| 额济纳旗| 维西| 冕宁县| 呼和浩特市| 连江县| 内乡县| 凤城市| 闻喜县| 湖州市| 泰来县| 成安县| 焉耆| 彭泽县| 无锡市| 隆德县| 河东区| 内黄县| 新乐市|