SIP-based call switching system implementation
- Author
- DengChangQuan
- Advisor
- ZhangFan
- School
- University of Electronic Science and Technology
- Major
- Software Engineering
- Classification
- TN916.2 Telephone lines, telephone network
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 146
- Citations
- 0
Abstract
With the fast development of computer and network technology, the traditional PSTN based on circuit switch can not well satisfy peopl’s requirement of the functions of network in Information Age. As customer claimed telephone not only has the ability of communications but also can implement new services such as personal service prepared and transmit multimedia data besides voice data.Softswitch is a core technology for implementing new generation of voice comunicating and multimedia data exchanging. Technology of softswitch has incarnated the thinking of separation of control/service and carrier in phone network. As the controlling entity softswitch fulfils functions of call connection, service controlling and user data management, and the service media stream is carried by IP network. The Session Initiation Protocol (SIP) proposed by the Internet Engineering Task Force (IETF) has become one of the most important technologies in softswitch network because of its special characteristics of simple, opening, flexible and extendable.This dissertation describes the characteristic, function, message structure and application of SIP, and explains the register and call process of the SIP based telephone via an experiment. Several modules in a call server (CS) which based on SIP are detail designed. Furthermore, a sub module named Inter-Processor Handover (IPH) which is specified to perfect the call handover function in a CS is implemented.Call handover module was implemented in this paper.And it meets the requirements of system design through the analysis results of the experiment.But there are some questions and shortages existed still to solve in future.1. During the handover process, there are some repeated messages among the modules in CS. The causes about this phenomenon are so many including the problem of network and the failures of exchanging messages inter the modules. To solve this problem, two plans are put forward. The first one is to add an error cause field which indicates whether does the error come from the delay of network or do the modules have no responses in the table to display the error info. Secondly, time after time of tests would be done to find out the module which repeatedly sent the messages and check out whether did it have any bugs in design or coding.2. When handover took place again three times later, the voice at both sides of the handsets breaks off for about 5 seconds, which is far longer than 1 second as the requirement analysis. Also the user can not abide it. The broken voice maybe makes the user assume the talk was over. So the IPH module must be improved to shorten the interval time of breaking off in handover process.3. Sometimes, when handover took place again two times later, call connecting in handover process fails at a rate about 10 percent, which can not satisfy the telecom’s level stability. Thus, to promote the stability of CS and terminal product in handover process is the aim of quality promotion and main direction of progress.4. To improve the SIP terminal would make it possible for SIP terminal to perfect the handover in a call process between two different CSs. The key method to solve this problem is that how can the SIP terminal register to different CSs via different IP address of the CS in a call process.
Table of contents
Summary 4-6
ABSTRACT 6-14
The first chapter 14-21
1.1 NGN network architecture and features 14-16
1.1.1 NGN network architecture 14-15
1.1.2 NGN network features 15-16
1.1.2.1 control and bearer 15
1.1.2.2 service and call separation 15
1.1.2.3 interface standardization and component independent of 15
1.1.2.4 single core switching and access levels of diversification 15-16
1.1.2.5 open architecture 16
1.2 NGN key technologies - softswitch technology 16-19
1.2.1 softswitch concept 16
function
1.2.2 Softswitch 16-17
1.2.2.1 Media Gateway Control Function 16
1.2.2.2 Call Control Function 16
1.2.2.3 provide business functions 16
1.2.2.4 signaling interworking function 16-17
1.2.3 softswitch protocol describes 17-18
1.2.3.1 MGCP protocol 17-18
1.2.3.2 H.248/MEGACO agreement 18
1.2.3.3 SIP protocol 18
1.2.3.4 H.323 protocol 18
Status 1.2.4 softswitch development
18-19
1.3 of this dissertation topic and research content and purpose of significance 19-21
1.3.1 of this dissertation topic and research content and purpose 20
1.3.2 Project Source and significance 20-21
The second chapter SIP protocol principles and methods 21-44
Features
2.1 SIP protocol and development overview 21-23
2.1.1 SIP protocol technical features 21-23
2.1.1.1 protocol scalability 21
nbsp 2.1.1.2 open service creation environment ; 21-22
mobility support 2.1.1.3 for 22-23
trends 2.1.2 SIP is 23
2.2 SIP protocol functional structure and network components 23-26
2.2.1 SIP protocol structure principle 23-25
function
2.2.2 SIP protocol 25
2.2.3 SIP network components 25-26
2.3 SIP message principle 26-43
2.3.1 SIP message format 26-28
2.3.1.1 starting line (start-line) 27
2.3.1.2 message header (message-header) 27-28
2.3.1.3 message body (message-body) 28
2.3.2 SIP Message Details 28-31
2.3.2.1 SIP request message 29-30
2.3.2.2 SIP response message 30-31
2.3.3 SIP nbsp operation ; 31-32
2.3.4 SIP call mode 32-33
2.3.4.1 Direct Call 32-33
2.3.4.2 agent call flow 33
2.3.4.3 redirect the call flow 33
2.3.5 SIP Application examples 33-43
2.3.5.1 experimental environment to prepare 33-34
2.3.5.2 SIP terminal registration process 34-36
2.3.5.3 call setup process 36-41
2.3.5.4 Call End Process 41-43
2.4 Summary 43-44
Chapter III SIP call server module design 44-84
3.1 Call Server system functional design 44-45
3.1.1 Security Management 44
3.1.2 Mobility Management 44-45
3.1.3 User Data Management 45
3.1.4 Call Control 45
3.1.5 Media Control 45
3.1.6 billing functions 45
3.1.7 system maintenance functions 45
3.2 call server software architecture design 45-50
3.2.1 software platform 46
3.2.2 protocol adaptation layer 46-48
3.2.3 Application Layer 48-49
3.2.3.1 call processing module 48
3.2.3.2 route management module 48-49
3.2.3.3 media gateway control module 49
3.2.4 application interface layer 49-50
3.3 interface messages and call server module design 50-54
3.3.1 Call Server external interface overall design 50-51
3.3.2 Basic call processing module design 51-54
3.3.2.1 call model 51-52
3.3.2.2 terminal module 52-53
3.3.2.3 relay module 53-54
design
3.4 call switching system to achieve 54-83
3.4.1 issues raised 54
3.4.2 Switching Overview 54-61
3.4.2.1 service call servers and server implementation anchor function 55-56
3.4.2.2 switching classification 56
3.4.2.3 involved switching module description 56-57
3.4.2.3.1 BCP-H module (IPH module ) 56
3.4.2.3.2 SIP-A module and CP modules 56
3.4.2.3.3 BCP-D module (CD module ) 56
3.4.2.3.4 ISUP module 56-57
3.4.2.4 handover message sequence chart analysis 57-61
3.4.2.4.1 initial switch (Initial Handover) message sequence chart 57-60
3.4.2.4.2 subsequent switch (Successive Handover) message sequence chart 60
3.4.2.4.3 after the switch (Backward Handover) message sequence chart 60-61
3.4.3 Sub-function switch module (IPH) detailed design 61-66
3.4.3.1 software architecture 61-62
3.4.3.2 IPH module interfaces with other modules designed 62-66
3.4.3.2.1 IPH module design 62-63
3.4.3.2.2 IPH sub-module functional design 63-64
3.4.3.2.3 IPH module interfaces with other modules message definition 64-66
3.4.4 Data Model 66-80
3.4.4.1 IPH status 66-74
3.4.4.1.1 O-IPH status 66-67
3.4.4.1.2 O-IPH state transition diagrams 67-69
3.4.4.1.3 T-IPH status 69-70
3.4.4.1.4 T-IPH state transition diagrams 70-74
3.4.4.2 timer value is defined 74-75
3.4.4.2.1 O-IPH timer defines 74
3.4.4.2.2 T-IPH timer defines 74-75
3.4.4.3 special message class definition 75-80
3.4.4.3.1 Ck_k_iph_remove_msg 75
3.4.4.3.2 Ck_k_setup_msg 75-76
3.4.4.3.3 Ck_k_service_act_msg 76-77
3.4.4.3.4 Cp_b_setup_msg 77
3.4.4.3.5 Cp_b_notify_msg 77-78
3.4.4.3.6 Cb_p_notify_msg 78
3.4.4.3.7 Ctcm_SwitchLegReq_Msg 78-79
3.4.4.3.8 Ccm_SwitchLegRsp_Msg 79
3.4.4.3.9 Cpxy_get_ho_nbr_req_msg 79
3.4.4.3.10 Cpxy_get_ho_nbr_resp_msg 79-80
3.4.4.3.11 Cclear_roaming_nbr_req_msg 80
3.4.5 IPH important functional design 80-83
3.4.5.1 Query T-IPH instance ID nbsp in the plant model ; 80-81
3.4.5.2 transfer and positioning K_K_SERVICE_ACT_MSG 81
3.4.5.2.1 O-IPH and T-IPH nbsp same call server ; 81
3.4.5.2.2 O-IPH and T-IPH between two call servers 81
3.4.5.3 B_P_NOTIFY_MSG function 81-82
3.4.5.4 P_B_NOTIFY_MSG role in T-IPH 's 82
3.4.5.5 of the O-IPH rerouting 82
3.4.5.6 media connectivity 82-83
3.4.5.6.1 O-IPH media connections 82
3.4.5.6.2 T-IPH media connections 82-83
3.5 Summary 83-84
Chapter IV test methods and test 84-90
4.1 The main test method 84-85
4.1.1 Unit Testing (UT) 84-85
4.1.2 Integration Testing (IT) 85
4.1.3 System Test (ST) 85
4.2 test 85-89
4.3 Summary 89-90
The fifth chapter analyzes the effects of problems 90-95
5.1 system operating effectiveness analysis 90-93
5.2 switching system problems 93-94
5.3 Summary 94-95
Chapter VI Conclusion 95-97
6.1 Full Summary 95
6.2 Prospects 95-97
Thanks 97-98
References 98-100
results achieved during the attack
Master of 100-101
Thesis modify outline 101
Related dissertations
- The Design and Implement of IMS Short Message Center
- The Design and Realization of Softswitch Center of Dedicated Network Based on TD-SCDMA
- The Design and Implementation of High Availability Softswitch System Based on SIP
- The Research and Implementation of Embedded Voice Gateway with Two VoIP Protocols
- Design to the Softswitch Network and Implementation to Its Security Mechanism of Kunming Telecom
- The Research and Design of Application by SIP in NGN
- The Design and Implementation of Softswitch System Based on H.323 Protocol and SIP Protocol
- The Design and Implementation of an Extension Business Based on Softswitch Network
- Research and Realization for the SIP Server and Pickup Value-added Service
- Study of Media Negotiation in the SIP Protocol
- Softswitch Call Server and reliability to achieve
- Design and Implementation of SIP User Agent in SoftSwitch
- Research on Next Generation Network(Softswitch) Architecture and Development of Call-tester Software
- Research and Implementation of Supplementary Service Provision Platform in Softswitch
- Research and Implementation on Video Conference System Based-on SIP
- Research and Implementation of SIP Protocol Subsystem in Softswitch
- Research and Implementation of the campus network IP phone system based on the H.323
- Applied research and realization of SIP protocol in IP telephony
- Research and Improvement on SUBCENTREX Softswitch System
- Design and implementation of Android system based on mobile phone video calling software