Analysis of User Agent Based on the Open Source SIP Protocal

Author
YangHaiTao
Advisor
GuoJin
School
Southwest Jiaotong University
Major
Applied Computer Technology
Classification
TP393.04 Communication protocols, communication protocols
Degree
Master's thesis
Year
2006
Downloads
162
Citations
0

Request the full text

Abstract

With the high development of communication, the IP-based communication mode is more and more popular. Session Initiation Protocol(SIP) is an application-layer control (signaling)protocol distributed by IETF for creating, modifying, and terminating sessions with one or more participants. It has highly research value.As one of the two standards for constructing VoIP (Voice over IP) system, SIP is becoming focal point because of being a simple, agile, and high effective tool. SIP provides a new application space to VoIP with the nicer expansibility and compatibility.This paper studies the functions and characters of SIP- with comparision to the VoIP based on SIP and H.323. According RFC2543 it analyzes deeply into the basic concept, characteristic of technology. Recongnized current reseach on SIP are based on theory, this paper emphasizes the mature open source project named Vovida OpenCommunucAtion library (VOCAL) about SIP. That is derived how the SIP stack and User Agent are implement from the partice on code analysis in depth.The purpose of this thesis is to explore the SIP and User Agent implement. So it emphasizes base classes about building the whole system. Based on it, this paper deeply analyzes bottom layer implement of VOCAL system. Eventually combination on front analysis, It analyzes a concrete application of User Agent on the SIP stack. The analysis procedure includes User Agent initialization 、 beginning of call and ending of call.Eventually, it gives state picture of call process.

Table of contents

First chapter 8-14 1.1 Background 8-9 1.2 SIP and H.323 compare 9-10 1.3 domestic outer Research the 10-12 1.4 of this thesis research work and its significance 12-13 1.5 Chapter Summary 13-14 SIP stack 14-23 2.1 SIP Protocol Introduction 14-15 2.1.1 SIP the functions overview of 14-15 2.1.2 Vocal Introduction 15 2.2 SIP elements 15-16 2.3 SIP protocol stack structure 16-18 2.4 SIP messages 18 -22 the 2.4.1 SIP message common format 18-19 2.4.2 SIP request message nbsp 19-20 2.4.3 SIP response message; 20-22 2.5 Chapter Summary 22-23 Chapter Foundation Classes 23-41 3.1 HeartLessProxy 23-25 ??< br /> 3.2 event class 25-30 3.2.1 SipProxyEvent 25-26 3.2.2 SipEvent 26-28 3.2.3 DeviceEvent 28-29 3.2.4 TimerEvent 29-30 3.3 call class 30-33 3.3.1 A CallInfo 30 -31 3.3.2 CallContainer,: the 31-33 3.4 event container class 33-40 3.4.1 Builder 33-35 3.4.2 Feature 35-36 3.4.3 State 36-38 3.4.4 Operator 38-40 3.5 Chapter Summary 40-41 the Chapter IV core Mechanism 41-54 4.1 multi-threaded implementation mechanism analysis - grooved copper tube has been established with the aid 4.1.1 Sip the Thread Analysis the 42-43 4.1.2 Worker the Thread Analysis 43-44 4.1.3 ThreadIf class analysis 44-46 4.1.4 Vthread , Vmutex class 46-47 4.2 messaging mechanism analysis 47-51 4.2.1 message mechanism 47-48 4.2.2 underlying message structure 48-50 4.2.3 the the FIFO introduction 50-51 4.3 SIP protocol stack core implementation 51-53 4.4 of this chapter Summary 53-54 Chapter User Agent Analysis 54-73 5.1 the UA-side base class analysis 54-56 UA initial 5.2 analysis 56-61 5.2.1 User Agent focus function introduced the core thread start 57-58 5.2.2 HeartLessProxy, 58-59 5.2.3 media device thread start to start 59-60 5.2.4 RTP thread 60 5.2.5 start monitoring thread 60-61 5.3 call setup the 61-69 5.3.1 call initialization 61-63 5.3.2 active calls 63-67 5.3.3 Passive call the 67-69 5.4 call and call tear 69-72 5.5 Chapter Summary 72-73 conclusions 73-74 Acknowledgements 74-75 References 75-78 studying for a master's degree during the published papers and scientific research 78

Related dissertations

  1. Design and Realization of Voice Intercom System Based on SIP Protocol
    WenSongSong ·Southwest Jiaotong University ·2013 ·Master's thesis
  2. Research of the UserAgent of SIP Open Source Based on Vocal
    ZhuJing ·Southwest Jiaotong University ·2008 ·Master's thesis
  3. Software Design and Implementation of Embedded VoIP Terminal Based on SIP Protocol
    LiZuo ·Chongqing University ·2007 ·Master's thesis
  4. Research and Implementation of IP Phone Based on SIP
    GaoWei ·Southwest Jiaotong University ·2007 ·Master's thesis
  5. The Design and Development of Distributed Call Centerbased on VOIP
    MengXianXing ·Shandong University ·2013 ·Master's thesis
  6. The Design and Implementation of Voice Communication Subsystem of Mesh Emergency Network in Mines
    ZhangJiangGui ·Beijing Jiaotong University ·2014 ·Master's thesis
  7. Research and Realization of Embedded VOIP Terminal Based on the SIP Protocol
    ChenZuo ·Hubei University of Technology ·2013 ·Master's thesis
  8. Design and Implementation of UC Client Platform Based on SIP and XMPP Protocol
  9. Design and Implementation of Voice and Video Communication System in the Elderly Community Based on Android
    HuFen ·Wuhan University of Technology ·2012 ·Master's thesis
  10. Research and Application of Mobile Video Conferencing
  11. The Design and Implementation of Android-Based Terminal Software for Trunking Communication System
    WangLinLin ·Southwest Jiaotong University ·2012 ·Master's thesis
  12. System design and Realization of IP phone based on SIP protocol encryption
    ChenHuaRui ·China Ship Research Institute ·2012 ·Master's thesis
  13. Implementation and Security Mechanism Research of SIP Employed in MANET
  14. Implementation of Multiple VoIP Voice Communications Based on SIP, RTP Protocols and Sound Card Hardware
  15. A Design of Wireless Communication System for Voice Based on VoIP
    ZhaoXing ·Hunan University ·2011 ·Master's thesis
  16. Research on Key Technology of SIP-Based VoIP Network Security
  17. Research on Music-holding Service Subsystem Based on SIP-TRUNK
    ZengZuo ·Chongqing University ·2012 ·Master's thesis
  18. The Design and Implementation of SIP-Trunk System
  19. Design and Implementation of IP Trunk of IP PBX
  20. Design and Implementation of Protocol Adapter Module in Lightweight Voip System