Research and Implementation of the SIP protocol stack

Author
ZhuZhengYun
Advisor
ZhaoWenDao
School
Zhejiang University
Major
Communication and Information System
Classification
TN915.04 Communication protocols, communication protocols
Degree
Master's thesis
Year
2005
Downloads
365
Citations
10

Request the full text

Abstract

With the development of IP technology, which transferred in the IP Internet is more popular and more. To support the multimedia operation and supply the function such as call building and session control, the signal protocol is absolutely necessarily. The ITU-T has established the H.323 protocol to build the media conference system, and which is widely applied in the operation of IP telephone operation. But the H.323 protocol succeeds much idea of traditional telephone network, the protocol was complex and its realization is difficulty, so it can’t completely adapt the require to transmit multimedia in the Internet environment. This thesis is study another protocol SIP proposed by IETF in this background.SIP is an application-layer control (signaling) protocol for creating, modifying, and terminating sessions with one or more participants. These sessions include Internet telephone calls, multimedia distribution, multimedia conferences, remote education and medical treatment.SIP invitations used to create sessions carry session descriptions that allow participants to agree on a set of compatible media types. SIP makes use of elements called Proxy servers to help route requests to the user’s current location, authenticate and authorize users for services, implement provider call-routing policies, and provide features to users. SIP also provides a registration function that allows users to upload their current locations for use by Proxy servers. SIP runs on top of several different transport protocols and independent of these protocols.SIP use the C/S pattern, which is popular in Internet; its messages are expressed by text, simple and easy to realize; it has a good expansibility to support developing all kinds of increment operation. So the SIP is focused attention upon and itself becomes perfect gradually.This paper studies the function and specialty of SIP and compares the SIP and H.323.In the next, this paper deeply discusses the reliability, expansibility and security of SIP. At the same time, the design plan, framework and implement mode of SIP stack are studied and discussed. The SIP UA was implement and tested. At last it describes the realization process of Proxy Server, Redirect Server and Registar server.

Table of contents

Abstract 2-3 ABSTRACT 3-4 directory 4-6 Chapter 1 Overview 6-13 <br / 1.1 Background 6-7 SIP 1.2 Development History and Present Study 7-11 1.2.1 session invitation protocol: SIPv1 7-8 1.2.2 simple session invitation Agreement: SCIP 8 1.2.3 Session Initiation protocol: SIPv2 8-9 1.2.4 Research -11 1.3 SIP and H.323 comparison the organizational structure 11-12 1.4 This article 12-13 Chapter II SIP protocol stack and its associated agreement 13-29 2.1 SIP protocol 13-22 2.1.1 SIP Features Summary 13 2.1.2 SIP message format 13-22 2.2 SDP protocol 22-25 2.2.1 SDP usage 22-23 2.2.2 SDP content 23 -25 2.3 RTP agreement and other related agreements 25-28 2.3.1 RTP 25-26 2.3.2 RTCP 26-27 < br /> 2.3.3 RTSP 27-28 2.3.4 RSVP 28 2.4 Chapter Summary 28-29 Chapter SIP protocol Design and Implementation of the stack 29-48 3.1 SIP protocol stack overall structure 29-32 3.1.1 SIP protocol stack hierarchy in the network protocol system are found; 29-30 3.1.2 SIP protocol stack design level framework structure the 30-32 3.2 transmission 32-34 3.2.1 Network Programming Overview nbsp 32 3.2.2 Basic socket functions; 32-33 3.2.3 two typical network communication flow chart 33-34 3.3 SIP message generation processing and parsing 34-44 3.3.1 start line parsing 35-38 3.3.2 header fields parsing 38-40 < br /> 3.3.3 SDP parsing 40-41 3.3.4 interface design 41-44 3.4 messages transceiver design 44-47 < br /> 3.4.1 model design the 44-46 3.4.2 Interface Design 46-47 3.5 Chapter Summary 47-48 first the chapters several implementations of typical SIP entity 48-67 4.1 SIP various types of entities and their typical interoperability 48-54 4.1.1 SIP entity nbsp typical interoperate between types of entities; 48-50 4.1.2 SIP 50-54 4.2 various entities program 54-66 4.2. 1 user agent 54-58 4.2.2 proxy server 58-63 4.2.3 redirect server 63 4.2.4 registration server and location server the 63-66 4.3 This chapter subsections 66-67 Chapter main difficulties in studies of the development of the SIP protocol stack 67-78 5.1 scalable research 67-69 5.1.1 SIP extensions consultation 67 5.1.2 SIP extension design principles 67-68 the 5.1.3 SIP extended an instance 68-69 5.2 safety of the 69-72 5.2.1 Encryption 69-71 5.2 .2 certification 71-72 5.3 mobility the 72-73 5.4 Reliability Study 73-75 5.4.1 BYE CANCEL, OPTIONS and REGISTER reliability 74-75 5.4.2 an INVITE request, reliability the request 75 5.4.3 ACE reliability 75 < br /> 5.5 concurrent processing research the 75-77 5.6 Chapter Summary 77-78 Chapter Summary and Outlook 78-80 6.1 concluded 78 6.2 Looking 78-80 Reference the published papers 80-84 Master during 84-85 Acknowledgements 85

Related dissertations

  1. Design to the Softswitch Network and Implementation to Its Security Mechanism of Kunming Telecom
  2. The Analysis and Research of SIP Protocol
  3. Design and Realization of Voice Intercom System Based on SIP Protocol
    WenSongSong ·Southwest Jiaotong University ·2013 ·Master's thesis
  4. Research of the UserAgent of SIP Open Source Based on Vocal
    ZhuJing ·Southwest Jiaotong University ·2008 ·Master's thesis
  5. The Design and Implementation of an Extension Business Based on Softswitch Network
    TangWenHui ·Donghua University ·2008 ·Master's thesis
  6. Research and Implementation of Audio and Video Mutual System Base on Web
    WangShangJun ·Beijing Jiaotong University ·2008 ·Master's thesis
  7. Software Design and Implementation of Embedded VoIP Terminal Based on SIP Protocol
    LiZuo ·Chongqing University ·2007 ·Master's thesis
  8. Research and Implementation of SIP Server
  9. The Research and Implementation of Instant Conmmunication System Based on SIP
  10. The Research of IP Telephone Based on SIP
    WangHui ·Southwest Jiaotong University ·2003 ·Master's thesis
  11. ARM9-based embedded SIP terminals Research and Implementation
    LiZuo ·Zhengzhou University ·2007 ·Master's thesis
  12. Research and Implementation of IP Phone Based on SIP
    GaoWei ·Southwest Jiaotong University ·2007 ·Master's thesis
  13. The Research and Implementation of SIP and Its Security Mechanisms
    ZhangYan ·Southeast University ·2006 ·Master's thesis
  14. SIP-based Application in Distance Education System
    LiXiaoHua ·Xinjiang University ·2006 ·Master's thesis
  15. The Research of Supplementary by Extending SIP Headers in NGN Architecture
    ZengFanGui ·Wuhan University of Technology ·2006 ·Master's thesis
  16. Design and implementation of SIP-based VoIP test system
  17. Research and Design of SIP Protocol
    GuoWenPing ·Southwest Jiaotong University ·2005 ·Master's thesis
  18. The Study of SIP Simulation Method Based on NS2
    LiFeng ·Northeastern University ·2008 ·Master's thesis
  19. Design and Implementation of IP-Phone System Based on SIP Protocol
  20. The Analysis and Research of Lean Product Design in Pioneer Corporation
    ShenYue ·Shanghai Jiaotong University ·2013 ·Master's thesis