Design and Implementation of Flash-Sip Telephony Gateway
- Author
- MaChao
- Advisor
- GouXianTai
- School
- Southwest Jiaotong University
- Major
- Control Engineering
- Classification
- TN916.2 Telephone lines, telephone network
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 36
- Citations
- 1
- Flash-SIP
- the phone gateway
- the conversion of protocol
- the conversion ofstreaming media
- the interaction of signaling
Abstract
With the rapid development of the Internet, the Internet is not just limited to people browsing text and chatting. More and more people begin to pay close attention on Flash streaming media service and apply to it. At the same time, SIP phone with its advantages which are widely recognized by users, such as its small size and call quality. Realizing the information interaction between Flash client and SIP client, can make people building the call with SIP client when they browse the streaming media information. It will bring people more convenient and it have a broad market prospect.The Flash-SIP phone gateway, which supports the interaction of Flash client and SIP client, is designed and realized in the paper. The paper is based on the domestic and foreign present researches. First of all, it introduces the overall planning of the design of the phone gateway. Then, the paper introduced the key technologies in detail. Thirdly, it gives a detailed description on each part of the design and implement of the Flash-SIP phone gateway. Finally, it is about the system testing and analysis.The paper importantly introduces each module design and implementation of the Flash-SIP phone gateway which is realized by the JAVA language. It also gives a detailed instruction on control signaling interactions of registration, call, answer, hanging up and deregistration and the streaming media information interaction. The RTMP-SIP protocol conversion module of the gateway is designed in the paper, which realizes the protocol conversion of the control signaling between Flash client and SIP client, such as registration, call, answer, hanging up and deregistration. The Flash-SIP streaming media conversion module of the gateway is designed, which realizes decoding, requantization storage and coding of Speex audio format of streaming media data transferred by the Flash client and G-729audio format of streaming media data transferred by the SIP client. The conversion and interaction of the streaming media format are realuzed. The virtual SIP UA module of the gateway is designed. Through the loading of the SIP protocol stack, a virtual SIP UA is formed for every Flash client in the gateway and which realizes the perfect interaction between the gateway and SIP client. Also the Flash client interactive module, the WOWZA interactive module, the internal soft phone interactive module, the thread management module, the log management module and related modules are designed and realized, which auxiliary complete the function of the gateway and realize the receiving and transmitting of control signaling and the conversion and interactive of the streaming data between the Flash client and the SIP client.Last, the test environment is built in the paper. The function of the phone gateway is tested and analyzed through the interaction of control signaling and the interaction of streaming media information. The results show that the gateway meets the demand of the standard index and achieves the desired function.
Table of contents
Summary 6-7
Abstract 7-12
Chapter 1 Introduction 12-17
research background and significance of 1.1 topics 12-13
1.1.1 background 12-13
1.1.2 significance 13
1.2 Flash-Sip phone gateway Status study abroad major research papers 13-14
1.3 work 14-15
1.3.1 papers main content 14-15
1.3.2 papers to be solved the key question organizational structure 15
1.4 papers 15-17 related technologies
Chapter 2 Flash-SIP Telephony Gateway 17-27
2.1 streaming media technology 17-19
2.1.1 streaming concept 17
foundation nbsp 2.1.2 streaming ; 17-18
2.1 .3 streaming system 18-19
2.1.4 Wowza Media Server introduces 19
2.2 RTMP protocol 19-21
2.2.1 agreements About 20
2.2.2 Agreement constitutes 20-21
2.3 SIP related technologies 21-25
2.3.1 SIP protocol 21-22
2.3.2 SIP entity 22-23
2.3.3 SIP message 23-25 ??
2.4 other agreements with technology 25 - 26
2.4.1 RTP protocol 25
2.4.2 Speex encoding 25
2.4.3 G.729 coding 25-26 <br / > 2.5 Summary 26-27
Chapter 3 design nbsp Flash-SIP Telephony Gateway ; 27-40
3.1 gateway location in the system 27-29
3.2 Requirements Analysis overall design 29-30
3.3 gateway overall framework 30-33
3.3.1 system 30-31 <br / > Interactive process Overview 3.3.2 system design nbsp 31-32
3.3.3 Flash-SIP gateway ; 32-33
design nbsp 3.4 module ; 33 -36
3.4.1 Flash client interaction module 33-34
3.4.2 virtual SIP UA module 34-35
3.4.3 RTMP-S1P agreement conversion module 35
3.4.4 Flash-SIP streaming media converter module 35
3.4.5 internal soft-phone interaction module 35-36
3.4 .6 WOWZA interaction module 36
3.4.7 log management module 36
3.4.8 thread management module 36
3.5 control signaling interaction design 36-39
3.5.1 registration 36-37
3.5.2 canceled 37-38
3.5.3 call 38
3.5.4 answering 38-39
3.5.5 hang 39
3.5.6 other 39
3.6 Summary achieve 39-40
Chapter 4 Flash-SIP Telephony Gateway 40-70
achieve 4.1 Flash client interaction module 40-42
4.1.1 Flash client sends signaling 40-42
4.1.2 Flash -side passive acceptance signaling achieve 42
4.2 RTMP-SIP protocol conversion module 42-46
4.2.1 module body 43-44
4.2.2 SipBuilder class implementation 44-46
4.3 Flash-SIP streaming media converter module realization 46-55
4.3.1 Flash streaming end -to- SIP conversion 47-50
4.3.1.1 Speex decoder 47-48 <br / > 4.3.1.2 G.729 coding 48-50
4.3.1.3 overall realization 50
4.3.2 SIP -to- end streaming Flash conversion 50 - 55
4.3.2.1 G.729 decoding 50-51
4.3.2.2 Speex encoding 51-53
4.3.2.3 overall realization 53 - 55
4.4 virtual Reality SIP UA module 55-60
4.4.1 composed of modules 55-56
4.4.2 active interaction 56 -59
4.4.3 passive call 59-60
achieve 4.5 Other modules 60-63
4.5.1 WOWZA interaction module 60 - 62
4.5.2 internal soft-phone interaction module 62-63
4.5.3 thread management module 63
4.5.4 log management module 63 achieve
4.6 phone interaction process 63-69
4.6.1 registration 63-65
4.6.2 call 65-66 <br / > 4.6.3 answering 66-67
4.6.4 hang 67-68
4.6.5 canceled 68-69
4.7 Summary testing and Results 69-70
gateway Chapter 5 analyzes 70-76
build 5.1 testing environment 70
5.2 functional testing and analysis 70-75
5.2.1 registered test 71
5.2.2 test call and call 71-73
5.2.3 is called and answering test 73
5.2.4 hang test 73-74
5.2.5 canceled test 74-75
5.2.6 results analysis 75
section 5.3 of this chapter 75-76
conclusion 76-77
Thanks 77-78
References 78-80